SSBM Decomp
Loading...
Searching...
No Matches
lbrefract.h File Reference

Refraction visual effects using GX indirect textures. More...

#include <platform.h>
#include <baselib/forward.h>

Go to the source code of this file.

Functions

void lbRefract_80021CE8 (void *, s32)
void lbRefract_800222A4 (void)
void lbRefract_8002247C (HSD_CObj *)
 Copy framebuffer to refraction source texture.
void lbRefract_80022560 (void)
 Copy framebuffer to refraction source texture.
void lbRefract_800225D4 (void)
 Reset TEV and indirect texture stages.
s32 lbRefract_PObjLoad (HSD_PObj *pobj, HSD_PObjDesc *desc)
void lbRefract_80022998 (HSD_MObj *, u32 rendermode, s32)
void lbRefract_80022BB8 (void)
 Increment refraction effect user count.
void lbRefSetUnuse (void)
 Decrement refraction effect user count.
float atan2f (float y, float x)
float acosf (float)
float asinf (float)
float atanf (float)

Detailed Description

Refraction visual effects using GX indirect textures.

Uses reference counting to track active effect users. Supports IA4, IA8, and RGBA8 texture formats.

Function Documentation

◆ lbRefract_80021CE8()

void lbRefract_80021CE8 ( void * arg0,
s32 arg1 )

◆ lbRefract_800222A4()

void lbRefract_800222A4 ( void )
Todo
Only differs by register allocation.

◆ lbRefract_8002247C()

void lbRefract_8002247C ( HSD_CObj * cobj)

Copy framebuffer to refraction source texture.

◆ lbRefract_80022560()

void lbRefract_80022560 ( void )

Copy framebuffer to refraction source texture.

◆ lbRefract_800225D4()

void lbRefract_800225D4 ( void )

Reset TEV and indirect texture stages.

◆ lbRefract_PObjLoad()

s32 lbRefract_PObjLoad ( HSD_PObj * pobj,
HSD_PObjDesc * desc )

◆ lbRefract_80022998()

void lbRefract_80022998 ( HSD_MObj * mobj,
u32 rendermode,
s32 arg2 )

◆ lbRefract_80022BB8()

void lbRefract_80022BB8 ( void )

Increment refraction effect user count.

◆ lbRefSetUnuse()

void lbRefSetUnuse ( void )

Decrement refraction effect user count.

◆ atan2f()

float atan2f ( float y,
float x )

◆ acosf()

float acosf ( float x)

◆ asinf()

float asinf ( float x)

◆ atanf()

float atanf ( float x)