[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.CommonShaderStageBase.SetConstantBuffer

SetConstantBuffer Method

SetConstantBuffer(int, Buffer)

Sets a single constant buffer to be used by the shader stage.

Declaration
public void SetConstantBuffer(int slot, Buffer constantBuffer)
Parameters
Type Name Description
int slot

Index into the device's zero-based array to which to set the constant buffer.

Buffer constantBuffer

constant buffer to set