ComponentOne Bitmap for UWP
SetShaderResource Method

C1.UWP.DX 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
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

Reference

CommonShaderStageBase Class
CommonShaderStageBase Members