Bewerken

Delen via


PFND3D12DDI_CHECKMULTISAMPLEQUALITYLEVELS callback function (d3d12umddi.h)

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

None

Requirements

Requirement Value
Header d3d12umddi.h