Export (0) Print
Expand All
End
Map
Expand Minimize
This topic has not yet been rated - Rate this topic

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

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.