NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::g3d::G3DState Class Reference

Description

Definition at line 8 of file g3d_state.hpp.

Public Types

enum  InvalidateFlag {
  INVALIDATE_TEXOBJ = BIT_FLAG(0) ,
  INVALIDATE_TLUT = BIT_FLAG(1) ,
  INVALIDATE_TEV = BIT_FLAG(2) ,
  INVALIDATE_GENMODE2 = BIT_FLAG(3) ,
  INVALIDATE_CULLVTXDESC = BIT_FLAG(4) ,
  INVALIDATE_CURRENTMTX = BIT_FLAG(5) ,
  INVALIDATE_TEXMTX = BIT_FLAG(6) ,
  INVALIDATE_MISC = BIT_FLAG(7) ,
  INVALIDATE_FOG = BIT_FLAG(8) ,
  INVALIDATE_LIGHT = BIT_FLAG(9) ,
  INVALIDATE_MTXARRAY = BIT_FLAG(10) ,
  INVALIDATE_ALL
}
 Specifies the states invalidated by the G3DState::Invalidate function. More...
 

Static Public Member Functions

static void SetRenderModeObj (const GXRenderModeObj &)
 

Member Enumeration Documentation

◆ InvalidateFlag

enum nw4r::g3d::G3DState::InvalidateFlag

Specifies the states invalidated by the G3DState::Invalidate function.

Enumerator
INVALIDATE_TEXOBJ 

Invalidates the texture object cache.

INVALIDATE_TLUT 

Invalidates the texture lookup table cache.

INVALIDATE_TEV 

Invalidates the TEV data cache.

INVALIDATE_GENMODE2 

Invalidates the cached number of TexCoords/channels/TEV stages/indirect stages and the cached cull mode.

INVALIDATE_CULLVTXDESC 

Invalidates the vertex descriptor cache.

INVALIDATE_CURRENTMTX 

Invalidates the current matrix cache.

INVALIDATE_TEXMTX 

Invalidates the pre/post-conversion texture matrix cache.

INVALIDATE_MISC 

Invalidates the Z buffering state cache.

INVALIDATE_FOG 

Invalidates the fog cache.

INVALIDATE_LIGHT 

Invalidates the light cache.

INVALIDATE_MTXARRAY 

Invalidates the cached position coordinate and normal vector matrix arrays.

INVALIDATE_ALL 

Invalidates all states.

Definition at line 10 of file state.hpp.