D3D12_CLEAR_FLAGS Enumeration

Specifies what to clear from the depth stencil view.

Syntax

typedef enum D3D12_CLEAR_FLAGS {
  D3D12_CLEAR_FLAG_DEPTH,
  D3D12_CLEAR_FLAG_STENCIL
} ;

Constants

D3D12_CLEAR_FLAG_DEPTH Indicates the depth buffer should be cleared.
D3D12_CLEAR_FLAG_STENCIL Indicates the stencil buffer should be cleared.

Remarks

This enum is used by ID3D12GraphicsCommandList::ClearDepthStencilView. The flags can be combined to clear all.

Requirements

   
Header d3d12.h

See Also

Core Enumerations