ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 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

In This Topic
    SetConstantBuffer Method (CommonShaderStageBase)
    In This Topic
    Sets a single constant buffer to be used by the shader stage.
    Syntax
    'Declaration
     
    Public Sub SetConstantBuffer( _
       ByVal slot As Integer, _
       ByVal constantBuffer As Buffer _
    ) 
    public void SetConstantBuffer( 
       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