class RED::StateShaderPlatformData
Data used by a RED::StateShader for a given target hardware platform. More...
#include <REDStateShader.h>
Inherits: Object.
Public functions:
StateShaderPlatformData ( ) | |
virtual | ~StateShaderPlatformData ( ) |
virtual void * | As ( const RED::CID & iCID ) |
virtual const void * | As ( const RED::CID & iCID ) const |
template< class T_As > const T_As * | As ( ) const |
template< class T_As > T_As * | As ( ) |
Public static functions:
static RED::CID | GetClassID ( ) |
Public variables:
RED::HARDWARE_PLATFORM | _platform_id |
int | _statevec [RED_RENDER_STATEVEC_SIZE] |
Detailed description:
Data used by a RED::StateShader for a given target hardware platform.
This class contains the effective parameters used for the configuration of the graphical board according to the state shader needs.
Functions documentation
Constructor.
Sets the platform to RED::HW_GENERIC and all state parameters to their default value.
public virtual RED::StateShaderPlatformData::~StateShaderPlatformData | ( | ) |
Destructor.
public static RED::CID RED::StateShaderPlatformData::GetClassID | ( | ) |
Reimplements: RED::Object::GetClassID.
public virtual void * RED::StateShaderPlatformData::As | ( | const RED::CID & | iCID | ) |
Converts the object to an instance of the given type.
Parameters:
iCID: | Requested class. |
Returns:
Reimplements: RED::Object::As.
public virtual const void * RED::StateShaderPlatformData::As | ( | const RED::CID & | iCID | ) const |
Converts the object to an instance of the given type.
Parameters:
iCID: | Requested class. |
Returns:
Reimplements: RED::Object::As.
template< class T_As > public const T_As * RED::StateShaderPlatformData::As | ( | ) const |
Template version of the as const method.
Simply set T to be the class you want to retrieve an interface to.
Returns:
Reimplements: RED::Object::As.
template< class T_As > public T_As * RED::StateShaderPlatformData::As | ( | ) |
Template version of the as method.
Simply set T to be the class you want to retrieve an interface to.
Returns:
Reimplements: RED::Object::As.
Variables documentation
Platform identifier.
State vector.