nCine::RHI::GX2::Gx2ShaderProgram::LooseUniform struct

One loose uniform of a stage, copied into the stage's loose-uniform block per draw.

Public variables

const char* Name
std::uint32_t Offset
Byte offset in the block.
std::uint32_t Count
Array elements.
std::uint32_t ElementSize
Bytes of one element in the engine's packed value.
std::uint32_t Stride
Bytes between elements in the block (an array element takes at least a whole register).