Windows apps
Collapse the table of content
Expand the table of content
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.

ID3D10Device::SOGetTargets method

Get the target output buffers for the StreamOutput stage of the pipeline.

Syntax


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

Parameters

NumBuffers [in]

Type: UINT

Number of buffers to get. A maximum of four output buffers can be retrieved.

ppSOTargets [out]

Type: ID3D10Buffer**

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

pOffsets [out]

Type: UINT*

Array of offsets to the output buffers from ppSOTargets, one offset for each buffer. The offset values are in bytes.

Return value

Returns nothing.

Remarks

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.

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10Device Interface

 

 

Show:
© 2016 Microsoft