Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CShader::SUniformUI Struct Reference

Structure for describing a UI element for a uniform. Used for editor integration and presentation. More...

#include <Material/Shader/CShader.h>

Public Member Functions

 SUniformUI (CShader *shader)
 Constructor.
 ~SUniformUI ()
 Destructor. Cleans up child UI elements.

Public Attributes

EUIControlType ControlType
 Type of UI control.
std::string Name
 Uniform name.
std::vector< std::string > ElementName
 Element names for vector types.
std::vector< std::string > AutoReplace
 Auto - replace patterns for textures.
float Min
 Minimum value for UI.
float Max
 Maximum value for UI.
SUniform * UniformInfo
 Pointer to uniform info.
CShader * Shader
 Pointer to owning shader.
SUniformUI * Parent
 Parent UI group.
core::array< SUniformUI * > Childs
 Child UI elements (for groups).

Detailed Description

Structure for describing a UI element for a uniform. Used for editor integration and presentation.

Constructor & Destructor Documentation

◆ SUniformUI()

Skylicht::CShader::SUniformUI::SUniformUI ( CShader * shader)
inline

Constructor.

Parameters
shaderPointer to owning shader.

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