Skip to content

EntropyCanvas::ShaderMetadata

Shader metadata extracted from source. More…

#include <ShaderAsset.h>

Name
booltransparent
Whether this is a transparent shader.
int32_trenderQueue
Default render queue (2000 = opaque, 3000 = transparent) Material can override this value.
std::vector< ShaderParameterDef >parameters
Parameter definitions.
std::stringname
Shader name.
std::vector< std::string >keywords
Declared keywords (from #pragma multi_compile).
std::stringdescription
Shader description.
boolcastsShadows
Whether shader supports shadow casting.
std::stringauthor
Shader author/source.
struct EntropyCanvas::ShaderMetadata;

Shader metadata extracted from source.

Contains information about the shader’s capabilities, keywords, and parameters for material setup.

bool transparent = false;

Whether this is a transparent shader.

int32_t renderQueue = 2000;

Default render queue (2000 = opaque, 3000 = transparent) Material can override this value.

std::vector< ShaderParameterDef > parameters;

Parameter definitions.

std::string name;

Shader name.

std::vector< std::string > keywords;

Declared keywords (from #pragma multi_compile).

std::string description;

Shader description.

bool castsShadows = true;

Whether shader supports shadow casting.

std::string author;

Shader author/source.


Updated on 2026-01-26 at 17:14:35 -0500