RetroArch
sampler.h
Go to the documentation of this file.
1 #pragma once
2 #include <wiiu/types.h>
3 #include "enum.h"
4 
5 #ifdef __cplusplus
6 extern "C" {
7 #endif
8 
9 
10 typedef struct GX2Sampler
11 {
13 } GX2Sampler;
14 
16  GX2TexXYFilterMode minMagFilterMode);
19  GX2TexClampMode clampZ);
22  GX2TexZPerfMode perfZ);
23 void GX2InitSamplerLOD(GX2Sampler *sampler, float lodMin, float lodMax, float lodBias);
24 void GX2InitSamplerLODAdjust(GX2Sampler *sampler, float unk1, BOOL unk2);
27  GX2TexXYFilterMode filterMin, GX2TexAnisoRatio maxAniso);
29  GX2TexMipFilterMode filterMip);
30 
31 #ifdef __cplusplus
32 }
33 #endif
34 
void GX2InitSamplerLOD(GX2Sampler *sampler, float lodMin, float lodMax, float lodBias)
void GX2InitSampler(GX2Sampler *sampler, GX2TexClampMode clampMode, GX2TexXYFilterMode minMagFilterMode)
void GX2InitSamplerClamping(GX2Sampler *sampler, GX2TexClampMode clampX, GX2TexClampMode clampY, GX2TexClampMode clampZ)
GX2TexClampMode
Definition: enum.h:417
uint32_t regs[3]
Definition: sampler.h:12
GX2CompareFunction
Definition: enum.h:121
GX2TexZPerfMode
Definition: enum.h:456
Definition: sampler.h:10
GX2TexXYFilterMode
Definition: enum.h:438
GX2RoundingMode
Definition: enum.h:252
GX2TexAnisoRatio
Definition: enum.h:444
struct GX2Sampler GX2Sampler
GX2TexZFilterMode
Definition: enum.h:449
GX2TexMipPerfMode
Definition: enum.h:433
GX2TexMipFilterMode
Definition: enum.h:426
void GX2InitSamplerFilterAdjust(GX2Sampler *sampler, BOOL highPrecision, GX2TexMipPerfMode perfMip, GX2TexZPerfMode perfZ)
void GX2InitSamplerZMFilter(GX2Sampler *sampler, GX2TexZFilterMode filterZ, GX2TexMipFilterMode filterMip)
void GX2InitSamplerDepthCompare(GX2Sampler *sampler, GX2CompareFunction depthCompare)
unsigned int BOOL
Definition: gctypes.h:51
void GX2InitSamplerLODAdjust(GX2Sampler *sampler, float unk1, BOOL unk2)
void GX2InitSamplerBorderType(GX2Sampler *sampler, GX2TexBorderType borderType)
GX2TexBorderType
Definition: enum.h:409
void GX2InitSamplerXYFilter(GX2Sampler *sampler, GX2TexXYFilterMode filterMag, GX2TexXYFilterMode filterMin, GX2TexAnisoRatio maxAniso)
void GX2InitSamplerRoundingMode(GX2Sampler *sampler, GX2RoundingMode roundingMode)
GLuint sampler
Definition: glext.h:7950
unsigned int uint32_t
Definition: stdint.h:126