Citro3d
Loading...
Searching...
No Matches
effect.c File Reference
#include "internal.h"

Go to the source code of this file.

Functions

void C3D_DepthMap (bool bIsZBuffer, float zScale, float zOffset)
 
void C3D_CullFace (GPU_CULLMODE mode)
 
void C3D_StencilTest (bool enable, GPU_TESTFUNC function, int ref, int inputMask, int writeMask)
 
void C3D_StencilOp (GPU_STENCILOP sfail, GPU_STENCILOP dfail, GPU_STENCILOP pass)
 
void C3D_BlendingColor (u32 color)
 
void C3D_EarlyDepthTest (bool enable, GPU_EARLYDEPTHFUNC function, u32 ref)
 
void C3D_DepthTest (bool enable, GPU_TESTFUNC function, GPU_WRITEMASK writemask)
 
void C3D_AlphaTest (bool enable, GPU_TESTFUNC function, int ref)
 
void C3D_AlphaBlend (GPU_BLENDEQUATION colorEq, GPU_BLENDEQUATION alphaEq, GPU_BLENDFACTOR srcClr, GPU_BLENDFACTOR dstClr, GPU_BLENDFACTOR srcAlpha, GPU_BLENDFACTOR dstAlpha)
 
void C3D_ColorLogicOp (GPU_LOGICOP op)
 
void C3D_FragOpMode (GPU_FRAGOPMODE mode)
 
void C3D_FragOpShadow (float scale, float bias)
 
void C3Di_EffectBind (C3D_Effect *e)
 

Function Documentation

◆ C3D_AlphaBlend()

void C3D_AlphaBlend ( GPU_BLENDEQUATION  colorEq,
GPU_BLENDEQUATION  alphaEq,
GPU_BLENDFACTOR  srcClr,
GPU_BLENDFACTOR  dstClr,
GPU_BLENDFACTOR  srcAlpha,
GPU_BLENDFACTOR  dstAlpha 
)

Definition at line 62 of file effect.c.

◆ C3D_AlphaTest()

void C3D_AlphaTest ( bool  enable,
GPU_TESTFUNC  function,
int  ref 
)

Definition at line 56 of file effect.c.

◆ C3D_BlendingColor()

void C3D_BlendingColor ( u32  color)

Definition at line 36 of file effect.c.

◆ C3D_ColorLogicOp()

void C3D_ColorLogicOp ( GPU_LOGICOP  op)

Definition at line 70 of file effect.c.

◆ C3D_CullFace()

void C3D_CullFace ( GPU_CULLMODE  mode)

Definition at line 18 of file effect.c.

◆ C3D_DepthMap()

void C3D_DepthMap ( bool  bIsZBuffer,
float  zScale,
float  zOffset 
)

Definition at line 10 of file effect.c.

◆ C3D_DepthTest()

void C3D_DepthTest ( bool  enable,
GPU_TESTFUNC  function,
GPU_WRITEMASK  writemask 
)

Definition at line 50 of file effect.c.

◆ C3D_EarlyDepthTest()

void C3D_EarlyDepthTest ( bool  enable,
GPU_EARLYDEPTHFUNC  function,
u32  ref 
)

Definition at line 42 of file effect.c.

◆ C3D_FragOpMode()

void C3D_FragOpMode ( GPU_FRAGOPMODE  mode)

Definition at line 77 of file effect.c.

◆ C3D_FragOpShadow()

void C3D_FragOpShadow ( float  scale,
float  bias 
)

Definition at line 84 of file effect.c.

◆ C3D_StencilOp()

void C3D_StencilOp ( GPU_STENCILOP  sfail,
GPU_STENCILOP  dfail,
GPU_STENCILOP  pass 
)

Definition at line 30 of file effect.c.

◆ C3D_StencilTest()

void C3D_StencilTest ( bool  enable,
GPU_TESTFUNC  function,
int  ref,
int  inputMask,
int  writeMask 
)

Definition at line 24 of file effect.c.

◆ C3Di_EffectBind()

void C3Di_EffectBind ( C3D_Effect e)

Definition at line 90 of file effect.c.