ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStageBase Class / SetShaderResource Method
Index into the device's zero-based array to which to set the resource.
Resource view to attach

In This Topic
    SetShaderResource Method
    In This Topic
    Sets a single shader resource to be used by the shader stage.
    Syntax
    'Declaration
     
    Public Sub SetShaderResource( _
       ByVal slot As System.Integer, _
       ByVal resourceView As ShaderResourceView _
    ) 
    public void SetShaderResource( 
       System.int slot,
       ShaderResourceView resourceView
    )

    Parameters

    slot
    Index into the device's zero-based array to which to set the resource.
    resourceView
    Resource view to attach
    See Also