Detailed Description
The CRTSStateList class holds information about a list of shader states.
This class represents a collection of CRTSState objects.
- See also:
- CRTSState, IExecuteState, IRTSExecutionState::GetStateList
- Since:
- 7.0
#include <XSI_rtshaders.h>
List of all members.
Member Function Documentation
int GetNbStates |
( |
| ) |
[inline] |
Returns the number of states in the list.
- Returns:
- Size of this CRTSStateList.
CRTSState* GetState |
( |
unsigned int |
in_Idx | ) |
[inline] |
CRTSState* GetStateByName |
( |
const char * |
in_szName | ) |
[inline] |
CRTSState* GetStateByID |
( |
unsigned long |
in_ID | ) |
[inline] |
CRTSState* AddState |
( |
const char * |
in_szName, |
|
|
void * |
in_pData, |
|
|
unsigned long |
in_ID = 0 |
|
) |
| [inline] |
Adds a new state to the list.
- Parameters:
-
in_szName | Name for the new state |
in_pData | Pointer to the data to attach |
in_ID | ID for the new state |
- Returns:
- A pointer to the newly created CRTSState object
- See also:
- CRTSStateList::RemoveState
void RemoveState |
( |
CRTSState * |
in_pState | ) |
[inline] |
Removes a state from the list.
- Parameters:
-
in_pState | Pointer to the state to remove |
- See also:
- CRTSStateList::AddState
The documentation for this class was generated from the following file: