ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.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 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