Skip to main content
QAROS Rust API Dev (main) · versions: Dev (main) · Developer Guide

assumed_vk_format

Function assumed_vk_format 

Source
pub fn assumed_vk_format(format: PixelFormat) -> Option<Format>
Expand description

The VkFormat assumed for a QAROS pixel format. The header reports only the PixelFormat, not the image’s VkFormat; these are the UNORM and SFLOAT formats qaros-stub creates, and the depth-stencil formats by their Vulkan names (D32FloatS8X24Uint is D32_SFLOAT_S8_UINT). Whether QAROS uses the sRGB variants for 8-bit color is not documented.