[]
        
(Showing Draft Content)

C1.Util.DX.Direct3D11.CommonShaderStageBase.SetShaderResource

SetShaderResource Method

SetShaderResource(int, ShaderResourceView)

Sets a single shader resource to be used by the shader stage.

Declaration
public void SetShaderResource(int slot, ShaderResourceView resourceView)
Public Sub SetShaderResource(slot As Integer, resourceView As ShaderResourceView)
Parameters
Type Name Description
int slot

Index into the device's zero-based array to which to set the resource.

ShaderResourceView resourceView

Resource view to attach