nw::gfx::res::ResShaderParameterValue Classclass ResShaderParameterValue : public nw::ut::ResCommon< ResShaderParameterValueData >
Binary resource class that represents values for shader parameters.
| UniformType | Shader parameter type. |
|---|
| ResShaderParameterValue | Constructor. | |
|---|---|---|
ref
|
||
operator==
|
||
operator!=
|
||
| GetUniformType | Gets the uniform type. | |
| SetUniformType | Sets the uniform type. | |
GetValueF32
|
Gets a float type pointer that points to the parameter value. | |
GetValueS32
|
Gets an int type pointer that points to the parameter value. | |
GetValueBool
|
Gets the parameter value as a bool type. | |
SetValue
|
Sets the value when the type is TYPE_BOOL1. |
|
| ptr | Returns a pointer to a binary resource structure. (Derived from ResCommon) |
|
IsValid
|
Determines whether a pointer to a resource is null.(Derived from ResCommonBase.) |
|
| S |
GetClassName
|
nw::ut::ResCommonBase
nw::ut::ResCommon
nw::gfx::res::ResShaderParameterValue
CONFIDENTIAL