citro3d  1.2.0
effect.h
Go to the documentation of this file.
1 #pragma once
2 #include "types.h"
3 
4 void C3D_DepthMap(bool bIsZBuffer, float zScale, float zOffset);
5 void C3D_CullFace(GPU_CULLMODE mode);
6 void C3D_StencilTest(bool enable, GPU_TESTFUNC function, int ref, int inputMask, int writeMask);
7 void C3D_StencilOp(GPU_STENCILOP sfail, GPU_STENCILOP dfail, GPU_STENCILOP pass);
8 void C3D_BlendingColor(u32 color);
9 void C3D_EarlyDepthTest(bool enable, GPU_EARLYDEPTHFUNC function, u32 ref);
10 void C3D_DepthTest(bool enable, GPU_TESTFUNC function, GPU_WRITEMASK writemask);
11 void C3D_AlphaTest(bool enable, GPU_TESTFUNC function, int ref);
12 void C3D_AlphaBlend(GPU_BLENDEQUATION colorEq, GPU_BLENDEQUATION alphaEq, GPU_BLENDFACTOR srcClr, GPU_BLENDFACTOR dstClr, GPU_BLENDFACTOR srcAlpha, GPU_BLENDFACTOR dstAlpha);
13 void C3D_ColorLogicOp(GPU_LOGICOP op);
14 void C3D_FragOpMode(GPU_FRAGOPMODE mode);
15 void C3D_FragOpShadow(float scale, float bias);
void C3D_DepthMap(bool bIsZBuffer, float zScale, float zOffset)
Definition: effect.c:10
void C3D_AlphaTest(bool enable, GPU_TESTFUNC function, int ref)
Definition: effect.c:56
void C3D_CullFace(GPU_CULLMODE mode)
Definition: effect.c:18
void C3D_FragOpMode(GPU_FRAGOPMODE mode)
Definition: effect.c:77
void C3D_StencilTest(bool enable, GPU_TESTFUNC function, int ref, int inputMask, int writeMask)
Definition: effect.c:24
void C3D_FragOpShadow(float scale, float bias)
Definition: effect.c:84
void C3D_StencilOp(GPU_STENCILOP sfail, GPU_STENCILOP dfail, GPU_STENCILOP pass)
Definition: effect.c:30
void C3D_ColorLogicOp(GPU_LOGICOP op)
Definition: effect.c:70
void C3D_AlphaBlend(GPU_BLENDEQUATION colorEq, GPU_BLENDEQUATION alphaEq, GPU_BLENDFACTOR srcClr, GPU_BLENDFACTOR dstClr, GPU_BLENDFACTOR srcAlpha, GPU_BLENDFACTOR dstAlpha)
Definition: effect.c:62
void C3D_BlendingColor(u32 color)
Definition: effect.c:36
void C3D_DepthTest(bool enable, GPU_TESTFUNC function, GPU_WRITEMASK writemask)
Definition: effect.c:50
void C3D_EarlyDepthTest(bool enable, GPU_EARLYDEPTHFUNC function, u32 ref)
Definition: effect.c:42