Struct vulkan_rs::VkSurfaceCapabilitiesKHR [] [src]

#[repr(C)]
pub struct VkSurfaceCapabilitiesKHR { pub minImageCount: u32, pub maxImageCount: u32, pub currentExtent: VkExtent2D, pub minImageExtent: VkExtent2D, pub maxImageExtent: VkExtent2D, pub maxImageArrayLayers: u32, pub supportedTransforms: VkSurfaceTransformFlagsKHR, pub currentTransform: VkSurfaceTransformFlagBitsKHR, pub supportedCompositeAlpha: VkCompositeAlphaFlagsKHR, pub supportedUsageFlags: VkImageUsageFlags, }

Structure describing capabilities of a surface

Fields

the minimum number of images the specified device supports for a swapchain created for the surface, and will be at least one

the maximum number of images the specified device supports for a swapchain created for the surface, and will be either 0, or greater than or equal to minImageCount

the current width and height of the surface, or the special value [eq]#(0xFFFFFFFF, 0xFFFFFFFF)# indicating that the surface size will be determined by the extent of a swapchain targeting the surface

the maximum number of layers presentable images can: have for a swapchain created for this device and surface, and will be at least one

a bitmask of VkSurfaceTransformFlagBitsKHR, describing the presentation transforms supported for the surface on the specified device, and at least one bit will be set

the surface's current transform relative to the presentation engine's natural orientation, as described by VkSurfaceTransformFlagBitsKHR

a bitmask of VkCompositeAlphaFlagBitsKHR, representing the alpha compositing modes supported by the presentation engine for the surface on the specified device, and at least one bit will be set

a bitmask of VkImageUsageFlagBits representing the ways the application can: use the presentable images of a swapchain created

Trait Implementations

impl Copy for VkSurfaceCapabilitiesKHR
[src]

impl Clone for VkSurfaceCapabilitiesKHR
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for VkSurfaceCapabilitiesKHR
[src]

Returns the "default value" for a type. Read more