Sets a single shader resource to be used by the shader stage.
'Declaration
Public Sub SetShaderResource( _
ByVal As System.Integer, _
ByVal As ShaderResourceView _
)
Parameters
- slot
- Index into the device's zero-based array to which to set the resource.
- resourceView
- Resource view to attach