Clarisse 5.0 SP8 SDK
5.0.5.8.0
|
Defines a container to read/write a shading variable value. More...
Public Member Functions | |
bool | is_string (const unsigned int value_index) const |
Test whether the value is a string or a number. | |
unsigned int | get_value_count () const |
Returns the number of accessible values. | |
const UniqueString & | get_string_value (const unsigned int value_index) const |
Returns the value as a string. | |
void | set_string_value (const CoreString &value, const unsigned int value_index) |
Set the value as a string. | |
const double & | get_double_value (const unsigned int value_index) const |
Returns the value as a number. | |
void | set_double_value (const double &value, const unsigned int value_index) const |
Set the value as a number. | |
bool | operator== (const ShadingVariableManagerAccessor &other) const |
bool | operator!= (const ShadingVariableManagerAccessor &other) const |
Friends | |
class | ShadingVariableManager |
Defines a container to read/write a shading variable value.
|
inline |
Returns the value as a number.
[in] | value_index | The index of the value. |
|
inline |
Returns the value as a string.
[in] | value_index | The index of the value. |
|
inline |
Test whether the value is a string or a number.
[out] | true | if the value is a string. |
[in] | value_index | The index of the value. |
|
inline |
Set the value as a number.
[in] | value | The value to set. |
[in] | value_index | The index of the value. |
|
inline |
Set the value as a string.
[in] | value | The value to set. |
[in] | value_index | The index of the value. |