ID3D12GraphicsCommandList::SOSetTargets method (d3d12.h)

Sets the stream output buffer views.

Syntax

void SOSetTargets(
  [in]           UINT                                  StartSlot,
  [in]           UINT                                  NumViews,
  [in, optional] const D3D12_STREAM_OUTPUT_BUFFER_VIEW *pViews
);

Parameters

[in] StartSlot

Type: UINT

Index into the device's zero-based array to begin setting stream output buffers.

[in] NumViews

Type: UINT

The number of entries in the pViews array.

[in, optional] pViews

Type: const D3D12_STREAM_OUTPUT_BUFFER_VIEW*

Specifies an array of D3D12_STREAM_OUTPUT_BUFFER_VIEW structures.

Return value

None

Requirements

   
Target Platform Windows
Header d3d12.h
Library D3d12.lib
DLL D3d12.dll

See also

ID3D12GraphicsCommandList