StateShaderPlatformData
Fields
int |
Functions
void * |
|
const void * |
|
class T_As |
|
class T_As |
|
Detailed Description
-
class StateShaderPlatformData : public RED::Object
Data used by a RED::StateShader for a given target hardware platform.
@related class RED::StateShader
This class contains the effective parameters used for the configuration of the graphical board according to the state shader needs.
Public Functions
-
virtual void *As(const RED::CID &iCID)
Converts the object to an instance of the given type.
- Parameters
iCID – Requested class.
- Returns
An object pointer of the given class on success, NULL otherwise.
-
virtual const void *As(const RED::CID &iCID) const
Converts the object to an instance of the given type.
- Parameters
iCID – Requested class.
- Returns
An object pointer of the given class on success, NULL otherwise.
-
StateShaderPlatformData()
Constructor.
Sets the platform to RED::HW_GENERIC and all state parameters to their default value.
-
virtual ~StateShaderPlatformData()
Destructor.
Public Members
-
RED::HARDWARE_PLATFORM _platform_id
Platform identifier.
-
virtual void *As(const RED::CID &iCID)