#include <NBF.h>
Inheritance diagram for NBFTextureAttributeItem:
Public Attributes | |
str_t | file |
Specifies the name of the texture image file. | |
uint_t | texType |
uint_t | texEnvMode |
uint_t | texWrapS |
uint_t | texWrapT |
uint_t | texWrapR |
uint_t | minFilter |
uint_t | magFilter |
float4_t | texBorderColor |
Specifies the texture border RGBA color. | |
trafo_t | trafo |
Specifies the texture transformation. | |
uint_t | texGenMode [4] |
Specifies the texture coordinate generation modes. | |
float4_t | texGenPlane [4] |
Specifies the texture coordinate generation planes. |
The object code for a NBFTextureAttributeItem is NBF_TEXTURE_ATTRIBUTE_ITEM. A NBFTextureAttributeItem needs to be consider in conjunction with a NBFTextureAttribute, which specifies the binding of texture objects.
|
Specifies the name of the texture image file.
|
|
Specifies the texture type. Valid types are TT_AMBIENT, TT_BUMP, TT_DIFFUSE, TT_DISPLACEMENT, TT_FILTER, TT_OPACITY, TT_REFLECTION, TT_REFRACTION, TT_SELF_ILLUM, TT_SHININESS, TT_SHINING_STRENGTH, and TT_SPECULAR. |
|
Specifies the texture environment mode for the actual texture object. Valid modes are TEM_REPLACE, TEM_MODULATE, TEM_DECAL, TEM_BLEND, and TEM_ADD. |
|
Specifies the wrap parameter for texture coordinate s. Valid values are TWM_REPEAT, TWM_CLAMP, and TWM_MIRROR |
|
Specifies the wrap parameter for texture coordinate t. Valid values are TWM_REPEAT, TWM_CLAMP, and TWM_MIRROR |
|
Specifies the wrap parameter for texture coordinate r. Valid values are TWM_REPEAT, TWM_CLAMP, and TWM_MIRROR |
|
Specifies the filter used with minimizing. Valid values are TFM_MIN_NEAREST, TFM_MIN_BILINEAR, and TFM_MIN_TRILINEAR. |
|
Specifies the filter used with magnifying. Valid values are TFM_MAX_NEAREST, and TFM_MAZ_BILINEAR. |
|
Specifies the texture border RGBA color.
|
|
Specifies the texture transformation.
|
|
Specifies the texture coordinate generation modes.
|
|
Specifies the texture coordinate generation planes.
|