|
MayaFlux 0.2.0
Digital-First Multimedia Processing Framework
|
DataVariant dispatch descriptor for a swapchain surface format. More...
#include <VKEnumUtils.hpp>
Collaboration diagram for MayaFlux::Core::SurfaceFormatTraits:Public Attributes | |
| uint32_t | channel_count |
| Number of colour channels. | |
| uint32_t | bits_per_channel |
| Bits per individual channel. | |
| bool | is_float |
| True for SFLOAT formats. | |
| bool | is_packed |
| True for packed formats (e.g. A2B10G10R10). | |
DataVariant dispatch descriptor for a swapchain surface format.
Byte count is intentionally absent — callers derive it from vk_format_bytes_per_pixel(to_vk_format(fmt)) to avoid duplication. Only the fields that cannot be trivially derived from the vk::Format alone are stored here: the element-type discriminants needed to choose the correct DataVariant alternative.
Definition at line 18 of file VKEnumUtils.hpp.