NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
state.hpp
Go to the documentation of this file.
1#pragma once
2#include <types.h>
4
5namespace nw4r {
6namespace g3d {
7namespace G3DState {
8
33
36 void Invalidate(ulong flag);
37
38} // namespace G3DState
39} // namespace g3d
40} // namespace nw4r
InvalidateFlag
Specifies the states invalidated by the G3DState::Invalidate function.
Definition state.hpp:10
@ INVALIDATE_TEXOBJ
Invalidates the texture object cache.
Definition state.hpp:11
@ INVALIDATE_TEV
Invalidates the TEV data cache.
Definition state.hpp:13
@ INVALIDATE_LIGHT
Invalidates the light cache.
Definition state.hpp:23
@ INVALIDATE_FOG
Invalidates the fog cache.
Definition state.hpp:22
@ INVALIDATE_MISC
Invalidates the Z buffering state cache.
Definition state.hpp:21
@ INVALIDATE_MTXARRAY
Invalidates the cached position coordinate and normal vector matrix arrays.
Definition state.hpp:26
@ INVALIDATE_GENMODE2
Invalidates the cached number of TexCoords/channels/TEV stages/indirect stages and the cached cull mo...
Definition state.hpp:17
@ INVALIDATE_TLUT
Invalidates the texture lookup table cache.
Definition state.hpp:12
@ INVALIDATE_ALL
Invalidates all states.
Definition state.hpp:29
@ INVALIDATE_CULLVTXDESC
Invalidates the vertex descriptor cache.
Definition state.hpp:18
@ INVALIDATE_TEXMTX
Invalidates the pre/post-conversion texture matrix cache.
Definition state.hpp:20
@ INVALIDATE_CURRENTMTX
Invalidates the current matrix cache.
Definition state.hpp:19
void Invalidate(ulong flag)
Invalidates the state recorded within the G3D library, depending on the flag. See G3DState::Invalidat...