materialsSection top-level constant

DataSection const materialsSection

A data plugin's materials: the material language, compiled where the backend compiles at run time (RuntimeShaders).

An entry is {"source": "glow.f3dmat"}, a file of the plugin's, or {"text": "material Glow { … }"}, the material written in place. On an engine that draws nothing the section is read and noted, not compiled; on one that draws, the engine needs a RuntimeShaders among its registries.

Implementation

const DataSection materialsSection = _MaterialsSection();