Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Typeable g => UniformCPU c g | g -> c where
- setUniform :: UniformLocation -> g -> c -> GL ()
- class Typeable g => AttributeCPU c g | g -> c where
- encodeAttribute :: g -> [c] -> GL Array
- setAttribute :: g -> GLUInt -> GL ()
Documentation
class Typeable g => UniformCPU c g | g -> c where Source
CPU types convertible to GPU types (as uniforms).
setUniform :: UniformLocation -> g -> c -> GL () Source
GLES => UniformCPU Float Float Source | |
GLES => UniformCPU Vec2 Vec2 Source | |
GLES => UniformCPU Vec3 Vec3 Source | |
GLES => UniformCPU Vec4 Vec4 Source | |
GLES => UniformCPU Mat2 Mat2 Source | |
GLES => UniformCPU Mat3 Mat3 Source | |
GLES => UniformCPU Mat4 Mat4 Source | |
GLES => UniformCPU ActiveTexture Sampler2D Source | |
GLES => UniformCPU CMat4 View3 Source | |
GLES => UniformCPU CMat4 Transform3 Source | |
GLES => UniformCPU CMat3 View2 Source | |
GLES => UniformCPU CMat3 Transform2 Source | |
GLES => UniformCPU CSampler2D Image Source | |
GLES => UniformCPU CSampler2D Texture2 Source | |
GLES => UniformCPU CFloat Depth Source |
class Typeable g => AttributeCPU c g | g -> c where Source
CPU types convertible to GPU types (as attributes).
encodeAttribute :: g -> [c] -> GL Array Source
setAttribute :: g -> GLUInt -> GL () Source