ID3D12GraphicsCommandList::SOSetTargets method

Sets the stream output buffer views.

Syntax

void SOSetTargets(
  UINT                                  StartSlot,
  UINT                                  NumViews,
  const D3D12_STREAM_OUTPUT_BUFFER_VIEW *pViews
);

Parameters

StartSlot

Type: UINT

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

NumViews

Type: UINT

The number of entries in the pViews array.

pViews

Type: const D3D12_STREAM_OUTPUT_BUFFER_VIEW*

Specifies an array of D3D12_STREAM_OUTPUT_BUFFER_VIEW structures.

Return Value

This method does not return a value.

Requirements

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

See Also

ID3D12GraphicsCommandList