Home -> IStateBuffer -> GetStateValueId
Description
The GetStateValueId method retrieves an ID for the given state value.
Usage
StateValueId GetStateValueId(const Marshal::In<std::string>& name) const;
Argument list
- name [const Marshal::In<std::string>]
- The shader-visible state value name to look up.
Return value
- [StateValueId]
- The ID of the named state value, or StateValueId::Null if no matching value exists.