D3D12_STREAM_OUTPUT_BUFFER_VIEW structure (d3d12.h)

Describes a stream output buffer.

Syntax

typedef struct D3D12_STREAM_OUTPUT_BUFFER_VIEW {
  D3D12_GPU_VIRTUAL_ADDRESS BufferLocation;
  UINT64                    SizeInBytes;
  D3D12_GPU_VIRTUAL_ADDRESS BufferFilledSizeLocation;
} D3D12_STREAM_OUTPUT_BUFFER_VIEW;

Members

BufferLocation

A D3D12_GPU_VIRTUAL_ADDRESS (a UINT64) that points to the stream output buffer. If SizeInBytes is 0, this member isn't used and can be any value.

SizeInBytes

The size of the stream output buffer in bytes.

BufferFilledSizeLocation

The location of the value of how much data has been filled into the buffer, as a D3D12_GPU_VIRTUAL_ADDRESS (a UINT64). This member can't be NULL; a filled size location must be supplied (which the hardware will increment as data is output). If SizeInBytes is 0, this member isn't used and can be any value.

Remarks

Use this structure with SOSetTargets.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures