Home -> IProgramNode -> ResetConstantStateValue
Description
The ResetConstantStateValue method removes any constant value which has been previously set by the SetConstantStateValue method for the target shader state variable.
Usage
void ResetConstantStateValue(StateValueId stateId, size_t arrayIndex = 0);
Argument list
- value [StateValueId]
- The StateValueId of the target state variable
- arrayIndex [size_t]
- Specifies the index to use if the target state value is an array