| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Graphics.GL.Low.Internal.GLEnum
- data ShaderType
- data BlendEquation
- data BlendFactor
- data UsageHint
- data Culling
- data IndexFormat
- data StencilFunc
- = Never
- | Less
- | LessOrEqual
- | Greater
- | GreaterOrEqual
- | Equal
- | NotEqual
- | Always
- data StencilOp
- data Filtering
- data Wrapping
- data GLFloatType
- data Signedness
- data GLScalarType
- data GLVectorSize
- data GLAttribType
- data GLUniformScalar
- data GLSamplerType
- data GLShadowSamplerType
- data GLUniformType
- = GLScalarUniform GLScalarType
- | GLVectorUniform GLScalarType GLVectorSize
- | GLMatrixUniform GLFloatType GLVectorSize GLVectorSize
- | GLBoolUniform (Maybe GLVectorSize)
- | GLSamplerUniform GLUniformScalar GLSamplerType
- | GLImageUniform GLUniformScalar GLSamplerType
- | GLShadowSampler GLShadowSamplerType
- | GLAtomicCounter
Documentation
data ShaderType
Either a vertex shader or a fragment shader.
Constructors
| VertexShader | |
| FragmentShader |
Instances
data BlendFactor
Blending factors.
Constructors
Instances
data UsageHint
Usage hint for allocation of buffer object storage.
Constructors
| StaticDraw | Data will seldomly change. |
| DynamicDraw | Data will change. |
| StreamDraw | Data will change very often. |
data IndexFormat
How indices are packed in an ElementArray buffer object.
Constructors
| UByteIndices | Each index is one unsigned byte. |
| UShortIndices | Each index is a two byte unsigned int. |
| UIntIndices | Each index is a four byte unsigned int. |
Instances
data StencilFunc
The stencil test passes under what condition.
Constructors
| Never | |
| Less | |
| LessOrEqual | |
| Greater | |
| GreaterOrEqual | |
| Equal | |
| NotEqual | |
| Always |
Instances
data StencilOp
Modification action for the stencil buffer.
Constructors
| Keep | Do nothing. |
| Zero | Set to zero. |
| Replace | Write the ref value passed to enableStencil. |
| Increment | |
| Decrement | |
| Invert | Bitwise complement. |
| IncrementWrap | |
| DecrementWrap |
data Filtering
Texture filtering modes.
data Wrapping
Texture wrapping modes.
Constructors
| Repeat | Tile the texture past the boundary. |
| MirroredRepeat | Tile the texture but mirror every other tile. |
| ClampToEdge | Use the edge color for anything past the boundary. |
data GLFloatType
data Signedness
data GLScalarType
Constructors
| GLFloat GLFloatType | |
| GLInteger Signedness |
data GLVectorSize
data GLAttribType
data GLUniformScalar
Constructors
| FloatSampler | |
| IntSampler Signedness |
data GLSamplerType
data GLShadowSamplerType
data GLUniformType
Constructors