GFXStateBlockData Class Reference

#include <gfxStateBlockData.h>

Inheritance diagram for GFXStateBlockData:

Inheritance graph
[legend]
List of all members.

Detailed Description

Allows definition of render state via script, basically wraps a GFXStateBlockDesc.


Public Member Functions

 GFXStateBlockData ()
virtual bool onAdd ()
 Called when the object is added to the sim.
const GFXStateBlockDesc getState () const
 DECLARE_CONOBJECT (GFXStateBlockData)

Static Public Member Functions

static void initPersistFields ()
 Register dynamic fields in a subclass of ConsoleObject.

Private Types

typedef SimObject Parent

Private Attributes

GFXStateBlockDesc mState
GFXSamplerStateDatamSamplerStates [TEXTURE_STAGE_COUNT]


Member Typedef Documentation

Reimplemented from SimObject.


Constructor & Destructor Documentation

GFXStateBlockData::GFXStateBlockData (  ) 


Member Function Documentation

virtual bool GFXStateBlockData::onAdd (  )  [virtual]

Called when the object is added to the sim.

Reimplemented from SimObject.

static void GFXStateBlockData::initPersistFields (  )  [static]

Register dynamic fields in a subclass of ConsoleObject.

See also:
addField(), addFieldV(), addDeprecatedField(), addGroup(), endGroup()

Reimplemented from SimObject.

const GFXStateBlockDesc GFXStateBlockData::getState (  )  const [inline]

GFXStateBlockData::DECLARE_CONOBJECT ( GFXStateBlockData   ) 


Member Data Documentation

GFXSamplerStateData* GFXStateBlockData::mSamplerStates[TEXTURE_STAGE_COUNT] [private]