ComponentOne Bitmap for UWP
SetConstantBuffer Method (CommonShaderStageBase)

C1.UWP.DX Assembly > C1.Util.DX.Direct3D11 Namespace > CommonShaderStageBase Class : SetConstantBuffer Method
Index into the device's zero-based array to which to set the constant buffer.
constant buffer to set
Sets a single constant buffer to be used by the shader stage.
Syntax
'Declaration
 
Public Sub SetConstantBuffer( _
   ByVal slot As System.Integer, _
   ByVal constantBuffer As Buffer _
) 
public void SetConstantBuffer( 
   System.int slot,
   Buffer constantBuffer
)

Parameters

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

Reference

CommonShaderStageBase Class
CommonShaderStageBase Members