Documentation
data TextureEffectType Source
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 |
data EnvMapType Source
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 TextureAddressingMode Source
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 |
data TextureEffect Source
TextureEffect | |
|
data BindingType Source
BT_FRAGMENT | Regular fragment processing unit - the default. |
BT_VERTEX | Vertex processing unit - indicates this unit will be used for a vertex texture fetch. |
data ContentType Source
CONTENT_NAMED | Normal texture identified by name |
CONTENT_SHADOW | A shadow texture, automatically bound by engine |
data Texture t => TextureUnitState t Source
Texture t => Eq (TextureUnitState t) | |
Texture t => Ord (TextureUnitState t) |