Structures
VkSurfaceFormatKHR
Structure describing a supported swapchain format-color space pair
The VkSurfaceFormatKHR structure is defined as:
typedef struct VkSurfaceFormatKHR {
VkFormat format;
VkColorSpaceKHR colorSpace;
} VkSurfaceFormatKHR;
pub struct SurfaceFormatKHR {
format: vk::Format, // Supported pair of rendering format
color_space: vk::ColorSpaceKHR, // and color space for the surface
}
formatis a VkFormat that is compatible with the specified surface.colorSpaceis a presentation VkColorSpaceKHR that is compatible with the surface.
Parent
VK_KHR_surfaceType
Structures