NDEVR
API Documentation
ShaderDefinition

Base definition for a shader program, holding source data and uniform bindings. More...

Inheritance diagram for ShaderDefinition:
[legend]
Collaboration diagram for ShaderDefinition:
[legend]

Public Attributes

Dictionary< String, ShaderUniformattribute_locations
 Maps uniform block names to their ShaderUniform descriptors.
UUID fallback_id
 Fallback shader UUID used when the target graphics engine lacks support for this shader.
Dictionary< String, Stringgraphics_engine_data
 Maps graphics engine names to their corresponding shader source code.
String icon
 Icon identifier used for UI representation of the shader.
UUID id
 Unique identifier for this shader definition.
TranslatedString shader_name
 User-facing display name of the shader.

Detailed Description

Base definition for a shader program, holding source data and uniform bindings.

Contains the shader's display metadata, per-engine source code, uniform attribute locations, and an optional fallback shader UUID used when the current graphics engine does not support this shader.

Definition at line 34 of file ShaderDefinition.h.


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