[]
Sets a single shader resource to be used by the shader stage.
public void SetShaderResource(int slot, ShaderResourceView resourceView)
| 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 |