Get the constant buffers used by the domain-shader stage.
public:
void DSGetConstantBuffers(
UINT StartSlot,
UINT NumBuffers,
ID3D11Buffer **ppConstantBuffers
)
StartSlot
Type: UINT
[in] Index into the device’s zero-based array to begin retrieving constant buffers from (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - 1).
NumBuffers
Type: UINT
[in] Number of buffers to retrieve (ranges from 0 to D3D11_COMMONSHADER_CONSTANT_BUFFER_API_SLOT_COUNT - StartSlot).
ppConstantBuffers
Type: ID3D11Buffer **
[out, optional] Array of constant buffer interface pointers (see ID3D11Buffer) to be returned by the method.
Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.
Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).
Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).