Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CMaterial::SUniformValue Struct Reference

Structure for a uniform value parameter in the material. More...

#include <Material/CMaterial.h>

Public Member Functions

 SUniformValue ()
 Default constructor initializing default values.
SUniformValueclone ()
 Creates a deep copy of the uniform value.

Public Attributes

std::string Name
float FloatValue [4]
int FloatSize
bool ShaderDefaultValue
EUniformType Type
int ValueIndex

Detailed Description

Structure for a uniform value parameter in the material.

Stores uniform name, type, value data, and binding information.

Member Function Documentation

◆ clone()

SUniformValue * Skylicht::CMaterial::SUniformValue::clone ( )
inline

Creates a deep copy of the uniform value.

Returns
Pointer to a new SUniformValue instance.

The documentation for this struct was generated from the following file: