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

Go to the source code of this file.

Functions

void FogLut_FromArray (C3D_FogLut *lut, const float data[256])
 
void FogLut_Exp (C3D_FogLut *lut, float density, float gradient, float near, float far)
 
void C3D_FogGasMode (GPU_FOGMODE fogMode, GPU_GASMODE gasMode, bool zFlip)
 
void C3D_FogColor (u32 color)
 
void C3D_FogLutBind (C3D_FogLut *lut)
 

Function Documentation

◆ C3D_FogColor()

void C3D_FogColor ( u32  color)

Definition at line 58 of file fog.c.

◆ C3D_FogGasMode()

void C3D_FogGasMode ( GPU_FOGMODE  fogMode,
GPU_GASMODE  gasMode,
bool  zFlip 
)

Definition at line 46 of file fog.c.

◆ C3D_FogLutBind()

void C3D_FogLutBind ( C3D_FogLut *  lut)

Definition at line 69 of file fog.c.

◆ FogLut_Exp()

void FogLut_Exp ( C3D_FogLut *  lut,
float  density,
float  gradient,
float  near,
float  far 
)

Definition at line 30 of file fog.c.

◆ FogLut_FromArray()

void FogLut_FromArray ( C3D_FogLut *  lut,
const float  data[256] 
)

Definition at line 3 of file fog.c.