Struct vulkanalia::Instance [−][src]
pub struct Instance { /* fields omitted */ }
Expand description
A Vulkan instance.
Implementations
Gets the loaded extensions for this Vulkan instance.
Gets the loaded layers for this Vulkan instance.
pub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
pub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
Creates a Vulkan device using this Vulkan instance.
Safety
The Loader::load
method will be called on the supplied Loader
implementation to load the device commands so the safety requirements of
Loader::load
for the Loader
implementation used must be upheld.
Trait Implementations
unsafe fn acquire_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
display: DisplayKHR
) -> VkResult<()>
unsafe fn acquire_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
display: DisplayKHR
) -> VkResult<()>
unsafe fn get_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
connector_id: u32
) -> VkResult<DisplayKHR>
unsafe fn get_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
connector_id: u32
) -> VkResult<DisplayKHR>
unsafe fn acquire_xlib_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Display>
unsafe fn acquire_xlib_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Display>
unsafe fn get_rand_r_output_display_ext(
&self,
physical_device: PhysicalDevice,
rr_output: RROutput
) -> VkResult<(Display, DisplayKHR)>
unsafe fn get_rand_r_output_display_ext(
&self,
physical_device: PhysicalDevice,
rr_output: RROutput
) -> VkResult<(Display, DisplayKHR)>
deprecated in favor of VK_EXT_debug_utils
The metadata for this extension.
unsafe fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugReportCallbackEXT>
unsafe fn create_debug_report_callback_ext(
&self,
create_info: &DebugReportCallbackCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugReportCallbackEXT>
deprecated in favor of VK_EXT_debug_utils
unsafe fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: &[u8],
message: &[u8]
)
unsafe fn debug_report_message_ext(
&self,
flags: DebugReportFlagsEXT,
object_type: DebugReportObjectTypeEXT,
object: u64,
location: usize,
message_code: i32,
layer_prefix: &[u8],
message: &[u8]
)
deprecated in favor of VK_EXT_debug_utils
unsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
allocator: Option<&AllocationCallbacks>
)
deprecated in favor of VK_EXT_debug_utils
unsafe fn cmd_begin_debug_utils_label_ext(
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
unsafe fn cmd_begin_debug_utils_label_ext(
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
unsafe fn cmd_insert_debug_utils_label_ext(
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
unsafe fn cmd_insert_debug_utils_label_ext(
&self,
command_buffer: CommandBuffer,
label_info: &DebugUtilsLabelEXT
)
unsafe fn create_debug_utils_messenger_ext(
&self,
create_info: &DebugUtilsMessengerCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugUtilsMessengerEXT>
unsafe fn create_debug_utils_messenger_ext(
&self,
create_info: &DebugUtilsMessengerCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DebugUtilsMessengerEXT>
unsafe fn destroy_debug_utils_messenger_ext(
&self,
messenger: DebugUtilsMessengerEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_debug_utils_messenger_ext(
&self,
messenger: DebugUtilsMessengerEXT,
allocator: Option<&AllocationCallbacks>
)
unsafe fn queue_begin_debug_utils_label_ext(
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
unsafe fn queue_begin_debug_utils_label_ext(
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
unsafe fn queue_insert_debug_utils_label_ext(
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
unsafe fn queue_insert_debug_utils_label_ext(
&self,
queue: Queue,
label_info: &DebugUtilsLabelEXT
)
unsafe fn set_debug_utils_object_name_ext(
&self,
device: Device,
name_info: &DebugUtilsObjectNameInfoEXT
) -> VkResult<()>
unsafe fn set_debug_utils_object_name_ext(
&self,
device: Device,
name_info: &DebugUtilsObjectNameInfoEXT
) -> VkResult<()>
unsafe fn set_debug_utils_object_tag_ext(
&self,
device: Device,
tag_info: &DebugUtilsObjectTagInfoEXT
) -> VkResult<()>
unsafe fn set_debug_utils_object_tag_ext(
&self,
device: Device,
tag_info: &DebugUtilsObjectTagInfoEXT
) -> VkResult<()>
unsafe fn submit_debug_utils_message_ext(
&self,
message_severity: DebugUtilsMessageSeverityFlagsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
callback_data: &DebugUtilsMessengerCallbackDataEXT
)
unsafe fn submit_debug_utils_message_ext(
&self,
message_severity: DebugUtilsMessageSeverityFlagsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
callback_data: &DebugUtilsMessengerCallbackDataEXT
)
unsafe fn release_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<()>
unsafe fn release_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<()>
unsafe fn create_direct_fb_surface_ext(
&self,
create_info: &DirectFBSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_direct_fb_surface_ext(
&self,
create_info: &DirectFBSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_physical_device_direct_fb_presentation_support_ext<T_IDirectFB>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_IDirectFB
unsafe fn get_physical_device_direct_fb_presentation_support_ext<T_IDirectFB>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_IDirectFB
unsafe fn create_headless_surface_ext(
&self,
create_info: &HeadlessSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_headless_surface_ext(
&self,
create_info: &HeadlessSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_metal_surface_ext(
&self,
create_info: &MetalSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_metal_surface_ext(
&self,
create_info: &MetalSurfaceCreateInfoEXT,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_image_pipe_surface_fuchsia(
&self,
create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_image_pipe_surface_fuchsia(
&self,
create_info: &ImagePipeSurfaceCreateInfoFUCHSIA,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo,
allocator: Option<&AllocationCallbacks>
) -> VkResult<Device>
unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
layer_name: Option<&[u8]>
) -> VkResult<Vec<ExtensionProperties>>
unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
layer_name: Option<&[u8]>
) -> VkResult<Vec<ExtensionProperties>>
unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<LayerProperties>>
unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<LayerProperties>>
unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceFeatures
unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format
) -> FormatProperties
unsafe fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VkResult<ImageFormatProperties>
unsafe fn get_physical_device_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags
) -> VkResult<ImageFormatProperties>
unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceMemoryProperties
unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice
) -> PhysicalDeviceProperties
unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties>
unsafe fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
samples: SampleCountFlags,
usage: ImageUsageFlags,
tiling: ImageTiling
) -> Vec<SparseImageFormatProperties>
unsafe fn get_physical_device_sparse_image_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
type_: ImageType,
samples: SampleCountFlags,
usage: ImageUsageFlags,
tiling: ImageTiling
) -> Vec<SparseImageFormatProperties>
unsafe fn enumerate_physical_device_groups(
&self
) -> VkResult<Vec<PhysicalDeviceGroupProperties>>
unsafe fn enumerate_physical_device_groups(
&self
) -> VkResult<Vec<PhysicalDeviceGroupProperties>>
unsafe fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
unsafe fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
unsafe fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
unsafe fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
unsafe fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
unsafe fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
unsafe fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
unsafe fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VkResult<()>
unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VkResult<()>
unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
unsafe fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
unsafe fn get_physical_device_queue_family_properties2(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
unsafe fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
unsafe fn get_physical_device_sparse_image_format_properties2(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
unsafe fn create_android_surface_khr(
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_android_surface_khr(
&self,
create_info: &AndroidSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_display_mode_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DisplayModeKHR>
unsafe fn create_display_mode_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
create_info: &DisplayModeCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<DisplayModeKHR>
unsafe fn create_display_plane_surface_khr(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_display_plane_surface_khr(
&self,
create_info: &DisplaySurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_display_mode_properties_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModePropertiesKHR>>
unsafe fn get_display_mode_properties_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModePropertiesKHR>>
unsafe fn get_display_plane_capabilities_khr(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32
) -> VkResult<DisplayPlaneCapabilitiesKHR>
unsafe fn get_display_plane_capabilities_khr(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32
) -> VkResult<DisplayPlaneCapabilitiesKHR>
unsafe fn get_display_plane_supported_displays_khr(
&self,
physical_device: PhysicalDevice,
plane_index: u32
) -> VkResult<Vec<DisplayKHR>>
unsafe fn get_display_plane_supported_displays_khr(
&self,
physical_device: PhysicalDevice,
plane_index: u32
) -> VkResult<Vec<DisplayKHR>>
unsafe fn get_physical_device_display_plane_properties_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
unsafe fn get_physical_device_display_plane_properties_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlanePropertiesKHR>>
unsafe fn get_physical_device_external_fence_properties_khr(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
unsafe fn get_physical_device_external_fence_properties_khr(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo
) -> ExternalFenceProperties
unsafe fn get_physical_device_external_buffer_properties_khr(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
unsafe fn get_physical_device_external_buffer_properties_khr(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo
) -> ExternalBufferProperties
unsafe fn get_physical_device_external_semaphore_properties_khr(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
unsafe fn get_physical_device_external_semaphore_properties_khr(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo
) -> ExternalSemaphoreProperties
unsafe fn get_display_mode_properties2_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModeProperties2KHR>>
unsafe fn get_display_mode_properties2_khr(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR
) -> VkResult<Vec<DisplayModeProperties2KHR>>
unsafe fn get_display_plane_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
display_plane_info: &DisplayPlaneInfo2KHR
) -> VkResult<DisplayPlaneCapabilities2KHR>
unsafe fn get_display_plane_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
display_plane_info: &DisplayPlaneInfo2KHR
) -> VkResult<DisplayPlaneCapabilities2KHR>
unsafe fn get_physical_device_display_plane_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlaneProperties2KHR>>
unsafe fn get_physical_device_display_plane_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> VkResult<Vec<DisplayPlaneProperties2KHR>>
unsafe fn get_physical_device_features2_khr(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
unsafe fn get_physical_device_features2_khr(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2
)
unsafe fn get_physical_device_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
unsafe fn get_physical_device_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2
)
unsafe fn get_physical_device_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VkResult<()>
unsafe fn get_physical_device_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2,
image_format_properties: &mut ImageFormatProperties2
) -> VkResult<()>
unsafe fn get_physical_device_memory_properties2_khr(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
unsafe fn get_physical_device_memory_properties2_khr(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2
)
unsafe fn get_physical_device_properties2_khr(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
unsafe fn get_physical_device_properties2_khr(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2
)
unsafe fn get_physical_device_queue_family_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
unsafe fn get_physical_device_queue_family_properties2_khr(
&self,
physical_device: PhysicalDevice
) -> Vec<QueueFamilyProperties2>
unsafe fn get_physical_device_sparse_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
unsafe fn get_physical_device_sparse_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format_info: &PhysicalDeviceSparseImageFormatInfo2
) -> Vec<SparseImageFormatProperties2>
unsafe fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
surface_capabilities: &mut SurfaceCapabilities2KHR
) -> VkResult<()>
unsafe fn get_physical_device_surface_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR,
surface_capabilities: &mut SurfaceCapabilities2KHR
) -> VkResult<()>
unsafe fn get_physical_device_surface_formats2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<SurfaceFormat2KHR>>
unsafe fn get_physical_device_surface_formats2_khr(
&self,
physical_device: PhysicalDevice,
surface_info: &PhysicalDeviceSurfaceInfo2KHR
) -> VkResult<Vec<SurfaceFormat2KHR>>
unsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
allocator: Option<&AllocationCallbacks>
)
unsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
unsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<SurfaceCapabilitiesKHR>
unsafe fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
unsafe fn get_physical_device_surface_formats_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<SurfaceFormatKHR>>
unsafe fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
unsafe fn get_physical_device_surface_present_modes_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR
) -> VkResult<Vec<PresentModeKHR>>
unsafe fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VkResult<bool>
unsafe fn get_physical_device_surface_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
surface: SurfaceKHR
) -> VkResult<bool>
unsafe fn create_wayland_surface_khr(
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_wayland_surface_khr(
&self,
create_info: &WaylandSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_physical_device_wayland_presentation_support_khr<T_wl_display>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_wl_display
unsafe fn get_physical_device_wayland_presentation_support_khr<T_wl_display>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> T_wl_display
unsafe fn create_win32_surface_khr(
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_win32_surface_khr(
&self,
create_info: &Win32SurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
)
unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
)
unsafe fn create_xcb_surface_khr(
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_xcb_surface_khr(
&self,
create_info: &XcbSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_physical_device_xcb_presentation_support_khr<T_xcb_connection_t>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: xcb_visualid_t
) -> T_xcb_connection_t
unsafe fn get_physical_device_xcb_presentation_support_khr<T_xcb_connection_t>(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: xcb_visualid_t
) -> T_xcb_connection_t
unsafe fn create_xlib_surface_khr(
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_xlib_surface_khr(
&self,
create_info: &XlibSurfaceCreateInfoKHR,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_physical_device_xlib_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: VisualID
) -> Display
unsafe fn get_physical_device_xlib_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
visual_id: VisualID
) -> Display
deprecated in favor of VK_EXT_metal_surface
The metadata for this extension.
unsafe fn create_ios_surface_mvk(
&self,
create_info: &IOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_ios_surface_mvk(
&self,
create_info: &IOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
deprecated in favor of VK_EXT_metal_surface
deprecated in favor of VK_EXT_metal_surface
The metadata for this extension.
unsafe fn create_mac_os_surface_mvk(
&self,
create_info: &MacOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_mac_os_surface_mvk(
&self,
create_info: &MacOSSurfaceCreateInfoMVK,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
deprecated in favor of VK_EXT_metal_surface
unsafe fn create_vi_surface_nn(
&self,
create_info: &ViSurfaceCreateInfoNN,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_vi_surface_nn(
&self,
create_info: &ViSurfaceCreateInfoNN,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
deprecated in favor of VK_KHR_external_memory_capabilities
The metadata for this extension.
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
) -> VkResult<ExternalImageFormatPropertiesNV>
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
) -> VkResult<ExternalImageFormatPropertiesNV>
deprecated in favor of VK_KHR_external_memory_capabilities
unsafe fn create_screen_surface_qnx(
&self,
create_info: &ScreenSurfaceCreateInfoQNX,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn create_screen_surface_qnx(
&self,
create_info: &ScreenSurfaceCreateInfoQNX,
allocator: Option<&AllocationCallbacks>
) -> VkResult<SurfaceKHR>
unsafe fn get_physical_device_screen_presentation_support_qnx(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> _screen_window
unsafe fn get_physical_device_screen_presentation_support_qnx(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32
) -> _screen_window
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more