nCine::RHI::RSX::RsxUniformSlot struct

One reflected RSX program constant the draw path writes a uniform into.

Resolving the constants once at link time keeps rsxVertexProgramGetConst() - a linear scan over the program's name table, with a strcmp per entry - off the per-draw path.

Param is the microcode's own descriptor, which the rsxSet*ProgramParameter() commands take directly; it points into the embedded program blob and so outlives this program. ByteSize comes from the engine-side reflection rather than from the shader, because it is the size of the value the pipeline will hand over, which is what bounds the copy.

Public variables

const char* Name
const rsxProgramConst* Param
std::uint32_t ByteSize