21 bool alphaSeparate : 1;
79 C3D_ProcTex_U =
BIT(0),
80 C3D_ProcTex_V =
BIT(1),
81 C3D_ProcTex_UV = C3D_ProcTex_U | C3D_ProcTex_V,
84void C3D_ProcTexInit(
C3D_ProcTex* pt,
int offset,
int length);
85void C3D_ProcTexNoiseCoefs(
C3D_ProcTex* pt,
int mode,
float amplitude,
float frequency,
float phase);
86void C3D_ProcTexLodBias(
C3D_ProcTex* pt,
float bias);
87void C3D_ProcTexBind(
int texCoordId,
C3D_ProcTex* pt);
90typedef u32 C3D_ProcTexLut[128];
92void ProcTexLut_FromArray(C3D_ProcTexLut* lut,
const float in[129]);
105 pt->alphaSeparate = separate;
108 pt->alphaFunc = alpha;
111static inline void C3D_ProcTexNoiseEnable(
C3D_ProcTex* pt,
bool enable)
113 pt->enableNoise = enable;