nCine::RHI::RSX::RsxShaderProgram::RsxInstanceArray struct

The batched instance array of a stage, if it has one.

Derived at link time from the compiled microcode's own constant table - the offline reflection describes the array only as one opaque Struct member, so the field layout is recovered from the instances[0].<field> constants cgcomp emitted and their declared types (see RsxShaderProgram::ResolveInstanceArray()).

Public variables

bool Valid
std::uint32_t BindingIndex
std::uint32_t BaseRegister
std::uint32_t RegistersPerElement
std::uint32_t SourceStride
std::uint32_t ElementCount
SmallVector<RsxInstanceField, 0> Fields