D3D12_BUFFER_RTV structure

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 bytes 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

   
Header d3d12.h

See also

Core Structures