Public Types | |
enum | ConvolutionKernel { K_QUINCUNX = 1 , K_GAUSSIAN_3 = 2 } |
enum | MinFilter { MIN_BOX_LOD0 = 1 , MIN_TENT_LOD0 , MIN_BOX_NEARESTLOD , MIN_TENT_NEARESTLOD , MIN_BOX_TENT_LOD , MIN_TENT_TENT_LOD , MIN_CONVOLUTION_2D_LOD0 } |
enum | MagFilter { MAG_BOX_LOD0 = 1 , MAG_TENT_LOD0 = 2 , MAG_CONVOLUTION_2D_LOD0 = 4 } |
enum | WrapMode { WRAP_REPEAT = 1 , WRAP_MIRROR , WRAP_CLAMP_TO_EDGE , WRAP_BORDER , WRAP_CLAMP_TO_EDGE_OGL } |
enum | TexGen { TG_DISABLE = NV097_SET_TEXGEN_S_DISABLE , TG_EYE_LINEAR = NV097_SET_TEXGEN_S_EYE_LINEAR , TG_OBJECT_LINEAR = NV097_SET_TEXGEN_S_OBJECT_LINEAR , TG_SPHERE_MAP = NV097_SET_TEXGEN_S_SPHERE_MAP , TG_NORMAL_MAP = NV097_SET_TEXGEN_S_NORMAL_MAP , TG_REFLECTION_MAP = NV097_SET_TEXGEN_S_REFLECTION_MAP } |
enum | ColorKeyMode { CKM_DISABLE = 0 , CKM_KILL_ALPHA = 1 , CKM_KILL_COLOR = 2 , CKM_KILL_TEXEL = 3 } |
Public Member Functions | |
void | Reset () |
void | SetUWrap (WrapMode mode, bool cylinder_wrap=false) |
void | SetVWrap (WrapMode mode, bool cylinder_wrap=false) |
void | SetPWrap (WrapMode mode, bool cylinder_wrap=false) |
void | SetQWrap (bool cylinder_wrap=false) |
bool | GetEnabled () const |
void | SetEnabled (bool enabled=true) |
const TextureFormatInfo & | GetFormat () const |
void | SetFormat (const TextureFormatInfo &format) |
uint32_t | GetBorderColor () const |
void | SetBorderColor (uint32_t color) |
bool | GetCubemapEnable () const |
void | SetCubemapEnable (bool val=true) |
bool | GetAlphaKillEnable () const |
void | SetAlphaKillEnable (bool val=true) |
uint32_t | GetColorKeyMode () const |
void | SetColorKeyMode (uint32_t mode) |
void | SetLODClamp (uint32_t min=0, uint32_t max=4095) |
void | SetBorderFromColor (bool val=true) |
void | SetBumpEnv (float x, float y, float z, float w, float scale, float offset=0.0f) |
void | SetTextureDimensions (uint32_t u, uint32_t v, uint32_t p=1) |
void | SetImageDimensions (uint32_t width, uint32_t height, uint32_t depth=1) |
uint32_t | GetDimensionality () const |
void | SetFilter (uint32_t lod_bias=0, ConvolutionKernel kernel=K_QUINCUNX, MinFilter min=MIN_BOX_LOD0, MagFilter mag=MAG_BOX_LOD0, bool signed_alpha=false, bool signed_red=false, bool signed_green=false, bool signed_blue=false) |
bool | IsSwizzled () const |
bool | IsLinear () const |
bool | RequiresColorspaceConversion () const |
void | SetTextureMatrixEnable (bool enabled) |
bool | GetTextureMatrixEnable () const |
void | SetTextureMatrix (const matrix4_t &matrix) |
const matrix4_t & | GetTextureMatrix () const |
matrix4_t & | GetTextureMatrix () |
TexGen | GetTexgenS () const |
TexGen | GetTexgenT () const |
TexGen | GetTexgenR () const |
TexGen | GetTexgenQ () const |
void | SetTexgenS (TexGen val) |
void | SetTexgenT (TexGen val) |
void | SetTexgenR (TexGen val) |
void | SetTexgenQ (TexGen val) |
void | SetMipMapLevels (uint32_t val) |
uint32_t | GetMipMapLevels () const |
Friends | |
class | TestHost |