resonance 1.0.1
Loading...
Searching...
No Matches
psmat.h File Reference
#include "math/vector3.h"
#include "rnd/mat.h"
Include dependency graph for psmat.h:

Go to the source code of this file.

Classes

class  Rnd::PsMat
 PlayStation 2 material, which drives the GS register state. More...

Namespaces

namespace  Rnd
 The rendering engine.

Functions

Mat * Rnd::NewPsMat (const HxStr &name)
 Allocate and construct a PlayStation 2 material.

Variables

int Rnd::g_nSelectedGenMode
 Coordinate generation mode of the stage Rnd::PsMat::SetupUvXfm() last processed.
int Rnd::g_nSelectedFlat
 Flat shading flag of the selected material.
int Rnd::g_nAlphaBlendEnabled
 Non-zero once the GS ALPHA_1 register holds a blending equation rather than an opaque copy.
int Rnd::g_nStageBlendDoubles
 Non-zero when the bound stage blend is Rnd::Mat::kBlendModeMultiply2.
Transform * Rnd::g_pSelectedUvXfm
 Fixed UV transform the selected stage requires, or null when the stage needs none.
Transform * Rnd::g_pSelectedStageXfm
 Stage transform of the selected stage when it uses one, otherwise null.
int Rnd::g_nLightingEnabled
 Lighting enable flag of the selected material, cleared when the stage texture function is decal.