ID3D11DeviceContext::SOGetTargets method

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

Syntax

void SOGetTargets(
  UINT         NumBuffers,
  ID3D11Buffer **ppSOTargets
);

Parameters

NumBuffers

Type: UINT

Number of buffers to get.

ppSOTargets

Type: ID3D11Buffer**

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

Return Value

Returns nothing.

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

   
Target Platform Windows
Header d3d11.h
Library D3D11.lib

See Also

ID3D11DeviceContext