#[repr(transparent)]pub struct SurfaceCapabilities(pub VkSurfaceCapabilitiesKHR);Available on crate feature
VK_KHR_surface only.Tuple Fields§
§0: VkSurfaceCapabilitiesKHRImplementations§
Source§impl SurfaceCapabilities
impl SurfaceCapabilities
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
Auto Trait Implementations§
impl Freeze for SurfaceCapabilities
impl RefUnwindSafe for SurfaceCapabilities
impl Send for SurfaceCapabilities
impl Sync for SurfaceCapabilities
impl Unpin for SurfaceCapabilities
impl UnsafeUnpin for SurfaceCapabilities
impl UnwindSafe for SurfaceCapabilities
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