Safe Haskell | None |
---|---|
Language | Haskell98 |
Graphics.GLUtil.Linear
Description
Support for writing Linear types to uniform locations in shader programs.
- class AsUniform t where
- asUniform :: t -> UniformLocation -> IO ()
Documentation
class AsUniform t where Source
A type class for things we can write to uniform locations in shader programs.
Methods
asUniform :: t -> UniformLocation -> IO () Source
Instances
AsUniform GLfloat | |
AsUniform GLuint | |
AsUniform GLint | |
AsUniform [V4 GLfloat] | |
AsUniform [V4 GLuint] | |
AsUniform [V4 GLint] | |
AsUniform [V3 GLfloat] | |
AsUniform [V3 GLuint] | |
AsUniform [V3 GLint] | |
AsUniform [V2 GLfloat] | |
AsUniform [V2 GLuint] | |
AsUniform [V2 GLint] | |
AsUniform [V1 GLfloat] | |
AsUniform [V1 GLuint] | |
AsUniform [V1 GLint] | |
AsUniform (M22 GLfloat) | |
AsUniform (M33 GLfloat) | |
AsUniform (M44 GLfloat) | |
AsUniform (V4 GLfloat) | |
AsUniform (V4 GLuint) | |
AsUniform (V4 GLint) | |
AsUniform (V3 GLfloat) | |
AsUniform (V3 GLuint) | |
AsUniform (V3 GLint) | |
AsUniform (V2 GLfloat) | |
AsUniform (V2 GLuint) | |
AsUniform (V2 GLint) | |
AsUniform (V1 GLfloat) | |
AsUniform (V1 GLuint) | |
AsUniform (V1 GLint) |