D3D12_BUFFER_RTV structure (d3d12.h)

Describes the elements in a buffer resource to use in a render-target view.

Syntax

typedef struct D3D12_BUFFER_RTV {
  UINT64 FirstElement;
  UINT   NumElements;
} D3D12_BUFFER_RTV;

Members

FirstElement

Number of elements between the beginning of the buffer and the first element to access.

NumElements

The total number of elements in the view.

Remarks

Use this structure with a D3D12_RENDER_TARGET_VIEW_DESC structure to view the resource as a buffer.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures