Sets the placement shader resource for the Compute shader.
public:
void CSSetPlacementShaderResource(
UINT Slot,
ID3D11ShaderResourceView *pShaderResourceView,
void *pBaseAddress
)
Slot
Type: UINT
[in] The slot. Valid range is 0 to D3D11_COMMONSHADER_INPUT_RESOURCE_SLOT_COUNT - 1.
pShaderResourceView
Type: ID3D11ShaderResourceView *
[in] The shader resource view, as a pointer to ID3D11ShaderResourceView.
pBaseAddress
Type: void *
[in] The base address of the resource.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.