Function CE::Assets::Shaders::validate_material

Function Documentation

void CE::Assets::Shaders::validate_material(const MaterialRecipe &recipe, const ProgramRecipe &program)

Validate portable recipe/program agreement, pipeline structure and finite typed literals.

Parameters:
  • recipe – Qualified material referring exactly to program.id.

  • program – Valid vertex/fragment recipe.

Throws:

CE::Exceptions::invalid_args – For malformed identities/state/contracts/literals or sampling policies not naming sampler parameters. Backend binding syntax, native reflection and resource construction remain builder responsibilities; inputs are unchanged.