Get the target output buffers for the stream-output stage of the pipeline.
public:
void SOGetTargets(
UINT NumBuffers,
ID3D11Buffer **ppSOTargets
)
NumBuffers
Type: UINTÂ
[in] Number of buffers to get.
ppSOTargets
Type: ID3D11Buffer **
[out, optional] An array of output buffers (see ID3D11Buffer) to be retrieved from the device.
A maximum of four output buffers can be retrieved.
The offsets to the output buffers pointed to in the returned ppSOTargets array may be assumed to be -1 (append), as defined for use in ID3D11DeviceContext::SOSetTargets.
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).