ID3D11DeviceContext::SOGetTargets method (d3d11.h)

Get the target output buffers for the stream-output stage of the pipeline.

Syntax

void SOGetTargets(
  [in]            UINT         NumBuffers,
  [out, optional] ID3D11Buffer **ppSOTargets
);

Parameters

[in] NumBuffers

Type: UINT

Number of buffers to get.

[out, optional] ppSOTargets

Type: ID3D11Buffer**

An array of output buffers (see ID3D11Buffer) to be retrieved from the device.

Return value

None

Remarks

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.

Windows Phone 8: This API is supported.

Requirements

Requirement Value
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See also

ID3D11DeviceContext