Struct erupt::InstanceLoader
source · pub struct InstanceLoader {Show 103 fields
pub handle: Instance,
pub get_device_proc_addr: PFN_vkGetDeviceProcAddr,
pub destroy_instance: Option<PFN_vkDestroyInstance>,
pub enumerate_physical_devices: Option<PFN_vkEnumeratePhysicalDevices>,
pub get_instance_proc_addr: Option<PFN_vkGetInstanceProcAddr>,
pub get_physical_device_properties: Option<PFN_vkGetPhysicalDeviceProperties>,
pub get_physical_device_queue_family_properties: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties>,
pub get_physical_device_memory_properties: Option<PFN_vkGetPhysicalDeviceMemoryProperties>,
pub get_physical_device_features: Option<PFN_vkGetPhysicalDeviceFeatures>,
pub get_physical_device_format_properties: Option<PFN_vkGetPhysicalDeviceFormatProperties>,
pub get_physical_device_image_format_properties: Option<PFN_vkGetPhysicalDeviceImageFormatProperties>,
pub create_device: Option<PFN_vkCreateDevice>,
pub enumerate_device_layer_properties: Option<PFN_vkEnumerateDeviceLayerProperties>,
pub enumerate_device_extension_properties: Option<PFN_vkEnumerateDeviceExtensionProperties>,
pub get_physical_device_sparse_image_format_properties: Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties>,
pub create_android_surface_khr: Option<PFN_vkCreateAndroidSurfaceKHR>,
pub get_physical_device_display_properties_khr: Option<PFN_vkGetPhysicalDeviceDisplayPropertiesKHR>,
pub get_physical_device_display_plane_properties_khr: Option<PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR>,
pub get_display_plane_supported_displays_khr: Option<PFN_vkGetDisplayPlaneSupportedDisplaysKHR>,
pub get_display_mode_properties_khr: Option<PFN_vkGetDisplayModePropertiesKHR>,
pub create_display_mode_khr: Option<PFN_vkCreateDisplayModeKHR>,
pub get_display_plane_capabilities_khr: Option<PFN_vkGetDisplayPlaneCapabilitiesKHR>,
pub create_display_plane_surface_khr: Option<PFN_vkCreateDisplayPlaneSurfaceKHR>,
pub destroy_surface_khr: Option<PFN_vkDestroySurfaceKHR>,
pub get_physical_device_surface_support_khr: Option<PFN_vkGetPhysicalDeviceSurfaceSupportKHR>,
pub get_physical_device_surface_capabilities_khr: Option<PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR>,
pub get_physical_device_surface_formats_khr: Option<PFN_vkGetPhysicalDeviceSurfaceFormatsKHR>,
pub get_physical_device_surface_present_modes_khr: Option<PFN_vkGetPhysicalDeviceSurfacePresentModesKHR>,
pub create_vi_surface_nn: Option<PFN_vkCreateViSurfaceNN>,
pub create_wayland_surface_khr: Option<PFN_vkCreateWaylandSurfaceKHR>,
pub get_physical_device_wayland_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR>,
pub create_win32_surface_khr: Option<PFN_vkCreateWin32SurfaceKHR>,
pub get_physical_device_win32_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR>,
pub create_xlib_surface_khr: Option<PFN_vkCreateXlibSurfaceKHR>,
pub get_physical_device_xlib_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR>,
pub create_xcb_surface_khr: Option<PFN_vkCreateXcbSurfaceKHR>,
pub get_physical_device_xcb_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR>,
pub create_direct_fb_surface_ext: Option<PFN_vkCreateDirectFBSurfaceEXT>,
pub get_physical_device_direct_fb_presentation_support_ext: Option<PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT>,
pub create_image_pipe_surface_fuchsia: Option<PFN_vkCreateImagePipeSurfaceFUCHSIA>,
pub create_stream_descriptor_surface_ggp: Option<PFN_vkCreateStreamDescriptorSurfaceGGP>,
pub create_screen_surface_qnx: Option<PFN_vkCreateScreenSurfaceQNX>,
pub get_physical_device_screen_presentation_support_qnx: Option<PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX>,
pub create_debug_report_callback_ext: Option<PFN_vkCreateDebugReportCallbackEXT>,
pub destroy_debug_report_callback_ext: Option<PFN_vkDestroyDebugReportCallbackEXT>,
pub debug_report_message_ext: Option<PFN_vkDebugReportMessageEXT>,
pub get_physical_device_external_image_format_properties_nv: Option<PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV>,
pub get_physical_device_features2: Option<PFN_vkGetPhysicalDeviceFeatures2>,
pub get_physical_device_properties2: Option<PFN_vkGetPhysicalDeviceProperties2>,
pub get_physical_device_format_properties2: Option<PFN_vkGetPhysicalDeviceFormatProperties2>,
pub get_physical_device_image_format_properties2: Option<PFN_vkGetPhysicalDeviceImageFormatProperties2>,
pub get_physical_device_queue_family_properties2: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties2>,
pub get_physical_device_memory_properties2: Option<PFN_vkGetPhysicalDeviceMemoryProperties2>,
pub get_physical_device_sparse_image_format_properties2: Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2>,
pub get_physical_device_external_buffer_properties: Option<PFN_vkGetPhysicalDeviceExternalBufferProperties>,
pub get_physical_device_external_semaphore_properties: Option<PFN_vkGetPhysicalDeviceExternalSemaphoreProperties>,
pub get_physical_device_external_fence_properties: Option<PFN_vkGetPhysicalDeviceExternalFenceProperties>,
pub release_display_ext: Option<PFN_vkReleaseDisplayEXT>,
pub acquire_xlib_display_ext: Option<PFN_vkAcquireXlibDisplayEXT>,
pub get_rand_r_output_display_ext: Option<PFN_vkGetRandROutputDisplayEXT>,
pub acquire_winrt_display_nv: Option<PFN_vkAcquireWinrtDisplayNV>,
pub get_winrt_display_nv: Option<PFN_vkGetWinrtDisplayNV>,
pub get_physical_device_surface_capabilities2_ext: Option<PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT>,
pub enumerate_physical_device_groups: Option<PFN_vkEnumeratePhysicalDeviceGroups>,
pub get_physical_device_present_rectangles_khr: Option<PFN_vkGetPhysicalDevicePresentRectanglesKHR>,
pub create_ios_surface_mvk: Option<PFN_vkCreateIOSSurfaceMVK>,
pub create_mac_os_surface_mvk: Option<PFN_vkCreateMacOSSurfaceMVK>,
pub create_metal_surface_ext: Option<PFN_vkCreateMetalSurfaceEXT>,
pub get_physical_device_multisample_properties_ext: Option<PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT>,
pub get_physical_device_surface_capabilities2_khr: Option<PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR>,
pub get_physical_device_surface_formats2_khr: Option<PFN_vkGetPhysicalDeviceSurfaceFormats2KHR>,
pub get_physical_device_display_properties2_khr: Option<PFN_vkGetPhysicalDeviceDisplayProperties2KHR>,
pub get_physical_device_display_plane_properties2_khr: Option<PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR>,
pub get_display_mode_properties2_khr: Option<PFN_vkGetDisplayModeProperties2KHR>,
pub get_display_plane_capabilities2_khr: Option<PFN_vkGetDisplayPlaneCapabilities2KHR>,
pub get_physical_device_calibrateable_time_domains_ext: Option<PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT>,
pub create_debug_utils_messenger_ext: Option<PFN_vkCreateDebugUtilsMessengerEXT>,
pub destroy_debug_utils_messenger_ext: Option<PFN_vkDestroyDebugUtilsMessengerEXT>,
pub submit_debug_utils_message_ext: Option<PFN_vkSubmitDebugUtilsMessageEXT>,
pub get_physical_device_cooperative_matrix_properties_nv: Option<PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV>,
pub get_physical_device_surface_present_modes2_ext: Option<PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT>,
pub enumerate_physical_device_queue_family_performance_query_counters_khr: Option<PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR>,
pub get_physical_device_queue_family_performance_query_passes_khr: Option<PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR>,
pub create_headless_surface_ext: Option<PFN_vkCreateHeadlessSurfaceEXT>,
pub get_physical_device_supported_framebuffer_mixed_samples_combinations_nv: Option<PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV>,
pub get_physical_device_tool_properties: Option<PFN_vkGetPhysicalDeviceToolProperties>,
pub get_physical_device_fragment_shading_rates_khr: Option<PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR>,
pub get_physical_device_video_capabilities_khr: Option<PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR>,
pub get_physical_device_video_format_properties_khr: Option<PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR>,
pub acquire_drm_display_ext: Option<PFN_vkAcquireDrmDisplayEXT>,
pub get_drm_display_ext: Option<PFN_vkGetDrmDisplayEXT>,
pub get_physical_device_features2_khr: Option<PFN_vkGetPhysicalDeviceFeatures2KHR>,
pub get_physical_device_properties2_khr: Option<PFN_vkGetPhysicalDeviceProperties2KHR>,
pub get_physical_device_format_properties2_khr: Option<PFN_vkGetPhysicalDeviceFormatProperties2KHR>,
pub get_physical_device_image_format_properties2_khr: Option<PFN_vkGetPhysicalDeviceImageFormatProperties2KHR>,
pub get_physical_device_queue_family_properties2_khr: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR>,
pub get_physical_device_memory_properties2_khr: Option<PFN_vkGetPhysicalDeviceMemoryProperties2KHR>,
pub get_physical_device_sparse_image_format_properties2_khr: Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR>,
pub get_physical_device_external_buffer_properties_khr: Option<PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR>,
pub get_physical_device_external_semaphore_properties_khr: Option<PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR>,
pub get_physical_device_external_fence_properties_khr: Option<PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR>,
pub enumerate_physical_device_groups_khr: Option<PFN_vkEnumeratePhysicalDeviceGroupsKHR>,
pub get_physical_device_tool_properties_ext: Option<PFN_vkGetPhysicalDeviceToolPropertiesEXT>,
/* private fields */
}
Expand description
Loader for instance commands.
This will consume lots of stack space, so consider putting it into
a heap pointer type such as Box
or Arc
.
To create a new loader, call InstanceLoader::new
.
Fields
handle: Instance
get_device_proc_addr: PFN_vkGetDeviceProcAddr
destroy_instance: Option<PFN_vkDestroyInstance>
enumerate_physical_devices: Option<PFN_vkEnumeratePhysicalDevices>
get_instance_proc_addr: Option<PFN_vkGetInstanceProcAddr>
get_physical_device_properties: Option<PFN_vkGetPhysicalDeviceProperties>
get_physical_device_queue_family_properties: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties>
get_physical_device_memory_properties: Option<PFN_vkGetPhysicalDeviceMemoryProperties>
get_physical_device_features: Option<PFN_vkGetPhysicalDeviceFeatures>
get_physical_device_format_properties: Option<PFN_vkGetPhysicalDeviceFormatProperties>
get_physical_device_image_format_properties: Option<PFN_vkGetPhysicalDeviceImageFormatProperties>
create_device: Option<PFN_vkCreateDevice>
enumerate_device_layer_properties: Option<PFN_vkEnumerateDeviceLayerProperties>
enumerate_device_extension_properties: Option<PFN_vkEnumerateDeviceExtensionProperties>
get_physical_device_sparse_image_format_properties: Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties>
create_android_surface_khr: Option<PFN_vkCreateAndroidSurfaceKHR>
get_physical_device_display_properties_khr: Option<PFN_vkGetPhysicalDeviceDisplayPropertiesKHR>
get_physical_device_display_plane_properties_khr: Option<PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR>
get_display_plane_supported_displays_khr: Option<PFN_vkGetDisplayPlaneSupportedDisplaysKHR>
get_display_mode_properties_khr: Option<PFN_vkGetDisplayModePropertiesKHR>
create_display_mode_khr: Option<PFN_vkCreateDisplayModeKHR>
get_display_plane_capabilities_khr: Option<PFN_vkGetDisplayPlaneCapabilitiesKHR>
create_display_plane_surface_khr: Option<PFN_vkCreateDisplayPlaneSurfaceKHR>
destroy_surface_khr: Option<PFN_vkDestroySurfaceKHR>
get_physical_device_surface_support_khr: Option<PFN_vkGetPhysicalDeviceSurfaceSupportKHR>
get_physical_device_surface_capabilities_khr: Option<PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR>
get_physical_device_surface_formats_khr: Option<PFN_vkGetPhysicalDeviceSurfaceFormatsKHR>
get_physical_device_surface_present_modes_khr: Option<PFN_vkGetPhysicalDeviceSurfacePresentModesKHR>
create_vi_surface_nn: Option<PFN_vkCreateViSurfaceNN>
create_wayland_surface_khr: Option<PFN_vkCreateWaylandSurfaceKHR>
get_physical_device_wayland_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR>
create_win32_surface_khr: Option<PFN_vkCreateWin32SurfaceKHR>
get_physical_device_win32_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR>
create_xlib_surface_khr: Option<PFN_vkCreateXlibSurfaceKHR>
get_physical_device_xlib_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR>
create_xcb_surface_khr: Option<PFN_vkCreateXcbSurfaceKHR>
get_physical_device_xcb_presentation_support_khr: Option<PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR>
create_direct_fb_surface_ext: Option<PFN_vkCreateDirectFBSurfaceEXT>
get_physical_device_direct_fb_presentation_support_ext: Option<PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT>
create_image_pipe_surface_fuchsia: Option<PFN_vkCreateImagePipeSurfaceFUCHSIA>
create_stream_descriptor_surface_ggp: Option<PFN_vkCreateStreamDescriptorSurfaceGGP>
create_screen_surface_qnx: Option<PFN_vkCreateScreenSurfaceQNX>
get_physical_device_screen_presentation_support_qnx: Option<PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX>
create_debug_report_callback_ext: Option<PFN_vkCreateDebugReportCallbackEXT>
destroy_debug_report_callback_ext: Option<PFN_vkDestroyDebugReportCallbackEXT>
debug_report_message_ext: Option<PFN_vkDebugReportMessageEXT>
get_physical_device_external_image_format_properties_nv: Option<PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV>
get_physical_device_features2: Option<PFN_vkGetPhysicalDeviceFeatures2>
get_physical_device_properties2: Option<PFN_vkGetPhysicalDeviceProperties2>
get_physical_device_format_properties2: Option<PFN_vkGetPhysicalDeviceFormatProperties2>
get_physical_device_image_format_properties2: Option<PFN_vkGetPhysicalDeviceImageFormatProperties2>
get_physical_device_queue_family_properties2: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties2>
get_physical_device_memory_properties2: Option<PFN_vkGetPhysicalDeviceMemoryProperties2>
get_physical_device_sparse_image_format_properties2: Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2>
get_physical_device_external_buffer_properties: Option<PFN_vkGetPhysicalDeviceExternalBufferProperties>
get_physical_device_external_semaphore_properties: Option<PFN_vkGetPhysicalDeviceExternalSemaphoreProperties>
get_physical_device_external_fence_properties: Option<PFN_vkGetPhysicalDeviceExternalFenceProperties>
release_display_ext: Option<PFN_vkReleaseDisplayEXT>
acquire_xlib_display_ext: Option<PFN_vkAcquireXlibDisplayEXT>
get_rand_r_output_display_ext: Option<PFN_vkGetRandROutputDisplayEXT>
acquire_winrt_display_nv: Option<PFN_vkAcquireWinrtDisplayNV>
get_winrt_display_nv: Option<PFN_vkGetWinrtDisplayNV>
get_physical_device_surface_capabilities2_ext: Option<PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT>
enumerate_physical_device_groups: Option<PFN_vkEnumeratePhysicalDeviceGroups>
get_physical_device_present_rectangles_khr: Option<PFN_vkGetPhysicalDevicePresentRectanglesKHR>
create_ios_surface_mvk: Option<PFN_vkCreateIOSSurfaceMVK>
create_mac_os_surface_mvk: Option<PFN_vkCreateMacOSSurfaceMVK>
create_metal_surface_ext: Option<PFN_vkCreateMetalSurfaceEXT>
get_physical_device_multisample_properties_ext: Option<PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT>
get_physical_device_surface_capabilities2_khr: Option<PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR>
get_physical_device_surface_formats2_khr: Option<PFN_vkGetPhysicalDeviceSurfaceFormats2KHR>
get_physical_device_display_properties2_khr: Option<PFN_vkGetPhysicalDeviceDisplayProperties2KHR>
get_physical_device_display_plane_properties2_khr: Option<PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR>
get_display_mode_properties2_khr: Option<PFN_vkGetDisplayModeProperties2KHR>
get_display_plane_capabilities2_khr: Option<PFN_vkGetDisplayPlaneCapabilities2KHR>
get_physical_device_calibrateable_time_domains_ext: Option<PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT>
create_debug_utils_messenger_ext: Option<PFN_vkCreateDebugUtilsMessengerEXT>
destroy_debug_utils_messenger_ext: Option<PFN_vkDestroyDebugUtilsMessengerEXT>
submit_debug_utils_message_ext: Option<PFN_vkSubmitDebugUtilsMessageEXT>
get_physical_device_cooperative_matrix_properties_nv: Option<PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV>
get_physical_device_surface_present_modes2_ext: Option<PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT>
enumerate_physical_device_queue_family_performance_query_counters_khr: Option<PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR>
get_physical_device_queue_family_performance_query_passes_khr: Option<PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR>
create_headless_surface_ext: Option<PFN_vkCreateHeadlessSurfaceEXT>
get_physical_device_supported_framebuffer_mixed_samples_combinations_nv: Option<PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV>
get_physical_device_tool_properties: Option<PFN_vkGetPhysicalDeviceToolProperties>
get_physical_device_fragment_shading_rates_khr: Option<PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR>
get_physical_device_video_capabilities_khr: Option<PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR>
get_physical_device_video_format_properties_khr: Option<PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR>
acquire_drm_display_ext: Option<PFN_vkAcquireDrmDisplayEXT>
get_drm_display_ext: Option<PFN_vkGetDrmDisplayEXT>
get_physical_device_features2_khr: Option<PFN_vkGetPhysicalDeviceFeatures2KHR>
get_physical_device_properties2_khr: Option<PFN_vkGetPhysicalDeviceProperties2KHR>
get_physical_device_format_properties2_khr: Option<PFN_vkGetPhysicalDeviceFormatProperties2KHR>
get_physical_device_image_format_properties2_khr: Option<PFN_vkGetPhysicalDeviceImageFormatProperties2KHR>
get_physical_device_queue_family_properties2_khr: Option<PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR>
get_physical_device_memory_properties2_khr: Option<PFN_vkGetPhysicalDeviceMemoryProperties2KHR>
get_physical_device_sparse_image_format_properties2_khr: Option<PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR>
get_physical_device_external_buffer_properties_khr: Option<PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR>
get_physical_device_external_semaphore_properties_khr: Option<PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR>
get_physical_device_external_fence_properties_khr: Option<PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR>
enumerate_physical_device_groups_khr: Option<PFN_vkEnumeratePhysicalDeviceGroupsKHR>
get_physical_device_tool_properties_ext: Option<PFN_vkGetPhysicalDeviceToolPropertiesEXT>
Implementations
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_acquire_drm_display
sourcepub unsafe fn acquire_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
display: DisplayKHR
) -> VulkanResult<()>
pub unsafe fn acquire_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
display: DisplayKHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
connector_id: u32
) -> VulkanResult<DisplayKHR>
pub unsafe fn get_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
connector_id: u32
) -> VulkanResult<DisplayKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_acquire_xlib_display
sourcepub unsafe fn acquire_xlib_display_ext(
&self,
physical_device: PhysicalDevice,
dpy: *mut c_void,
display: DisplayKHR
) -> VulkanResult<()>
pub unsafe fn acquire_xlib_display_ext(
&self,
physical_device: PhysicalDevice,
dpy: *mut c_void,
display: DisplayKHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_rand_r_output_display_ext(
&self,
physical_device: PhysicalDevice,
dpy: *mut c_void,
rr_output: u64
) -> VulkanResult<DisplayKHR>
pub unsafe fn get_rand_r_output_display_ext(
&self,
physical_device: PhysicalDevice,
dpy: *mut c_void,
rr_output: u64
) -> VulkanResult<DisplayKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_calibrated_timestamps
sourcepub unsafe fn get_physical_device_calibrateable_time_domains_ext(
&self,
physical_device: PhysicalDevice,
time_domain_count: Option<u32>
) -> VulkanResult<SmallVec<TimeDomainEXT>>
pub unsafe fn get_physical_device_calibrateable_time_domains_ext(
&self,
physical_device: PhysicalDevice,
time_domain_count: Option<u32>
) -> VulkanResult<SmallVec<TimeDomainEXT>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_debug_report
sourcepub unsafe fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<DebugReportCallbackEXT>
pub unsafe fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<DebugReportCallbackEXT>
Vulkan Manual Page · Function
sourcepub unsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>
)
pub unsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>
)
Vulkan Manual Page · Function
sourcepub unsafe fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: Option<&CStr>,
message: Option<&CStr>
)
pub unsafe fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: Option<&CStr>,
message: Option<&CStr>
)
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_debug_utils
sourcepub unsafe fn create_debug_utils_messenger_ext(
&self,
create_info: &DebugUtilsMessengerCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<DebugUtilsMessengerEXT>
pub unsafe fn create_debug_utils_messenger_ext(
&self,
create_info: &DebugUtilsMessengerCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<DebugUtilsMessengerEXT>
Vulkan Manual Page · Function
sourcepub unsafe fn destroy_debug_utils_messenger_ext(
&self,
messenger: DebugUtilsMessengerEXT,
allocator: Option<&AllocationCallbacks>
)
pub unsafe fn destroy_debug_utils_messenger_ext(
&self,
messenger: DebugUtilsMessengerEXT,
allocator: Option<&AllocationCallbacks>
)
Vulkan Manual Page · Function
sourcepub unsafe fn submit_debug_utils_message_ext(
&self,
message_severity: DebugUtilsMessageSeverityFlagBitsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
callback_data: &DebugUtilsMessengerCallbackDataEXT
)
pub unsafe fn submit_debug_utils_message_ext(
&self,
message_severity: DebugUtilsMessageSeverityFlagBitsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
callback_data: &DebugUtilsMessengerCallbackDataEXT
)
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_direct_mode_display
sourcepub unsafe fn release_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VulkanResult<()>
pub unsafe fn release_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_directfb_surface
sourcepub unsafe fn create_direct_fb_surface_ext(
&self,
create_info: &DirectFBSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_direct_fb_surface_ext(
&self,
create_info: &DirectFBSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_direct_fb_presentation_support_ext(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
dfb: *mut c_void
) -> bool
pub unsafe fn get_physical_device_direct_fb_presentation_support_ext(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
dfb: *mut c_void
) -> bool
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_display_surface_counter
sourcepub unsafe fn get_physical_device_surface_capabilities2_ext(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
surface_capabilities: &mut SurfaceCapabilities2EXT
) -> VulkanResult<()>
pub unsafe fn get_physical_device_surface_capabilities2_ext(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
surface_capabilities: &mut SurfaceCapabilities2EXT
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_full_screen_exclusive
sourcepub unsafe fn get_physical_device_surface_present_modes2_ext(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
present_mode_count: Option<u32>
) -> VulkanResult<SmallVec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_present_modes2_ext(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
present_mode_count: Option<u32>
) -> VulkanResult<SmallVec<PresentModeKHR>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_headless_surface
sourcepub unsafe fn create_headless_surface_ext(
&self,
create_info: &HeadlessSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_headless_surface_ext(
&self,
create_info: &HeadlessSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_metal_surface
sourcepub unsafe fn create_metal_surface_ext(
&self,
create_info: &MetalSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_metal_surface_ext(
&self,
create_info: &MetalSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_sample_locations
sourcepub unsafe fn get_physical_device_multisample_properties_ext(
&self,
physical_device: PhysicalDevice,
samples: SampleCountFlagBits,
multisample_properties: &mut MultisamplePropertiesEXT
)
pub unsafe fn get_physical_device_multisample_properties_ext(
&self,
physical_device: PhysicalDevice,
samples: SampleCountFlagBits,
multisample_properties: &mut MultisamplePropertiesEXT
)
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ext_tooling_info
sourcepub unsafe fn get_physical_device_tool_properties_ext(
&self,
physical_device: PhysicalDevice,
tool_count: Option<u32>,
tool_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceToolProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceToolProperties>>
pub unsafe fn get_physical_device_tool_properties_ext(
&self,
physical_device: PhysicalDevice,
tool_count: Option<u32>,
tool_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceToolProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceToolProperties>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::fuchsia_imagepipe_surface
sourcepub unsafe fn create_image_pipe_surface_fuchsia(
&self,
create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_image_pipe_surface_fuchsia(
&self,
create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::ggp_stream_descriptor_surface
sourcepub unsafe fn create_stream_descriptor_surface_ggp(
&self,
create_info: &StreamDescriptorSurfaceCreateInfoGGP,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_stream_descriptor_surface_ggp(
&self,
create_info: &StreamDescriptorSurfaceCreateInfoGGP,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_android_surface
sourcepub unsafe fn create_android_surface_khr(
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_android_surface_khr(
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_device_group_creation
sourcepub unsafe fn enumerate_physical_device_groups_khr(
&self,
physical_device_group_count: Option<u32>,
physical_device_group_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceGroupProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceGroupProperties>>
pub unsafe fn enumerate_physical_device_groups_khr(
&self,
physical_device_group_count: Option<u32>,
physical_device_group_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceGroupProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceGroupProperties>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_display
sourcepub unsafe fn get_physical_device_display_properties_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayPropertiesKHR>>
pub unsafe fn get_physical_device_display_properties_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayPropertiesKHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_display_plane_properties_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayPlanePropertiesKHR>>
pub unsafe fn get_physical_device_display_plane_properties_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayPlanePropertiesKHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_display_plane_supported_displays_khr(
&self,
physical_device: PhysicalDevice,
plane_index: u32,
display_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayKHR>>
pub unsafe fn get_display_plane_supported_displays_khr(
&self,
physical_device: PhysicalDevice,
plane_index: u32,
display_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayKHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_display_mode_properties_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
property_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayModePropertiesKHR>>
pub unsafe fn get_display_mode_properties_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
property_count: Option<u32>
) -> VulkanResult<SmallVec<DisplayModePropertiesKHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn create_display_mode_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<DisplayModeKHR>
pub unsafe fn create_display_mode_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<DisplayModeKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_display_plane_capabilities_khr(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32
) -> VulkanResult<DisplayPlaneCapabilitiesKHR>
pub unsafe fn get_display_plane_capabilities_khr(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32
) -> VulkanResult<DisplayPlaneCapabilitiesKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn create_display_plane_surface_khr(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_display_plane_surface_khr(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
sourcepub unsafe fn get_physical_device_external_fence_properties_khr(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo,
external_fence_properties: &mut ExternalFenceProperties
)
pub unsafe fn get_physical_device_external_fence_properties_khr(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo,
external_fence_properties: &mut ExternalFenceProperties
)
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
sourcepub unsafe fn get_physical_device_external_buffer_properties_khr(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo,
external_buffer_properties: &mut ExternalBufferProperties
)
pub unsafe fn get_physical_device_external_buffer_properties_khr(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo,
external_buffer_properties: &mut ExternalBufferProperties
)
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
sourcepub unsafe fn get_physical_device_external_semaphore_properties_khr(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
external_semaphore_properties: &mut ExternalSemaphoreProperties
)
pub unsafe fn get_physical_device_external_semaphore_properties_khr(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
external_semaphore_properties: &mut ExternalSemaphoreProperties
)
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_fragment_shading_rate
sourcepub unsafe fn get_physical_device_fragment_shading_rates_khr(
&self,
physical_device: PhysicalDevice,
fragment_shading_rate_count: Option<u32>,
fragment_shading_rates_callback: impl FnMut(&mut SmallVec<PhysicalDeviceFragmentShadingRateKHR>)
) -> VulkanResult<SmallVec<PhysicalDeviceFragmentShadingRateKHR>>
pub unsafe fn get_physical_device_fragment_shading_rates_khr(
&self,
physical_device: PhysicalDevice,
fragment_shading_rate_count: Option<u32>,
fragment_shading_rates_callback: impl FnMut(&mut SmallVec<PhysicalDeviceFragmentShadingRateKHR>)
) -> VulkanResult<SmallVec<PhysicalDeviceFragmentShadingRateKHR>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_get_display_properties2
sourcepub unsafe fn get_physical_device_display_properties2_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<DisplayProperties2KHR>)
) -> VulkanResult<SmallVec<DisplayProperties2KHR>>
pub unsafe fn get_physical_device_display_properties2_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<DisplayProperties2KHR>)
) -> VulkanResult<SmallVec<DisplayProperties2KHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_display_plane_properties2_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<DisplayPlaneProperties2KHR>)
) -> VulkanResult<SmallVec<DisplayPlaneProperties2KHR>>
pub unsafe fn get_physical_device_display_plane_properties2_khr(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<DisplayPlaneProperties2KHR>)
) -> VulkanResult<SmallVec<DisplayPlaneProperties2KHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_display_mode_properties2_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<DisplayModeProperties2KHR>)
) -> VulkanResult<SmallVec<DisplayModeProperties2KHR>>
pub unsafe fn get_display_mode_properties2_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<DisplayModeProperties2KHR>)
) -> VulkanResult<SmallVec<DisplayModeProperties2KHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_display_plane_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
display_plane_info: &DisplayPlaneInfo2KHR,
capabilities: &mut DisplayPlaneCapabilities2KHR
) -> VulkanResult<()>
pub unsafe fn get_display_plane_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
display_plane_info: &DisplayPlaneInfo2KHR,
capabilities: &mut DisplayPlaneCapabilities2KHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
sourcepub unsafe fn get_physical_device_features2_khr(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
pub unsafe fn get_physical_device_features2_khr(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_properties2_khr(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
pub unsafe fn get_physical_device_properties2_khr(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
pub unsafe fn get_physical_device_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VulkanResult<()>
pub unsafe fn get_physical_device_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_queue_family_properties2_khr(
&self,
physical_device: PhysicalDevice,
queue_family_property_count: Option<u32>,
queue_family_properties_callback: impl FnMut(&mut SmallVec<QueueFamilyProperties2>)
) -> SmallVec<QueueFamilyProperties2>
pub unsafe fn get_physical_device_queue_family_properties2_khr(
&self,
physical_device: PhysicalDevice,
queue_family_property_count: Option<u32>,
queue_family_properties_callback: impl FnMut(&mut SmallVec<QueueFamilyProperties2>)
) -> SmallVec<QueueFamilyProperties2>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_memory_properties2_khr(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
pub unsafe fn get_physical_device_memory_properties2_khr(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_sparse_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<SparseImageFormatProperties2>)
) -> SmallVec<SparseImageFormatProperties2>
pub unsafe fn get_physical_device_sparse_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<SparseImageFormatProperties2>)
) -> SmallVec<SparseImageFormatProperties2>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_get_surface_capabilities2
sourcepub unsafe fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
surface_capabilities: &mut SurfaceCapabilities2KHR
) -> VulkanResult<()>
pub unsafe fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
surface_capabilities: &mut SurfaceCapabilities2KHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_surface_formats2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
surface_format_count: Option<u32>,
surface_formats_callback: impl FnMut(&mut SmallVec<SurfaceFormat2KHR>)
) -> VulkanResult<SmallVec<SurfaceFormat2KHR>>
pub unsafe fn get_physical_device_surface_formats2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
surface_format_count: Option<u32>,
surface_formats_callback: impl FnMut(&mut SmallVec<SurfaceFormat2KHR>)
) -> VulkanResult<SmallVec<SurfaceFormat2KHR>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_performance_query
sourcepub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
counter_count: Option<u32>,
counters_callback: impl FnMut(&mut SmallVec<PerformanceCounterKHR>),
counter_descriptions_callback: impl FnMut(&mut SmallVec<PerformanceCounterDescriptionKHR>)
) -> VulkanResult<(SmallVec<PerformanceCounterKHR>, SmallVec<PerformanceCounterDescriptionKHR>)>
pub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
counter_count: Option<u32>,
counters_callback: impl FnMut(&mut SmallVec<PerformanceCounterKHR>),
counter_descriptions_callback: impl FnMut(&mut SmallVec<PerformanceCounterDescriptionKHR>)
) -> VulkanResult<(SmallVec<PerformanceCounterKHR>, SmallVec<PerformanceCounterDescriptionKHR>)>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
&self,
physical_device: PhysicalDevice,
performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR
) -> u32
pub unsafe fn get_physical_device_queue_family_performance_query_passes_khr(
&self,
physical_device: PhysicalDevice,
performance_query_create_info: &QueryPoolPerformanceCreateInfoKHR
) -> u32
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_surface
sourcepub unsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
pub unsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VulkanResult<bool>
pub unsafe fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VulkanResult<bool>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VulkanResult<SurfaceCapabilitiesKHR>
pub unsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VulkanResult<SurfaceCapabilitiesKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
surface_format_count: Option<u32>
) -> VulkanResult<SmallVec<SurfaceFormatKHR>>
pub unsafe fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
surface_format_count: Option<u32>
) -> VulkanResult<SmallVec<SurfaceFormatKHR>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
present_mode_count: Option<u32>
) -> VulkanResult<SmallVec<PresentModeKHR>>
pub unsafe fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
present_mode_count: Option<u32>
) -> VulkanResult<SmallVec<PresentModeKHR>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_swapchain
sourcepub unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
rect_count: Option<u32>
) -> VulkanResult<SmallVec<Rect2D>>
pub unsafe fn get_physical_device_present_rectangles_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
rect_count: Option<u32>
) -> VulkanResult<SmallVec<Rect2D>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_video_queue
sourcepub unsafe fn get_physical_device_video_capabilities_khr(
&self,
physical_device: PhysicalDevice,
video_profile: &VideoProfileKHR,
capabilities: &mut VideoCapabilitiesKHR
) -> VulkanResult<()>
pub unsafe fn get_physical_device_video_capabilities_khr(
&self,
physical_device: PhysicalDevice,
video_profile: &VideoProfileKHR,
capabilities: &mut VideoCapabilitiesKHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_video_format_properties_khr(
&self,
physical_device: PhysicalDevice,
video_format_info: &PhysicalDeviceVideoFormatInfoKHR,
video_format_property_count: Option<u32>,
video_format_properties_callback: impl FnMut(&mut SmallVec<VideoFormatPropertiesKHR>)
) -> VulkanResult<SmallVec<VideoFormatPropertiesKHR>>
pub unsafe fn get_physical_device_video_format_properties_khr(
&self,
physical_device: PhysicalDevice,
video_format_info: &PhysicalDeviceVideoFormatInfoKHR,
video_format_property_count: Option<u32>,
video_format_properties_callback: impl FnMut(&mut SmallVec<VideoFormatPropertiesKHR>)
) -> VulkanResult<SmallVec<VideoFormatPropertiesKHR>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_wayland_surface
sourcepub unsafe fn create_wayland_surface_khr(
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_wayland_surface_khr(
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_wayland_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut c_void
) -> bool
pub unsafe fn get_physical_device_wayland_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut c_void
) -> bool
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_win32_surface
sourcepub unsafe fn create_win32_surface_khr(
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_win32_surface_khr(
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> bool
pub unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> bool
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_xcb_surface
sourcepub unsafe fn create_xcb_surface_khr(
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_xcb_surface_khr(
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_xcb_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
connection: *mut c_void,
visual_id: u32
) -> bool
pub unsafe fn get_physical_device_xcb_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
connection: *mut c_void,
visual_id: u32
) -> bool
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::khr_xlib_surface
sourcepub unsafe fn create_xlib_surface_khr(
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_xlib_surface_khr(
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_xlib_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
dpy: *mut c_void,
visual_id: u64
) -> bool
pub unsafe fn get_physical_device_xlib_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
dpy: *mut c_void,
visual_id: u64
) -> bool
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::mvk_ios_surface
sourcepub unsafe fn create_ios_surface_mvk(
&self,
create_info: &IOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_ios_surface_mvk(
&self,
create_info: &IOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::mvk_macos_surface
sourcepub unsafe fn create_mac_os_surface_mvk(
&self,
create_info: &MacOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_mac_os_surface_mvk(
&self,
create_info: &MacOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::nn_vi_surface
sourcepub unsafe fn create_vi_surface_nn(
&self,
create_info: &ViSurfaceCreateInfoNN,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_vi_surface_nn(
&self,
create_info: &ViSurfaceCreateInfoNN,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::nv_acquire_winrt_display
sourcepub unsafe fn acquire_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VulkanResult<()>
pub unsafe fn acquire_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
device_relative_id: u32
) -> VulkanResult<DisplayKHR>
pub unsafe fn get_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
device_relative_id: u32
) -> VulkanResult<DisplayKHR>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::nv_cooperative_matrix
sourcepub unsafe fn get_physical_device_cooperative_matrix_properties_nv(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<CooperativeMatrixPropertiesNV>)
) -> VulkanResult<SmallVec<CooperativeMatrixPropertiesNV>>
pub unsafe fn get_physical_device_cooperative_matrix_properties_nv(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<CooperativeMatrixPropertiesNV>)
) -> VulkanResult<SmallVec<CooperativeMatrixPropertiesNV>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::nv_coverage_reduction_mode
sourcepub unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv(
&self,
physical_device: PhysicalDevice,
combination_count: Option<u32>,
combinations_callback: impl FnMut(&mut SmallVec<FramebufferMixedSamplesCombinationNV>)
) -> VulkanResult<SmallVec<FramebufferMixedSamplesCombinationNV>>
pub unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv(
&self,
physical_device: PhysicalDevice,
combination_count: Option<u32>,
combinations_callback: impl FnMut(&mut SmallVec<FramebufferMixedSamplesCombinationNV>)
) -> VulkanResult<SmallVec<FramebufferMixedSamplesCombinationNV>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
sourcepub unsafe fn get_physical_device_external_image_format_properties_nv(
&self,
physical_device: PhysicalDevice,
format: Format,
_type: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
external_handle_type: ExternalMemoryHandleTypeFlagsNV
) -> VulkanResult<ExternalImageFormatPropertiesNV>
pub unsafe fn get_physical_device_external_image_format_properties_nv(
&self,
physical_device: PhysicalDevice,
format: Format,
_type: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
external_handle_type: ExternalMemoryHandleTypeFlagsNV
) -> VulkanResult<ExternalImageFormatPropertiesNV>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::extensions::qnx_screen_surface
sourcepub unsafe fn create_screen_surface_qnx(
&self,
create_info: &ScreenSurfaceCreateInfoQNX,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
pub unsafe fn create_screen_surface_qnx(
&self,
create_info: &ScreenSurfaceCreateInfoQNX,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<SurfaceKHR>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_screen_presentation_support_qnx(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
window: *mut c_void
) -> bool
pub unsafe fn get_physical_device_screen_presentation_support_qnx(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
window: *mut c_void
) -> bool
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::vk1_0
sourcepub unsafe fn destroy_instance(&self, allocator: Option<&AllocationCallbacks>)
pub unsafe fn destroy_instance(&self, allocator: Option<&AllocationCallbacks>)
Vulkan Manual Page · Function
sourcepub unsafe fn enumerate_physical_devices(
&self,
physical_device_count: Option<u32>
) -> VulkanResult<SmallVec<PhysicalDevice>>
pub unsafe fn enumerate_physical_devices(
&self,
physical_device_count: Option<u32>
) -> VulkanResult<SmallVec<PhysicalDevice>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_instance_proc_addr(
&self,
name: Option<&CStr>
) -> Option<PFN_vkVoidFunction>
pub unsafe fn get_instance_proc_addr(
&self,
name: Option<&CStr>
) -> Option<PFN_vkVoidFunction>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
pub unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice,
queue_family_property_count: Option<u32>
) -> SmallVec<QueueFamilyProperties>
pub unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice,
queue_family_property_count: Option<u32>
) -> SmallVec<QueueFamilyProperties>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
pub unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
pub unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
pub unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
_type: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VulkanResult<ImageFormatProperties>
pub unsafe fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
_type: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VulkanResult<ImageFormatProperties>
Vulkan Manual Page · Function
sourcepub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<Device>
pub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VulkanResult<Device>
Vulkan Manual Page · Function
sourcepub unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>
) -> VulkanResult<SmallVec<LayerProperties>>
pub unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice,
property_count: Option<u32>
) -> VulkanResult<SmallVec<LayerProperties>>
Vulkan Manual Page · Function
sourcepub unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
layer_name: Option<&CStr>,
property_count: Option<u32>
) -> VulkanResult<SmallVec<ExtensionProperties>>
pub unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
layer_name: Option<&CStr>,
property_count: Option<u32>
) -> VulkanResult<SmallVec<ExtensionProperties>>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
_type: ImageType,
samples: SampleCountFlagBits,
usage: ImageUsageFlags,
tiling: ImageTiling,
property_count: Option<u32>
) -> SmallVec<SparseImageFormatProperties>
pub unsafe fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
_type: ImageType,
samples: SampleCountFlagBits,
usage: ImageUsageFlags,
tiling: ImageTiling,
property_count: Option<u32>
) -> SmallVec<SparseImageFormatProperties>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::vk1_1
sourcepub unsafe fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
pub unsafe fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
pub unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
pub unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VulkanResult<()>
pub unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VulkanResult<()>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice,
queue_family_property_count: Option<u32>,
queue_family_properties_callback: impl FnMut(&mut SmallVec<QueueFamilyProperties2>)
) -> SmallVec<QueueFamilyProperties2>
pub unsafe fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice,
queue_family_property_count: Option<u32>,
queue_family_properties_callback: impl FnMut(&mut SmallVec<QueueFamilyProperties2>)
) -> SmallVec<QueueFamilyProperties2>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
pub unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<SparseImageFormatProperties2>)
) -> SmallVec<SparseImageFormatProperties2>
pub unsafe fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2,
property_count: Option<u32>,
properties_callback: impl FnMut(&mut SmallVec<SparseImageFormatProperties2>)
) -> SmallVec<SparseImageFormatProperties2>
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo,
external_buffer_properties: &mut ExternalBufferProperties
)
pub unsafe fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo,
external_buffer_properties: &mut ExternalBufferProperties
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
external_semaphore_properties: &mut ExternalSemaphoreProperties
)
pub unsafe fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo,
external_semaphore_properties: &mut ExternalSemaphoreProperties
)
Vulkan Manual Page · Function
sourcepub unsafe fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo,
external_fence_properties: &mut ExternalFenceProperties
)
pub unsafe fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo,
external_fence_properties: &mut ExternalFenceProperties
)
Vulkan Manual Page · Function
sourcepub unsafe fn enumerate_physical_device_groups(
&self,
physical_device_group_count: Option<u32>,
physical_device_group_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceGroupProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceGroupProperties>>
pub unsafe fn enumerate_physical_device_groups(
&self,
physical_device_group_count: Option<u32>,
physical_device_group_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceGroupProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceGroupProperties>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
Provided by crate::vk1_3
sourcepub unsafe fn get_physical_device_tool_properties(
&self,
physical_device: PhysicalDevice,
tool_count: Option<u32>,
tool_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceToolProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceToolProperties>>
pub unsafe fn get_physical_device_tool_properties(
&self,
physical_device: PhysicalDevice,
tool_count: Option<u32>,
tool_properties_callback: impl FnMut(&mut SmallVec<PhysicalDeviceToolProperties>)
) -> VulkanResult<SmallVec<PhysicalDeviceToolProperties>>
Vulkan Manual Page · Function
sourceimpl InstanceLoader
impl InstanceLoader
sourcepub unsafe fn new<T>(
entry_loader: &CustomEntryLoader<T>,
create_info: &InstanceCreateInfo
) -> Result<InstanceLoader, LoaderError>
pub unsafe fn new<T>(
entry_loader: &CustomEntryLoader<T>,
create_info: &InstanceCreateInfo
) -> Result<InstanceLoader, LoaderError>
Creates a new instance loader.
For more advanced use cases, take a look at InstanceLoaderBuilder
.
sourcepub fn enabled(&self) -> &InstanceEnabled
pub fn enabled(&self) -> &InstanceEnabled
Access enabled requirements of this instance loader.