PFND3D12DDI_CHECKMULTISAMPLEQUALITYLEVELS callback function

Implemented by the client driver to check multi-sample quality levels.

Syntax

PFND3D12DDI_CHECKMULTISAMPLEQUALITYLEVELS Pfnd3d12ddiCheckmultisamplequalitylevels;

void Pfnd3d12ddiCheckmultisamplequalitylevels(
  D3D12DDI_HDEVICE hDevice,
  DXGI_FORMAT Format,
  UINT SampleCount,
  D3D12DDI_MULTISAMPLE_QUALITY_LEVEL_FLAGS Flags,
  UINT *pNumQualityLevels
)
{...}

Parameters

hDevice

A handle to a device.

Format

A DXGI_FORMAT.

SampleCount

The sample count.

Flags

Multi-sample quality level flags.

pNumQualityLevels

The number of quality levels.

Return Value

Returns VOID.

Requirements

   
Header d3d12umddi.h