nw::gfx::res::ResShaderParameterValue Member Function

Syntax

class ResShaderParameterValue : public nw::ut::ResCommon< ResShaderParameterValueData >

Description

Binary resource class that represents values for shader parameters.

Enumerated Types

UniformType Shader parameter type.

Member Functions

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. (Inherited from ResCommon)
IsValid Determines whether a pointer to a resource is null.(Inherited from ResCommonBase.
S GetClassName

Class Hierarchy

nw::ut::ResCommonBase
  nw::ut::ResCommon
    nw::gfx::res::ResShaderParameterValue


CONFIDENTIAL