![]() |
XII Release 0.1.0
|
#include <MaterialCompiler.h>
Static Public Member Functions | |
| static xiiResult | ValidateShaderLayout (const xiiMaterialSchema &schema, const xiiShaderPermutationResource &permutation, xiiCompiledMaterialLayout &out_layout, xiiStringView sParameterBlockName="xiiMaterialConstants") |
Validates an immutable material schema against shader reflection before a pipeline is cached. This catches stale assets, backend packing differences, missing resources and incompatible specialization permutations without relying on draw-time validation.