| Copyright | (c) Sven Panne 2006-2019 |
|---|---|
| License | BSD3 |
| Maintainer | Sven Panne <svenpanne@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | Safe-Inferred |
| 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
| Show VariableType Source # | |
| Eq VariableType Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables Methods (==) :: VariableType -> VariableType -> Bool Source # (/=) :: VariableType -> VariableType -> Bool Source # | |
| Ord VariableType Source # | |
Defined in Graphics.Rendering.OpenGL.GL.Shaders.Variables Methods compare :: VariableType -> VariableType -> Ordering Source # (<) :: VariableType -> VariableType -> Bool Source # (<=) :: VariableType -> VariableType -> Bool Source # (>) :: VariableType -> VariableType -> Bool Source # (>=) :: VariableType -> VariableType -> Bool Source # max :: VariableType -> VariableType -> VariableType Source # min :: VariableType -> VariableType -> VariableType Source # | |
activeAttribs :: Program -> GettableStateVar [(GLint, VariableType, String)] Source #