LiteFX::Rendering::Backends::VulkanDevice::supportsTexelBufferFormat¶
Returns true, if format can be used in texel buffers, i.e., as Buffer<T>, or as RWBuffer<T> if writable is set.
Synopsis¶
Declared in <litefx/backends/vulkan.hpp>
[[dllimport, dllexport]] virtual bool supportsTexelBufferFormat(
Format format,
bool writable) const override;Description¶
This method is called when binding texel buffers to check at runtime, if a buffer'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. |
| writable | true if the format should be writable and false otherwise. |