C4 Engine
C4 Engine API Documentation

class ShaderAttribute

Defined in:  C4Shaders.h
The ShaderAttribute class is a container for a set of shader graphs.
Definition

class ShaderAttribute final : public Attribute

Member Functions
ShaderAttribute::GetShaderGraph Returns a pointer to a shader graph.
ShaderAttribute::SetShaderParameterValue Sets a shader parameter value.
Constructor

ShaderAttribute();

Description
The ShaderAttribute class is used to store a set of shader graphs in a material object.
Base Classes
Attribute A shader attribute is a special type of attribute.
See Also

Process

Route