nCine::RHI::D3D11::D3D11CBufferSlot struct

Describes one constant buffer slot a shader stage expects, precomputed from bytecode reflection.

At draw time the device rebuilds each slot's bytes into a dynamic ID3D11Buffer and binds it at Register. A _Globals slot (loose uniforms) is gathered member-by-member from the program's resolved loose-uniform values; a uniform-block slot is copied verbatim from the std140 range the pipeline bound (the HLSL emitter laid the cbuffer out to match std140, so no repacking is needed).

Public types

struct GlobalVar

Public variables

std::uint32_t Register
std::uint32_t ByteSize
bool IsGlobals
std::int32_t BlockIndex
std::vector<GlobalVar> Globals