ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 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 Integer, _
       ByVal resourceView As ShaderResourceView _
    ) 
    public void SetShaderResource( 
       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