Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11DeviceContext::SOGetTargets method

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

Syntax


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

Parameters

NumBuffers [in]

Type: UINT

Number of buffers to get.

ppSOTargets [out]

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

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11DeviceContext

 

 

Community Additions

Show:
© 2014 Microsoft