ShaderCompiler::ProgramReflection struct

One lowered program (document plus per-variant reflection) to be emitted into a generated header.

Public variables

const ShaderDocument* Document
The lowered source document this reflection was computed from.
std::vector<VariantReflection> Variants
Per-variant merged reflection (the unnamed base variant is Variants[0]).