LiteFX::Rendering::Backends::DirectX12Device::supportsStorageImageFormat¶
Returns true, if format can be used in writable images, i.e., as RWTexture<T>.
Synopsis¶
Declared in <litefx/backends/dx12.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¶
| Name | Description |
|---|---|
| format | The format to check. |