Debian Codegraph @

src/extensions/ext/full_screen_exclusive.rs

raw symbols SCIP
1 //! <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_full_screen_exclusive.html>
2
3 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::preluderust-analyzer cargo ash 0.38.0+1.3.281 prelude/::*;
4 use craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/;
5 use allocrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc crate/::vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/::Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#;
6 use corerust-analyzer cargo core https://github.com/rust-lang/rust/library/core crate/::memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/;
7
8 impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/::full_screen_exclusiverust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/::Devicerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device# {
9 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkAcquireFullScreenExclusiveModeEXT.html>
10 #[inline]
11 pub unsafe fn acquire_full_screen_exclusive_moderust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/full_screen_exclusive/impl#[`crate::ext::full_screen_exclusive::Device`]acquire_full_screen_exclusive_mode().(
12 &self,
13 swapchain: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SwapchainKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SwapchainKHR#,
14 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
15 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device#fp..acquire_full_screen_exclusive_mode_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/DeviceFn#acquire_full_screen_exclusive_mode_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device#handle., swapchain).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
16 }
17
18 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkReleaseFullScreenExclusiveModeEXT.html>
19 #[inline]
20 pub unsafe fn release_full_screen_exclusive_moderust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/full_screen_exclusive/impl#[`crate::ext::full_screen_exclusive::Device`]release_full_screen_exclusive_mode().(
21 &self,
22 swapchain: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::SwapchainKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/SwapchainKHR#,
23 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<()> {
24 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device#fp..release_full_screen_exclusive_mode_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/DeviceFn#release_full_screen_exclusive_mode_ext.)(self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device#handle., swapchain).resultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]result().()
25 }
26
27 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html>
28 #[inline]
29 pub unsafe fn get_device_group_surface_present_modes2rust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/full_screen_exclusive/impl#[`crate::ext::full_screen_exclusive::Device`]get_device_group_surface_present_modes2().(
30 &self,
31 surface_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PhysicalDeviceSurfaceInfo2KHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PhysicalDeviceSurfaceInfo2KHR#<'_>,
32 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::DeviceGroupPresentModeFlagsKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/bitflags/DeviceGroupPresentModeFlagsKHR#> {
33 let mut present_modes = memrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/::MaybeUninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/MaybeUninit#::uninitrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]uninit().();
34 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device#fp..get_device_group_surface_present_modes2_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/DeviceFn#get_device_group_surface_present_modes2_ext.)(
35 self.handlerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Device#handle.,
36 surface_info,
37 present_modes.as_mut_ptrrust-analyzer cargo core https://github.com/rust-lang/rust/library/core mem/maybe_uninit/impl#[`MaybeUninit<T>`]as_mut_ptr().(),
38 )
39 .assume_init_on_successrust-analyzer cargo ash 0.38.0+1.3.281 prelude/impl#[`vk::Result`]assume_init_on_success().(present_modes)
40 }
41 }
42
43 impl craterust-analyzer cargo ash 0.38.0+1.3.281 crate/::extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/::full_screen_exclusiverust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/::Instancerust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Instance# {
44 /// <https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html>
45 #[inline]
46 pub unsafe fn get_physical_device_surface_present_modes2rust-analyzer cargo ash 0.38.0+1.3.281 extensions/ext/full_screen_exclusive/impl#[`crate::ext::full_screen_exclusive::Instance`]get_physical_device_surface_present_modes2().(
47 &self,
48 physical_device: vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PhysicalDevicerust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PhysicalDevice#,
49 surface_info: &vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PhysicalDeviceSurfaceInfo2KHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/definitions/PhysicalDeviceSurfaceInfo2KHR#<'_>,
50 ) -> VkResultrust-analyzer cargo ash 0.38.0+1.3.281 prelude/VkResult#<Vecrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc vec/Vec#<vkrust-analyzer cargo ash 0.38.0+1.3.281 vk/::PresentModeKHRrust-analyzer cargo ash 0.38.0+1.3.281 vk/enums/PresentModeKHR#>> {
51 read_into_uninitialized_vectorrust-analyzer cargo ash 0.38.0+1.3.281 prelude/read_into_uninitialized_vector().(|count, data| {
52 (self.fprust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/Instance#fp..get_physical_device_surface_present_modes2_extrust-analyzer cargo ash 0.38.0+1.3.281 extensions_generated/ext/full_screen_exclusive/InstanceFn#get_physical_device_surface_present_modes2_ext.)(
53 physical_device,
54 surface_info,
55 count,
56 data,
57 )
58 })
59 }
60 }