Skip to content

LiteFX::Rendering::Backends::VulkanDevice::maximumMultiSamplingLevel

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

Synopsis

Declared in <litefx/backends/vulkan.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.