Copyright | (c) Sven Panne 2006-2019 |
---|---|
License | BSD3 |
Maintainer | Sven Panne <svenpanne@gmail.com> |
Stability | stable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
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 #
Instances
Eq VariableType Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables (==) :: VariableType -> VariableType -> Bool # (/=) :: VariableType -> VariableType -> Bool # | |
Ord VariableType Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables 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 showsPrec :: Int -> VariableType -> ShowS # show :: VariableType -> String # showList :: [VariableType] -> ShowS # |
activeAttribs :: Program -> GettableStateVar [(GLint, VariableType, String)] Source #