PS2GL
OpenGL*-like API for the PS2
All Data Structures Namespaces Files Functions Variables Modules Pages
RendererPropFlags Namespace Reference

Variables

static const int NumLights = 1
 
static const int TexEnabled = NumLights * 2
 
static const int LightingEnabled = TexEnabled * 2
 
static const int SpecularEnabled = LightingEnabled * 2
 
static const int PerVtxMaterial = SpecularEnabled * 2
 
static const int CullFaceEnabled = PerVtxMaterial * 2
 
static const int Prim = CullFaceEnabled * 2
 
static const int ArrayAccessType = Prim * 2
 
static const int ClippingEnabled = ArrayAccessType * 2
 

Detailed Description

Flags to indicate that state has changed. Note that these flags do not indicate the value of a property, e.g., setting the TexEnabled flag does not mean that texturing is enabled, only that the value has changed.

Variable Documentation

◆ NumLights

const int RendererPropFlags::NumLights = 1
static

Definition at line 49 of file glcontext.h.

◆ TexEnabled

const int RendererPropFlags::TexEnabled = NumLights * 2
static

Definition at line 50 of file glcontext.h.

◆ LightingEnabled

const int RendererPropFlags::LightingEnabled = TexEnabled * 2
static

Definition at line 51 of file glcontext.h.

◆ SpecularEnabled

const int RendererPropFlags::SpecularEnabled = LightingEnabled * 2
static

Definition at line 52 of file glcontext.h.

◆ PerVtxMaterial

const int RendererPropFlags::PerVtxMaterial = SpecularEnabled * 2
static

Definition at line 53 of file glcontext.h.

◆ CullFaceEnabled

const int RendererPropFlags::CullFaceEnabled = PerVtxMaterial * 2
static

Definition at line 54 of file glcontext.h.

◆ Prim

const int RendererPropFlags::Prim = CullFaceEnabled * 2
static

Definition at line 55 of file glcontext.h.

◆ ArrayAccessType

const int RendererPropFlags::ArrayAccessType = Prim * 2
static

Definition at line 56 of file glcontext.h.

◆ ClippingEnabled

const int RendererPropFlags::ClippingEnabled = ArrayAccessType * 2
static

Definition at line 57 of file glcontext.h.