Skip to content

LiteFX::Rendering::Backends::DirectX12Device::maximumMultiSamplingLevel

Queries the device for the maximum supported number of multi-sampling levels.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual MultiSamplingLevel maximumMultiSamplingLevel(Format format) const override;

Description

This method returns the maximum supported multi-sampling level for a certain format. Typically you want to pass a back-buffer format for your swap-chain here. All lower multi-sampling levels are implicitly supported for this format.

Return Value

The maximum multi-sampling level.

Parameters

NameDescription
formatThe target (i.e. back-buffer) format.

See Also

https://docs.microsoft.com/en-us/windows/win32/api/d3d11/ne-d3d11-d3d11_standard_multisample_quality_levels