EntropyCanvas::ShaderParameterDef
EntropyCanvas::ShaderParameterDef
Section titled “EntropyCanvas::ShaderParameterDef”Parameter definition for a shader. More…
#include <ShaderAsset.h>
Public Attributes
Section titled “Public Attributes”| Name | |
|---|---|
| EntropyEngine::Networking::PropertyType | type Native property type (Float32, Vec3, Texture2D, etc.). |
| std::string | name Parameter name (e.g., “baseColor”, “roughness”, “albedoMap”). |
| std::string | displayName Display name for UI. |
| std::optional< EntropyEngine::Networking::PropertyValue > | defaultValue Native typed default value (optional). |
| std::map< std::string, std::string > | attributes UI metadata attributes (key-value pairs, e.g., {“Range”, “0,1”}, {“Color”, ""}). |
Detailed Description
Section titled “Detailed Description”struct EntropyCanvas::ShaderParameterDef;Parameter definition for a shader.
Describes a shader parameter (uniform) that can be set on materials. Uses native PropertyType enum for type-safe parameter definitions.
Public Attributes Documentation
Section titled “Public Attributes Documentation”variable type
Section titled “variable type”EntropyEngine::Networking::PropertyType type = EntropyEngine::Networking::PropertyType::Float32;Native property type (Float32, Vec3, Texture2D, etc.).
variable name
Section titled “variable name”std::string name;Parameter name (e.g., “baseColor”, “roughness”, “albedoMap”).
variable displayName
Section titled “variable displayName”std::string displayName;Display name for UI.
variable defaultValue
Section titled “variable defaultValue”std::optional< EntropyEngine::Networking::PropertyValue > defaultValue;Native typed default value (optional).
variable attributes
Section titled “variable attributes”std::map< std::string, std::string > attributes;UI metadata attributes (key-value pairs, e.g., {“Range”, “0,1”}, {“Color”, ""}).
Updated on 2026-01-26 at 17:14:35 -0500