Sets the placement constant buffer for the Hull shader.
public:
void HSSetPlacementConstantBuffer(
UINT Slot,
ID3D11Buffer *pConstantBuffer,
void *pBaseAddress
)
Slot
Type: UINT
[in] The slot number. Valid range is 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1.
pConstantBuffer
Type: ID3D11Buffer *
[in] The constant buffer, as a pointer to ID3D11Buffer. pConstantBuffer must be created by using ID3D11DeviceX::CreatePlacementBuffer with BIND_CONSTANT_BUFFER.
pBaseAddress
Type: void *
[in] A pointer to the region of virtual memory that is allocated and is then passed as pVirtualAddress in ID3D11DeviceX::CreatePlacementBuffer. This does not need to point to the “base”. This must be a 64-byte-aligned pointer.
Header: Declared in d3d11_x.h.
Library: Use d3d11_x.lib.