ID3D11ComputeContextX::CSSetPlacementConstantBuffer Method

Sets the placement constant buffer for the Compute shader.

Syntax

public:
void CSSetPlacementConstantBuffer(
         UINT Slot,
         ID3D11Buffer *pConstantBuffer,
         void *pBaseAddress
)  

Parameters

Slot
Type: UINT 

[in] The slot. Valid range is 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1.

pConstantBuffer
Type: ID3D11Buffer *

[in] The buffer, as a pointer to ID3D11Buffer.

pBaseAddress
Type: void *

[in] The base address of the buffer.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11ComputeContextX Interface

ID3D11ComputeContextX Members