#[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,
}Fields§
§minImageCount: u32§maxImageCount: u32§currentExtent: VkExtent2D§minImageExtent: VkExtent2D§maxImageExtent: VkExtent2D§maxImageArrayLayers: u32§supportedTransforms: VkSurfaceTransformFlagsKHR§currentTransform: VkSurfaceTransformFlagBitsKHR§supportedCompositeAlpha: VkCompositeAlphaFlagsKHR§supportedUsageFlags: VkImageUsageFlagsImplementations§
Source§impl VkSurfaceCapabilitiesKHR
impl VkSurfaceCapabilitiesKHR
Sourcepub const fn supported_transforms(&self) -> SurfaceTransformFlags
pub const fn supported_transforms(&self) -> SurfaceTransformFlags
The presentation transforms supported for the surface
Sourcepub const fn current_transform(&self) -> SurfaceTransformFlags
pub const fn current_transform(&self) -> SurfaceTransformFlags
The surface’s current transform relative to the presentation engine’s natural orientation
Sourcepub const fn supported_composite_alpha(&self) -> CompositeAlphaFlags
pub const fn supported_composite_alpha(&self) -> CompositeAlphaFlags
The alpha compositing modes supported by the presentation engine for the surface
Sourcepub const fn supported_usage_flags(&self) -> ImageUsageFlags
pub const fn supported_usage_flags(&self) -> ImageUsageFlags
The ways the application can use the presentable images of a swapchain
Trait Implementations§
Source§impl Clone for VkSurfaceCapabilitiesKHR
impl Clone for VkSurfaceCapabilitiesKHR
Source§fn clone(&self) -> VkSurfaceCapabilitiesKHR
fn clone(&self) -> VkSurfaceCapabilitiesKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VkSurfaceCapabilitiesKHR
impl RefUnwindSafe for VkSurfaceCapabilitiesKHR
impl Send for VkSurfaceCapabilitiesKHR
impl Sync for VkSurfaceCapabilitiesKHR
impl Unpin for VkSurfaceCapabilitiesKHR
impl UnwindSafe for VkSurfaceCapabilitiesKHR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more