Structure for describing a UI element for a uniform. Used for editor integration and presentation.
More...
#include <Material/Shader/CShader.h>
|
| | SUniformUI (CShader *shader) |
| | Constructor.
|
|
| ~SUniformUI () |
| | Destructor. Cleans up child UI elements.
|
|
|
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).
|
Structure for describing a UI element for a uniform. Used for editor integration and presentation.
◆ SUniformUI()
| Skylicht::CShader::SUniformUI::SUniformUI |
( |
CShader * | shader | ) |
|
|
inline |
Constructor.
- Parameters
-
| shader | Pointer to owning shader. |
The documentation for this struct was generated from the following file: