D3D12GetFormatPlaneCount function

Gets the number of planes for the specified DXGI format for the specified virtual adapter (an ID3D12Device).

Syntax

UINT8 inline D3D12GetFormatPlaneCount(
  _In_ ID3D12Device *pDevice,
       DXGI_FORMAT  Format
);

Parameters

pDevice [in]

Type: ID3D12Device*

The virtual adapter (an ID3D12Device) for which to get the plane count.

Format

Type: DXGI_FORMAT

The DXGI_FORMAT for which to get the plane count.

Return value

Type: UINT8

The plane count for the specified format on the specified virtual adapter.

Requirements

Requirement Value
Header
D3dx12.h
Library
D3D12.lib
DLL
D3D12.dll

See also

D3D12_FEATURE_DATA_FORMAT_INFO

CheckFeatureSupport

Helper Functions for D3D12