WUT  0.1
Wii U Toolchain
Data Structures | Typedefs | Enumerations | Functions
Sampler

Data Structures

struct  GX2Sampler
 

Typedefs

typedef struct GX2Sampler GX2Sampler
 
typedef enum GX2TexBorderType GX2TexBorderType
 
typedef enum GX2TexClampMode GX2TexClampMode
 
typedef enum GX2TexMipFilterMode GX2TexMipFilterMode
 
typedef enum GX2TexMipPerfMode GX2TexMipPerfMode
 
typedef enum GX2TexXYFilterMode GX2TexXYFilterMode
 
typedef enum GX2TexAnisoRatio GX2TexAnisoRatio
 
typedef enum GX2TexZFilterMode GX2TexZFilterMode
 
typedef enum GX2TexZPerfMode GX2TexZPerfMode
 
typedef enum GX2RoundingMode GX2RoundingMode
 

Enumerations

enum  GX2TexBorderType
 
enum  GX2TexClampMode
 
enum  GX2TexMipFilterMode
 
enum  GX2TexMipPerfMode
 
enum  GX2TexXYFilterMode
 
enum  GX2TexAnisoRatio
 
enum  GX2TexZFilterMode
 
enum  GX2TexZPerfMode
 
enum  GX2RoundingMode
 

Functions

void GX2InitSampler (GX2Sampler *sampler, GX2TexClampMode clampMode, GX2TexXYFilterMode minMagFilterMode)
 
void GX2InitSamplerBorderType (GX2Sampler *sampler, GX2TexBorderType borderType)
 
void GX2InitSamplerClamping (GX2Sampler *sampler, GX2TexClampMode clampX, GX2TexClampMode clampY, GX2TexClampMode clampZ)
 
void GX2InitSamplerDepthCompare (GX2Sampler *sampler, GX2CompareFunction depthCompare)
 
void GX2InitSamplerFilterAdjust (GX2Sampler *sampler, BOOL highPrecision, GX2TexMipPerfMode perfMip, GX2TexZPerfMode perfZ)
 
void GX2InitSamplerLOD (GX2Sampler *sampler, float lodMin, float lodMax, float lodBias)
 
void GX2InitSamplerLODAdjust (GX2Sampler *sampler, float unk1, BOOL unk2)
 
void GX2InitSamplerRoundingMode (GX2Sampler *sampler, GX2RoundingMode roundingMode)
 
void GX2InitSamplerXYFilter (GX2Sampler *sampler, GX2TexXYFilterMode filterMag, GX2TexXYFilterMode filterMin, GX2TexAnisoRatio maxAniso)
 
void GX2InitSamplerZMFilter (GX2Sampler *sampler, GX2TexZFilterMode filterZ, GX2TexMipFilterMode filterMip)
 

Detailed Description

Typedef Documentation

typedef struct GX2Sampler GX2Sampler

Definition at line 14 of file sampler.h.

Enumeration Type Documentation

Enumerator
GX2_TEX_BORDER_TYPE_TRANSPARENT_BLACK 
GX2_TEX_BORDER_TYPE_BLACK 
GX2_TEX_BORDER_TYPE_WHITE 
GX2_TEX_BORDER_TYPE_VARIABLE 

Definition at line 22 of file sampler.h.

Enumerator
GX2_TEX_CLAMP_MODE_WRAP 
GX2_TEX_CLAMP_MODE_MIRROR 
GX2_TEX_CLAMP_MODE_CLAMP 
GX2_TEX_CLAMP_MODE_MIRROR_ONCE 
GX2_TEX_CLAMP_MODE_CLAMP_BORDER 

Definition at line 30 of file sampler.h.

Enumerator
GX2_TEX_MIP_FILTER_MODE_NONE 
GX2_TEX_MIP_FILTER_MODE_POINT 
GX2_TEX_MIP_FILTER_MODE_LINEAR 

Definition at line 39 of file sampler.h.

Enumerator
GX2_TEX_MIP_PERF_MODE_DISABLE 

Definition at line 46 of file sampler.h.

Enumerator
GX2_TEX_XY_FILLTER_MODE_POINT 
GX2_TEX_XY_FILLTER_MODE_LINEAR 

Definition at line 51 of file sampler.h.

Enumerator
GX2_TEX_ANISO_RATIO_NONE 

Definition at line 57 of file sampler.h.

Enumerator
GX2_TEX_Z_FILTER_MODE_NONE 
GX2_TEX_Z_FILTER_MODE_POINT 
GX2_TEX_Z_FILTER_MODE_LINEAR 

Definition at line 62 of file sampler.h.

Enumerator
GX2_TEX_Z_PERF_MODE_DISABLED 

Definition at line 69 of file sampler.h.

Enumerator
GX2_ROUNDING_MODE_ROUND_TO_EVEN 
GX2_ROUNDING_MODE_TRUNCATE 

Definition at line 74 of file sampler.h.

Function Documentation

void GX2InitSampler ( GX2Sampler sampler,
GX2TexClampMode  clampMode,
GX2TexXYFilterMode  minMagFilterMode 
)
void GX2InitSamplerBorderType ( GX2Sampler sampler,
GX2TexBorderType  borderType 
)
void GX2InitSamplerClamping ( GX2Sampler sampler,
GX2TexClampMode  clampX,
GX2TexClampMode  clampY,
GX2TexClampMode  clampZ 
)
void GX2InitSamplerDepthCompare ( GX2Sampler sampler,
GX2CompareFunction  depthCompare 
)
void GX2InitSamplerFilterAdjust ( GX2Sampler sampler,
BOOL  highPrecision,
GX2TexMipPerfMode  perfMip,
GX2TexZPerfMode  perfZ 
)
void GX2InitSamplerLOD ( GX2Sampler sampler,
float  lodMin,
float  lodMax,
float  lodBias 
)
void GX2InitSamplerLODAdjust ( GX2Sampler sampler,
float  unk1,
BOOL  unk2 
)
void GX2InitSamplerRoundingMode ( GX2Sampler sampler,
GX2RoundingMode  roundingMode 
)
void GX2InitSamplerXYFilter ( GX2Sampler sampler,
GX2TexXYFilterMode  filterMag,
GX2TexXYFilterMode  filterMin,
GX2TexAnisoRatio  maxAniso 
)
void GX2InitSamplerZMFilter ( GX2Sampler sampler,
GX2TexZFilterMode  filterZ,
GX2TexMipFilterMode  filterMip 
)