| Safe Haskell | Safe-Infered |
|---|
Graphics.LambdaCube.TextureUnitState
Documentation
data TextureEffectType Source
Constructors
| ET_ENVIRONMENT_MAP | Generate all texture coords based on angle between camera and vertex |
| ET_PROJECTIVE_TEXTURE | Generate texture coords based on a frustum |
| ET_UVSCROLL | Constant u/v scrolling effect |
| ET_USCROLL | Constant u scrolling effect |
| ET_VSCROLL | Constant u/v scrolling effect |
| ET_ROTATE | Constant rotation |
| ET_TRANSFORM | More complex transform |
Instances
data EnvMapType Source
Constructors
| ENV_PLANAR | Envmap based on vector from camera to vertex position, good for planar geometry |
| ENV_CURVED | Envmap based on dot of vector from camera to vertex and vertex normal, good for curves |
| ENV_REFLECTION | Envmap intended to supply reflection vectors for cube mapping |
| ENV_NORMAL | Envmap intended to supply normal vectors for cube mapping |
data TextureTransformType Source
Constructors
| TT_TRANSLATE_U | |
| TT_TRANSLATE_V | |
| TT_SCALE_U | |
| TT_SCALE_V | |
| TT_ROTATE |
data TextureAddressingMode Source
Constructors
| TAM_WRAP | Texture wraps at values over 1.0 |
| TAM_MIRROR | Texture mirrors (flips) at joins over 1.0 |
| TAM_CLAMP | Texture clamps at 1.0 |
| TAM_BORDER | Texture coordinates outside the range [0.0, 1.0] are set to the border colour |
Instances
data TextureCubeFace Source
Constructors
| CUBE_FRONT | |
| CUBE_BACK | |
| CUBE_LEFT | |
| CUBE_RIGHT | |
| CUBE_UP | |
| CUBE_DOWN |
data TextureEffect Source
Constructors
| TextureEffect | |
Fields
| |
Instances
data BindingType Source
Constructors
| BT_FRAGMENT | Regular fragment processing unit - the default. |
| BT_VERTEX | Vertex processing unit - indicates this unit will be used for a vertex texture fetch. |
Instances
data ContentType Source
Constructors
| CONTENT_NAMED | Normal texture identified by name |
| CONTENT_SHADOW | A shadow texture, automatically bound by engine |
Instances
data Texture t => TextureUnitState t Source
Constructors
Instances
| Texture t => Eq (TextureUnitState t) | |
| Texture t => Ord (TextureUnitState t) |