| Copyright | (c) Sven Panne 2006-2019 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Graphics.Rendering.OpenGL.GL.Shaders.Attribs
Description
This module contains functions related to shader attributes, corresponding to section 2.20.3 of the OpenGL 3.1 spec (Shader Variables).
Documentation
attribLocation :: Program -> String -> StateVar AttribLocation Source #
data VariableType Source #
Constructors
Instances
| Eq VariableType Source # | |
| Ord VariableType Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables Methods compare :: VariableType -> VariableType -> Ordering # (<) :: VariableType -> VariableType -> Bool # (<=) :: VariableType -> VariableType -> Bool # (>) :: VariableType -> VariableType -> Bool # (>=) :: VariableType -> VariableType -> Bool # max :: VariableType -> VariableType -> VariableType # min :: VariableType -> VariableType -> VariableType # | |
| Show VariableType Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables Methods showsPrec :: Int -> VariableType -> ShowS # show :: VariableType -> String # showList :: [VariableType] -> ShowS # | |
activeAttribs :: Program -> GettableStateVar [(GLint, VariableType, String)] Source #