XII Release 0.1.0
Loading...
Searching...
No Matches
xiiMaterialCompiler Class Reference

#include <MaterialCompiler.h>

Static Public Member Functions

static xiiResult ValidateShaderLayout (const xiiMaterialSchema &schema, const xiiShaderPermutationResource &permutation, xiiCompiledMaterialLayout &out_layout, xiiStringView sParameterBlockName="xiiMaterialConstants")

Detailed Description

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.


The documentation for this class was generated from the following files:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Material/MaterialCompiler.h
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Material/Implementation/MaterialCompiler.cpp