D3D12_BUFFER_RTV structure (d3d12.h)
Describes the elements in a buffer resource to use in a render-target view.
C++
typedef struct D3D12_BUFFER_RTV {
UINT64 FirstElement;
UINT NumElements;
} D3D12_BUFFER_RTV;
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.
Use this structure with a D3D12_RENDER_TARGET_VIEW_DESC structure to view the resource as a buffer.
Requirement | Value |
---|---|
Header | d3d12.h |