class RED::RenderShaderData
Data record used by a RED::RenderShader for a given hardware platform.
#include <REDRenderShader.h>
Inherits: Object.
Public functions:
RenderShaderData ( ) | |
RenderShaderData ( RED::HARDWARE_PLATFORM iPlatformID, int iShaderTarget ) | |
RenderShaderData ( const RenderShaderData & iSource ) | |
virtual | ~RenderShaderData ( ) |
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 ( ) |
RED_RC | operator= ( const RenderShaderData & iSource ) |
Public static functions:
static RED::CID | GetClassID ( ) |
Public variables:
Functions documentation
Default constructor.
public RED::RenderShaderData::RenderShaderData | ( | RED::HARDWARE_PLATFORM | iPlatformID, |
int | iShaderTarget | ||
) |
Constructor.
Parameters:
iPlatformID: | Identifier of the targeted hardware platform. |
iShaderTarget: | Identifier of the targeted shading configuration. |
public RED::RenderShaderData::RenderShaderData | ( | const RenderShaderData & | iSource | ) |
Copy constructor.
Parameters:
iSource: | Source for the copy. |
public virtual RED::RenderShaderData::~RenderShaderData | ( | ) |
Destructor.
public static RED::CID RED::RenderShaderData::GetClassID | ( | ) |
Reimplements: RED::Object::GetClassID.
public virtual void * RED::RenderShaderData::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::RenderShaderData::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::RenderShaderData::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::RenderShaderData::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.
public RED_RC RED::RenderShaderData::operator= | ( | const RenderShaderData & | iSource | ) |
Assignment operator.
Performs a copy of the object contents.
Parameters:
iSource: | Source for the assignment. |
Returns:
Variables documentation
Geometry shader identifier.
Do we have a rendercode for that target ?
Lighting target identifier.
Vector of the shader parameters
Platform identifier.
Pixel shader identifier.
Vertex shader input specification.
Vertex shader identifier.