MaterialBuffer`1(int registerSlot)

int registerSlot Valid values are 3-16. This is the register id that this data will be bound to. In HLSL, you’ll see the slot id for ‘3’ indicated like this : register(b3)

Create a new global MaterialBuffer bound to the register slot id. All shaders will have access to the data provided via this instance’s Set.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!