![]() |
citro3d
1.2.0
|
#include "internal.h"
Functions | |
| u32 | C3D_CalcColorBufSize (u32 width, u32 height, GPU_COLORBUF fmt) |
| u32 | C3D_CalcDepthBufSize (u32 width, u32 height, GPU_DEPTHBUF fmt) |
| C3D_FrameBuf * | C3D_GetFrameBuf (void) |
| void | C3D_SetFrameBuf (C3D_FrameBuf *fb) |
| void | C3D_FrameBufTex (C3D_FrameBuf *fb, C3D_Tex *tex, GPU_TEXFACE face, int level) |
| void | C3Di_FrameBufBind (C3D_FrameBuf *fb) |
| void | C3D_FrameBufClear (C3D_FrameBuf *frameBuf, C3D_ClearBits clearBits, u32 clearColor, u32 clearDepth) |
| void | C3D_FrameBufTransfer (C3D_FrameBuf *frameBuf, gfxScreen_t screen, gfx3dSide_t side, u32 transferFlags) |
Variables | |
| static const u8 | colorFmtSizes [] = {2,1,0,0,0} |
| static const u8 | depthFmtSizes [] = {0,0,1,2} |
| u32 C3D_CalcColorBufSize | ( | u32 | width, |
| u32 | height, | ||
| GPU_COLORBUF | fmt | ||
| ) |
| u32 C3D_CalcDepthBufSize | ( | u32 | width, |
| u32 | height, | ||
| GPU_DEPTHBUF | fmt | ||
| ) |
| void C3D_FrameBufClear | ( | C3D_FrameBuf * | frameBuf, |
| C3D_ClearBits | clearBits, | ||
| u32 | clearColor, | ||
| u32 | clearDepth | ||
| ) |
| void C3D_FrameBufTex | ( | C3D_FrameBuf * | fb, |
| C3D_Tex * | tex, | ||
| GPU_TEXFACE | face, | ||
| int | level | ||
| ) |
| void C3D_FrameBufTransfer | ( | C3D_FrameBuf * | frameBuf, |
| gfxScreen_t | screen, | ||
| gfx3dSide_t | side, | ||
| u32 | transferFlags | ||
| ) |
| C3D_FrameBuf* C3D_GetFrameBuf | ( | void | ) |
| void C3D_SetFrameBuf | ( | C3D_FrameBuf * | fb | ) |
| void C3Di_FrameBufBind | ( | C3D_FrameBuf * | fb | ) |
|
static |
|
static |