Export (0) Print
Expand All
Expand Minimize

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft