D3D12_RENDER_PASS_BEGINNING_ACCESS structure (d3d12.h)

Describes the access to resource(s) that is requested by an application at the transition into a render pass.

Syntax

typedef struct D3D12_RENDER_PASS_BEGINNING_ACCESS {
  D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE Type;
  union {
    D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS          Clear;
    D3D12_RENDER_PASS_BEGINNING_ACCESS_PRESERVE_LOCAL_PARAMETERS PreserveLocal;
  };
} D3D12_RENDER_PASS_BEGINNING_ACCESS;

Members

Type

A D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE. The type of access being requested.

Clear

A D3D12_RENDER_PASS_BEGINNING_ACCESS_CLEAR_PARAMETERS. Appropriate when Type is D3D12_RENDER_PASS_BEGINNING_ACCESS_TYPE_CLEAR. The clear value to which resource(s) should be cleared.

PreserveLocal

Requirements

Requirement Value
Header d3d12.h

See also

Rendering