nux-1.14.0
|
Texture parameter and coordinate computation class. More...
#include <NuxGraphics/RenderingPipe.h>
Public Types | |
enum | TexCoordType { OFFSET_SCALE_COORD, OFFSET_COORD, NORMALIZED_COORD, UNNORMALIZED_COORD, FIXED_COORD } |
Texture coordinates computation mode. More... | |
Public Member Functions | |
void | SetTexCoordType (TexCoordType tex_coord_type) |
void | FlipUCoord (bool b) |
void | FlipVCoord (bool b) |
void | FlipUVCoord (bool flip_u, bool flip_v) |
void | SetFilter (TexFilter min_fliter, TexFilter mag_filter) |
void | SetWrap (TexWrap u_wrap, TexWrap v_wrap) |
Public Attributes | |
float | u0 |
Texture coordinates are computed automatically by following the TexCoordType policy or provided by the user. | |
float | v0 |
float | u1 |
float | v1 |
float | uscale |
float | vscale |
float | uoffset |
float | voffset |
TexWrap | uwrap |
TexWrap | vwrap |
TexFilter | min_filter |
TexFilter | mag_filter |
bool | flip_u_coord |
bool | flip_v_coord |
TexCoordType | m_tex_coord_type |
Texture parameter and coordinate computation class.
Defines the texture coordinate computation, wraping and filtering modes
Definition at line 96 of file RenderingPipe.h.
Texture coordinates computation mode.
Definition at line 100 of file RenderingPipe.h.