D3D12_RENDER_PASS_RENDER_TARGET_DESC structure (d3d12.h)

Describes bindings (fixed for the duration of the render pass) to one or more render target views (RTVs), as well as their beginning and ending access characteristics.

Syntax

typedef struct D3D12_RENDER_PASS_RENDER_TARGET_DESC {
  D3D12_CPU_DESCRIPTOR_HANDLE        cpuDescriptor;
  D3D12_RENDER_PASS_BEGINNING_ACCESS BeginningAccess;
  D3D12_RENDER_PASS_ENDING_ACCESS    EndingAccess;
} D3D12_RENDER_PASS_RENDER_TARGET_DESC;

Members

cpuDescriptor

A D3D12_CPU_DESCRIPTOR_HANDLE. The CPU descriptor handle corresponding to the render target view(s) (RTVs).

BeginningAccess

A D3D12_RENDER_PASS_BEGINNING_ACCESS. The access to the RTV(s) requested at the transition into a render pass.

EndingAccess

A D3D12_RENDER_PASS_ENDING_ACCESS. The access to the RTV(s) requested at the transition out of a render pass.

Requirements

Requirement Value
Header d3d12.h

See also

Rendering