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 ()
- toGPUBool :: Bool -> Int32
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
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
GLES => AttributeCPU Float Float Source | |
GLES => AttributeCPU Int32 Int Source | |
GLES => AttributeCPU Int32 Bool Source | |
GLES => AttributeCPU Vec2 Vec2 Source | |
GLES => AttributeCPU Vec3 Vec3 Source | |
GLES => AttributeCPU Vec4 Vec4 Source | |
GLES => AttributeCPU IVec4 BVec4 Source | |
GLES => AttributeCPU IVec4 IVec4 Source | |
GLES => AttributeCPU IVec3 BVec3 Source | |
GLES => AttributeCPU IVec3 IVec3 Source | |
GLES => AttributeCPU IVec2 BVec2 Source | |
GLES => AttributeCPU IVec2 IVec2 Source | |
GLES => AttributeCPU CVec3 Normal3 Source | |
GLES => AttributeCPU CVec3 Position3 Source | |
GLES => AttributeCPU CVec2 UV Source | |
GLES => AttributeCPU CVec2 Position2 Source | |
GLES => AttributeCPU CVec2 UV Source |