Skip to content

LiteFX::Rendering::Backends::VulkanDevice::supportsStorageImageFormat

Returns true, if format can be used in writable images, i.e., as RWTexture<T>.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

[[dllimport, dllexport]] virtual bool supportsStorageImageFormat(Format format) const override;

Description

This method is called when binding images to check at runtime, if an image's format is supported with the requested descriptor.

Return Value

true if the format is supported and false otherwise.

Parameters

NameDescription
formatThe format to check.