pub struct FullScreenExclusive { /* private fields */ }
Implementations§
Source§impl FullScreenExclusive
impl FullScreenExclusive
pub fn new(instance: &Instance, device: &Device) -> Self
Sourcepub unsafe fn acquire_full_screen_exclusive_mode(
&self,
swapchain: SwapchainKHR,
) -> VkResult<()>
pub unsafe fn acquire_full_screen_exclusive_mode( &self, swapchain: SwapchainKHR, ) -> VkResult<()>
Sourcepub unsafe fn get_physical_device_surface_present_modes2(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
) -> VkResult<Vec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_present_modes2( &self, physical_device: PhysicalDevice, surface_info: &PhysicalDeviceSurfaceInfo2KHR, ) -> VkResult<Vec<PresentModeKHR>>
Sourcepub unsafe fn release_full_screen_exclusive_mode(
&self,
swapchain: SwapchainKHR,
) -> VkResult<()>
pub unsafe fn release_full_screen_exclusive_mode( &self, swapchain: SwapchainKHR, ) -> VkResult<()>
Sourcepub unsafe fn get_device_group_surface_present_modes2(
&self,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
) -> VkResult<DeviceGroupPresentModeFlagsKHR>
pub unsafe fn get_device_group_surface_present_modes2( &self, surface_info: &PhysicalDeviceSurfaceInfo2KHR, ) -> VkResult<DeviceGroupPresentModeFlagsKHR>
pub const fn name() -> &'static CStr
pub fn fp(&self) -> &ExtFullScreenExclusiveFn
pub fn device(&self) -> Device
Trait Implementations§
Source§impl Clone for FullScreenExclusive
impl Clone for FullScreenExclusive
Source§fn clone(&self) -> FullScreenExclusive
fn clone(&self) -> FullScreenExclusive
Returns a copy 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 FullScreenExclusive
impl RefUnwindSafe for FullScreenExclusive
impl Send for FullScreenExclusive
impl Sync for FullScreenExclusive
impl Unpin for FullScreenExclusive
impl UnwindSafe for FullScreenExclusive
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