StateShaderPlatformData

Fields

HARDWARE_PLATFORM

_platform_id

int

_statevec

Functions

SET_CID

StateShaderPlatformData

~StateShaderPlatformData

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

SET_CID (CID_class_REDStateShaderPlatformData) IMPLEMENT_AS()
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.

int _statevec[RED_RENDER_STATEVEC_SIZE]

State vector.