Skip to main content

Instance

Struct Instance 

Source
pub struct Instance { /* private fields */ }
Expand description

Instance handle and dispatch. Call destroy explicitly; Drop never destroys Vulkan objects.

Implementations§

Source§

impl Instance

Source

pub unsafe fn create_device( &self, physical_device: PhysicalDevice, create_info: &DeviceCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Device, CallError>

Create a logical device through this instance’s cached dispatch.

§Safety

Device create info and callbacks must satisfy Vulkan valid usage and remain live as required.

Source§

impl Instance

Source

pub unsafe fn new_from_handle( entry: &Entry, handle: InstanceHandle, ) -> Result<Self, LoadError>

Associate a live raw instance with the entry that created it.

§Safety

handle must be live and belong to entry. The caller transfers the responsibility to destroy it once and must not create duplicate owners. Ownership remains with the caller on error. Creation metadata is unknown on this import path; command admission remains the caller’s obligation.

Source

pub unsafe fn new_from_handle_with_capabilities( entry: &Entry, handle: InstanceHandle, capabilities: Capabilities, ) -> Result<Self, LoadError>

Import a native instance with an owned creation snapshot and filtered dispatch.

§Errors

Reports wrong snapshot scope, a null handle or unavailable destruction. Every error leaves native ownership with the caller.

§Safety

The handle must be live, belong to entry and have no other wrapper owner. Capabilities must truthfully describe this exact instance’s creation and implementation. Caller retains parent/callback lifetime obligations.

Source

pub fn handle(&self) -> InstanceHandle

Return the raw handle. Its use must respect this instance’s lifetime.

Source

pub fn fp(&self) -> &FnInstance

Borrow the full instance dispatch table.

Source

pub fn capabilities(&self) -> Option<&Capabilities>

Creation version/extension provenance, or None for an imported raw handle.

Source

pub unsafe fn destroy(self, allocator: Option<&AllocationCallbacks>)

Destroy once, using callbacks compatible with instance creation.

§Safety

All children and outstanding instance operations must be complete. The allocator must match creation, with its user data and functions still live.

Source§

impl Instance

Source

pub unsafe fn new( entry: &Entry, create_info: &InstanceCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Self, CallError>

Create an instance using cached entry dispatch.

§Safety

The create info and allocator must satisfy Vulkan instance creation and destruction requirements.

Source§

impl Instance

Source

pub unsafe fn get_instance_proc_addr(&self, name: &CStr) -> PFN_vkVoidFunction

Resolve an instance command using this instance’s retained loader.

§Safety

Cast to the command’s exact ABI, obey its enabled-version/extension requirements and keep the instance and native library alive during use.

Source§

impl Instance

Source

pub unsafe fn enumerate_physical_devices( &self, ) -> Result<Vec<PhysicalDevice>, CallError>

Enumerate physical devices available to this instance.

§Safety

The instance must be live and not destroyed.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_properties( &self, physical_device: PhysicalDevice, ) -> Result<PhysicalDeviceProperties, CallError>

Query properties of a physical device (name, driver version, limits, …).

§Safety

The instance must be live and physical_device must belong to it.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_features( &self, physical_device: PhysicalDevice, ) -> Result<PhysicalDeviceFeatures, CallError>

Query the optional features supported by a physical device.

§Safety

The instance must be live and physical_device must belong to it.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_properties( &self, physical_device: PhysicalDevice, ) -> Result<Vec<QueueFamilyProperties>, CallError>

Enumerate queue families and their properties for a physical device.

§Safety

The instance must be live and physical_device must belong to it.

Source§

impl Instance

Source

pub unsafe fn enumerate_device_extension_properties( &self, physical_device: PhysicalDevice, layer_name: Option<&CStr>, ) -> Result<Vec<ExtensionProperties>, CallError>

Enumerate extensions supported by a physical device (optionally filtered by layer).

Pass layer_name = None to query all extensions from the ICD.

§Safety

The instance must be live and physical_device must belong to it.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_memory_properties( &self, physical_device: PhysicalDevice, ) -> Result<PhysicalDeviceMemoryProperties, CallError>

Query the memory heaps and memory types available to a physical device.

§Safety

The instance must be live and physical_device must belong to it.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_format_properties( &self, physical_device: PhysicalDevice, format: Format, format_properties: &mut FormatProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceFormatProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceFormatProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_image_format_properties( &self, physical_device: PhysicalDevice, format: Format, type: ImageType, tiling: ImageTiling, usage: ImageUsageFlags, flags: ImageCreateFlags, image_format_properties: &mut ImageFormatProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceImageFormatProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceImageFormatProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn enumerate_device_layer_properties( &self, physical_device: PhysicalDevice, ) -> Result<Vec<LayerProperties>, CallError>

Call vkEnumerateDeviceLayerProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkEnumerateDeviceLayerProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Retries incomplete/growing results with a bounded budget; returns an error if the query does not stabilize. Allocates the returned vector.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_sparse_image_format_properties( &self, physical_device: PhysicalDevice, format: Format, type: ImageType, samples: SampleCountFlagBits, usage: ImageUsageFlags, tiling: ImageTiling, ) -> Result<Vec<SparseImageFormatProperties>, CallError>

Call vkGetPhysicalDeviceSparseImageFormatProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSparseImageFormatProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Retries incomplete/growing results with a bounded budget; returns an error if the query does not stabilize. Allocates the returned vector.

Source§

impl Instance

Source

pub unsafe fn create_android_surface_khr( &self, p_create_info: *const AndroidSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateAndroidSurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateAndroidSurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_surface_ohos( &self, p_create_info: *const SurfaceCreateInfoOHOS, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateSurfaceOHOS using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateSurfaceOHOS valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_display_properties_khr( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPropertiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceDisplayPropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceDisplayPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_display_plane_properties_khr( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlanePropertiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceDisplayPlanePropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceDisplayPlanePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_display_plane_supported_displays_khr( &self, physical_device: PhysicalDevice, plane_index: u32, p_display_count: *mut u32, p_displays: *mut DisplayKHR, ) -> Result<Result, CallError>

Call vkGetDisplayPlaneSupportedDisplaysKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDisplayPlaneSupportedDisplaysKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_display_mode_properties_khr( &self, physical_device: PhysicalDevice, display: DisplayKHR, p_property_count: *mut u32, p_properties: *mut DisplayModePropertiesKHR, ) -> Result<Result, CallError>

Call vkGetDisplayModePropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDisplayModePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_display_mode_khr( &self, physical_device: PhysicalDevice, display: DisplayKHR, p_create_info: *const DisplayModeCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_mode: *mut DisplayModeKHR, ) -> Result<Result, CallError>

Call vkCreateDisplayModeKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateDisplayModeKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_display_plane_capabilities_khr( &self, physical_device: PhysicalDevice, mode: DisplayModeKHR, plane_index: u32, p_capabilities: *mut DisplayPlaneCapabilitiesKHR, ) -> Result<Result, CallError>

Call vkGetDisplayPlaneCapabilitiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDisplayPlaneCapabilitiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_display_plane_surface_khr( &self, p_create_info: *const DisplaySurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateDisplayPlaneSurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateDisplayPlaneSurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn destroy_surface_khr( &self, surface: SurfaceKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroySurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkDestroySurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_support_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, surface: SurfaceKHR, p_supported: *mut Bool32, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfaceSupportKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfaceSupportKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_capabilities_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilitiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfaceCapabilitiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfaceCapabilitiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_formats_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormatKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfaceFormatsKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfaceFormatsKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_present_modes_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfacePresentModesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfacePresentModesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_vi_surface_nn( &self, p_create_info: *const ViSurfaceCreateInfoNN, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateViSurfaceNN using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateViSurfaceNN valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_wayland_surface_khr( &self, p_create_info: *const WaylandSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateWaylandSurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateWaylandSurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_wayland_presentation_support_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, display: *mut wl_display, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceWaylandPresentationSupportKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceWaylandPresentationSupportKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_ubm_surface_sec( &self, p_create_info: *const UbmSurfaceCreateInfoSEC, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateUbmSurfaceSEC using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateUbmSurfaceSEC valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_ubm_presentation_support_sec( &self, physical_device: PhysicalDevice, queue_family_index: u32, device: *mut ubm_device, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceUbmPresentationSupportSEC using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceUbmPresentationSupportSEC valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_win32_surface_khr( &self, p_create_info: *const Win32SurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateWin32SurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateWin32SurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_win32_presentation_support_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceWin32PresentationSupportKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceWin32PresentationSupportKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_xlib_surface_khr( &self, p_create_info: *const XlibSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateXlibSurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateXlibSurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_xlib_presentation_support_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, dpy: *mut Display, visual_id: VisualID, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceXlibPresentationSupportKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceXlibPresentationSupportKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_xcb_surface_khr( &self, p_create_info: *const XcbSurfaceCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateXcbSurfaceKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateXcbSurfaceKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_xcb_presentation_support_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, connection: *mut xcb_connection_t, visual_id: xcb_visualid_t, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceXcbPresentationSupportKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceXcbPresentationSupportKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_direct_fb_surface_ext( &self, p_create_info: *const DirectFBSurfaceCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateDirectFBSurfaceEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateDirectFBSurfaceEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_direct_fb_presentation_support_ext( &self, physical_device: PhysicalDevice, queue_family_index: u32, dfb: *mut IDirectFB, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceDirectFBPresentationSupportEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceDirectFBPresentationSupportEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_image_pipe_surface_fuchsia( &self, p_create_info: *const ImagePipeSurfaceCreateInfoFUCHSIA, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateImagePipeSurfaceFUCHSIA using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateImagePipeSurfaceFUCHSIA valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_stream_descriptor_surface_ggp( &self, p_create_info: *const StreamDescriptorSurfaceCreateInfoGGP, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateStreamDescriptorSurfaceGGP using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateStreamDescriptorSurfaceGGP valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_screen_surface_qnx( &self, p_create_info: *const ScreenSurfaceCreateInfoQNX, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateScreenSurfaceQNX using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateScreenSurfaceQNX valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_screen_presentation_support_qnx( &self, physical_device: PhysicalDevice, queue_family_index: u32, window: *mut _screen_window, ) -> Result<Bool32, CallError>

Call vkGetPhysicalDeviceScreenPresentationSupportQNX using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceScreenPresentationSupportQNX valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_debug_report_callback_ext( &self, p_create_info: *const DebugReportCallbackCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_callback: *mut DebugReportCallbackEXT, ) -> Result<Result, CallError>

Call vkCreateDebugReportCallbackEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateDebugReportCallbackEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn destroy_debug_report_callback_ext( &self, callback: DebugReportCallbackEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyDebugReportCallbackEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkDestroyDebugReportCallbackEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn debug_report_message_ext( &self, flags: DebugReportFlagsEXT, object_type: DebugReportObjectTypeEXT, object: u64, location: usize, message_code: i32, p_layer_prefix: *const c_char, p_message: *const c_char, ) -> Result<(), CallError>

Call vkDebugReportMessageEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkDebugReportMessageEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

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, p_external_image_format_properties: *mut ExternalImageFormatPropertiesNV, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceExternalImageFormatPropertiesNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalImageFormatPropertiesNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_features2( &self, physical_device: PhysicalDevice, features: &mut PhysicalDeviceFeatures2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceFeatures2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceFeatures2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_features2_khr( &self, physical_device: PhysicalDevice, features: &mut PhysicalDeviceFeatures2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceFeatures2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceFeatures2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_properties2( &self, physical_device: PhysicalDevice, properties: &mut PhysicalDeviceProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceProperties2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceProperties2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_properties2_khr( &self, physical_device: PhysicalDevice, properties: &mut PhysicalDeviceProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_format_properties2( &self, physical_device: PhysicalDevice, format: Format, format_properties: &mut FormatProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceFormatProperties2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceFormatProperties2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_format_properties2_khr( &self, physical_device: PhysicalDevice, format: Format, format_properties: &mut FormatProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceFormatProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceFormatProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_image_format_properties2( &self, physical_device: PhysicalDevice, image_format_info: &PhysicalDeviceImageFormatInfo2, image_format_properties: &mut ImageFormatProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceImageFormatProperties2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceImageFormatProperties2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_image_format_properties2_khr( &self, physical_device: PhysicalDevice, image_format_info: &PhysicalDeviceImageFormatInfo2, image_format_properties: &mut ImageFormatProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceImageFormatProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceImageFormatProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_properties2( &self, physical_device: PhysicalDevice, queue_family_property_count: &mut u32, queue_family_properties: Option<&mut [QueueFamilyProperties2]>, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceQueueFamilyProperties2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyProperties2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_properties2_khr( &self, physical_device: PhysicalDevice, queue_family_property_count: &mut u32, queue_family_properties: Option<&mut [QueueFamilyProperties2]>, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceQueueFamilyProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_memory_properties2( &self, physical_device: PhysicalDevice, memory_properties: &mut PhysicalDeviceMemoryProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceMemoryProperties2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceMemoryProperties2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_memory_properties2_khr( &self, physical_device: PhysicalDevice, memory_properties: &mut PhysicalDeviceMemoryProperties2, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceMemoryProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceMemoryProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_sparse_image_format_properties2( &self, physical_device: PhysicalDevice, format_info: &PhysicalDeviceSparseImageFormatInfo2, property_count: &mut u32, properties: Option<&mut [SparseImageFormatProperties2]>, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceSparseImageFormatProperties2 using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSparseImageFormatProperties2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_sparse_image_format_properties2_khr( &self, physical_device: PhysicalDevice, format_info: &PhysicalDeviceSparseImageFormatInfo2, property_count: &mut u32, properties: Option<&mut [SparseImageFormatProperties2]>, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceSparseImageFormatProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSparseImageFormatProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_buffer_properties( &self, physical_device: PhysicalDevice, external_buffer_info: &PhysicalDeviceExternalBufferInfo, external_buffer_properties: &mut ExternalBufferProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalBufferProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalBufferProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_buffer_properties_khr( &self, physical_device: PhysicalDevice, external_buffer_info: &PhysicalDeviceExternalBufferInfo, external_buffer_properties: &mut ExternalBufferProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalBufferPropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalBufferPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_semaphore_properties( &self, physical_device: PhysicalDevice, external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo, external_semaphore_properties: &mut ExternalSemaphoreProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalSemaphoreProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalSemaphoreProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_semaphore_properties_khr( &self, physical_device: PhysicalDevice, external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo, external_semaphore_properties: &mut ExternalSemaphoreProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalSemaphorePropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalSemaphorePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_fence_properties( &self, physical_device: PhysicalDevice, external_fence_info: &PhysicalDeviceExternalFenceInfo, external_fence_properties: &mut ExternalFenceProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalFenceProperties using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalFenceProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_fence_properties_khr( &self, physical_device: PhysicalDevice, external_fence_info: &PhysicalDeviceExternalFenceInfo, external_fence_properties: &mut ExternalFenceProperties, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalFencePropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalFencePropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Instance

Source

pub unsafe fn release_display_ext( &self, physical_device: PhysicalDevice, display: DisplayKHR, ) -> Result<Result, CallError>

Call vkReleaseDisplayEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkReleaseDisplayEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn acquire_xlib_display_ext( &self, physical_device: PhysicalDevice, dpy: *mut Display, display: DisplayKHR, ) -> Result<Result, CallError>

Call vkAcquireXlibDisplayEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkAcquireXlibDisplayEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_rand_r_output_display_ext( &self, physical_device: PhysicalDevice, dpy: *mut Display, rr_output: RROutput, p_display: *mut DisplayKHR, ) -> Result<Result, CallError>

Call vkGetRandROutputDisplayEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetRandROutputDisplayEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn acquire_winrt_display_nv( &self, physical_device: PhysicalDevice, display: DisplayKHR, ) -> Result<Result, CallError>

Call vkAcquireWinrtDisplayNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkAcquireWinrtDisplayNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_winrt_display_nv( &self, physical_device: PhysicalDevice, device_relative_id: u32, p_display: *mut DisplayKHR, ) -> Result<Result, CallError>

Call vkGetWinrtDisplayNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetWinrtDisplayNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_capabilities2_ext( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, p_surface_capabilities: *mut SurfaceCapabilities2EXT, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfaceCapabilities2EXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfaceCapabilities2EXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn enumerate_physical_device_groups( &self, physical_device_group_count: &mut u32, physical_device_group_properties: Option<&mut [PhysicalDeviceGroupProperties]>, ) -> Result<Result, CallError>

Call vkEnumeratePhysicalDeviceGroups using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkEnumeratePhysicalDeviceGroups valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Instance

Source

pub unsafe fn enumerate_physical_device_groups_khr( &self, physical_device_group_count: &mut u32, physical_device_group_properties: Option<&mut [PhysicalDeviceGroupProperties]>, ) -> Result<Result, CallError>

Call vkEnumeratePhysicalDeviceGroupsKHR using this context’s cached function pointer.

§Errors

Reports a missing command, invalid slice lengths/counts or a native error.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkEnumeratePhysicalDeviceGroupsKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_present_rectangles_khr( &self, physical_device: PhysicalDevice, surface: SurfaceKHR, p_rect_count: *mut u32, p_rects: *mut Rect2D, ) -> Result<Result, CallError>

Call vkGetPhysicalDevicePresentRectanglesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDevicePresentRectanglesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_ios_surface_mvk( &self, p_create_info: *const IOSSurfaceCreateInfoMVK, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateIOSSurfaceMVK using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateIOSSurfaceMVK valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_mac_os_surface_mvk( &self, p_create_info: *const MacOSSurfaceCreateInfoMVK, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateMacOSSurfaceMVK using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateMacOSSurfaceMVK valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_metal_surface_ext( &self, p_create_info: *const MetalSurfaceCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateMetalSurfaceEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateMetalSurfaceEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_multisample_properties_ext( &self, physical_device: PhysicalDevice, samples: SampleCountFlagBits, p_multisample_properties: *mut MultisamplePropertiesEXT, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceMultisamplePropertiesEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceMultisamplePropertiesEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_capabilities2_khr( &self, physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_surface_capabilities: *mut SurfaceCapabilities2KHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfaceCapabilities2KHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfaceCapabilities2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_formats2_khr( &self, physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_surface_format_count: *mut u32, p_surface_formats: *mut SurfaceFormat2KHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfaceFormats2KHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfaceFormats2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_display_properties2_khr( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayProperties2KHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceDisplayProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceDisplayProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_display_plane_properties2_khr( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut DisplayPlaneProperties2KHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceDisplayPlaneProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceDisplayPlaneProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_display_mode_properties2_khr( &self, physical_device: PhysicalDevice, display: DisplayKHR, p_property_count: *mut u32, p_properties: *mut DisplayModeProperties2KHR, ) -> Result<Result, CallError>

Call vkGetDisplayModeProperties2KHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDisplayModeProperties2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_display_plane_capabilities2_khr( &self, physical_device: PhysicalDevice, p_display_plane_info: *const DisplayPlaneInfo2KHR, p_capabilities: *mut DisplayPlaneCapabilities2KHR, ) -> Result<Result, CallError>

Call vkGetDisplayPlaneCapabilities2KHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDisplayPlaneCapabilities2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_calibrateable_time_domains_khr( &self, physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCalibrateableTimeDomainsKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCalibrateableTimeDomainsKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_calibrateable_time_domains_ext( &self, physical_device: PhysicalDevice, p_time_domain_count: *mut u32, p_time_domains: *mut TimeDomainKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCalibrateableTimeDomainsEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCalibrateableTimeDomainsEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_debug_utils_messenger_ext( &self, p_create_info: *const DebugUtilsMessengerCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_messenger: *mut DebugUtilsMessengerEXT, ) -> Result<Result, CallError>

Call vkCreateDebugUtilsMessengerEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateDebugUtilsMessengerEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn destroy_debug_utils_messenger_ext( &self, messenger: DebugUtilsMessengerEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyDebugUtilsMessengerEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkDestroyDebugUtilsMessengerEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn submit_debug_utils_message_ext( &self, message_severity: DebugUtilsMessageSeverityFlagBitsEXT, message_types: DebugUtilsMessageTypeFlagsEXT, p_callback_data: *const DebugUtilsMessengerCallbackDataEXT, ) -> Result<(), CallError>

Call vkSubmitDebugUtilsMessageEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkSubmitDebugUtilsMessageEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_cooperative_matrix_properties_nv( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut CooperativeMatrixPropertiesNV, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCooperativeMatrixPropertiesNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCooperativeMatrixPropertiesNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_surface_present_modes2_ext( &self, physical_device: PhysicalDevice, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_present_mode_count: *mut u32, p_present_modes: *mut PresentModeKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSurfacePresentModes2EXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSurfacePresentModes2EXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn enumerate_physical_device_queue_family_performance_query_counters_khr( &self, physical_device: PhysicalDevice, queue_family_index: u32, p_counter_count: *mut u32, p_counters: *mut PerformanceCounterKHR, p_counter_descriptions: *mut PerformanceCounterDescriptionKHR, ) -> Result<Result, CallError>

Call vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_performance_query_passes_khr( &self, physical_device: PhysicalDevice, p_performance_query_create_info: *const QueryPoolPerformanceCreateInfoKHR, p_num_passes: *mut u32, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn create_headless_surface_ext( &self, p_create_info: *const HeadlessSurfaceCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_surface: *mut SurfaceKHR, ) -> Result<Result, CallError>

Call vkCreateHeadlessSurfaceEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkCreateHeadlessSurfaceEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_supported_framebuffer_mixed_samples_combinations_nv( &self, physical_device: PhysicalDevice, p_combination_count: *mut u32, p_combinations: *mut FramebufferMixedSamplesCombinationNV, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_tool_properties( &self, physical_device: PhysicalDevice, p_tool_count: *mut u32, p_tool_properties: *mut PhysicalDeviceToolProperties, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceToolProperties using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceToolProperties valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_tool_properties_ext( &self, physical_device: PhysicalDevice, p_tool_count: *mut u32, p_tool_properties: *mut PhysicalDeviceToolProperties, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceToolPropertiesEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceToolPropertiesEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_fragment_shading_rates_khr( &self, physical_device: PhysicalDevice, p_fragment_shading_rate_count: *mut u32, p_fragment_shading_rates: *mut PhysicalDeviceFragmentShadingRateKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceFragmentShadingRatesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceFragmentShadingRatesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_video_capabilities_khr( &self, physical_device: PhysicalDevice, p_video_profile: *const VideoProfileInfoKHR, p_capabilities: *mut VideoCapabilitiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceVideoCapabilitiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceVideoCapabilitiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_video_format_properties_khr( &self, physical_device: PhysicalDevice, p_video_format_info: *const PhysicalDeviceVideoFormatInfoKHR, p_video_format_property_count: *mut u32, p_video_format_properties: *mut VideoFormatPropertiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceVideoFormatPropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceVideoFormatPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_video_encode_quality_level_properties_khr( &self, physical_device: PhysicalDevice, p_quality_level_info: *const PhysicalDeviceVideoEncodeQualityLevelInfoKHR, p_quality_level_properties: *mut VideoEncodeQualityLevelPropertiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn acquire_drm_display_ext( &self, physical_device: PhysicalDevice, drm_fd: i32, display: DisplayKHR, ) -> Result<Result, CallError>

Call vkAcquireDrmDisplayEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkAcquireDrmDisplayEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_drm_display_ext( &self, physical_device: PhysicalDevice, drm_fd: i32, connector_id: u32, display: *mut DisplayKHR, ) -> Result<Result, CallError>

Call vkGetDrmDisplayEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDrmDisplayEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_optical_flow_image_formats_nv( &self, physical_device: PhysicalDevice, p_optical_flow_image_format_info: *const OpticalFlowImageFormatInfoNV, p_format_count: *mut u32, p_image_format_properties: *mut OpticalFlowImageFormatPropertiesNV, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceOpticalFlowImageFormatsNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceOpticalFlowImageFormatsNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_cooperative_matrix_properties_khr( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut CooperativeMatrixPropertiesKHR, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_cooperative_matrix_properties2_ext( &self, physical_device: PhysicalDevice, p_cooperative_matrix_info: *const PhysicalDeviceCooperativeMatrixInfo2EXT, p_property_count: *mut u32, p_properties: *mut CooperativeMatrixProperties2EXT, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCooperativeMatrixProperties2EXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCooperativeMatrixProperties2EXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_cooperative_matrix_flexible_dimensions_properties_nv( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut CooperativeMatrixFlexibleDimensionsPropertiesNV, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_cooperative_vector_properties_nv( &self, physical_device: PhysicalDevice, p_property_count: *mut u32, p_properties: *mut CooperativeVectorPropertiesNV, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceCooperativeVectorPropertiesNV using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceCooperativeVectorPropertiesNV valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn enumerate_physical_device_shader_instrumentation_metrics_arm( &self, physical_device: PhysicalDevice, p_description_count: *mut u32, p_descriptions: *mut ShaderInstrumentationMetricDescriptionARM, ) -> Result<Result, CallError>

Call vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_external_tensor_properties_arm( &self, physical_device: PhysicalDevice, p_external_tensor_info: *const PhysicalDeviceExternalTensorInfoARM, p_external_tensor_properties: *mut ExternalTensorPropertiesARM, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceExternalTensorPropertiesARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceExternalTensorPropertiesARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_data_graph_properties_arm( &self, physical_device: PhysicalDevice, queue_family_index: u32, p_queue_family_data_graph_property_count: *mut u32, p_queue_family_data_graph_properties: *mut QueueFamilyDataGraphPropertiesARM, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_data_graph_processing_engine_properties_arm( &self, physical_device: PhysicalDevice, p_queue_family_data_graph_processing_engine_info: *const PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM, p_queue_family_data_graph_processing_engine_properties: *mut QueueFamilyDataGraphProcessingEnginePropertiesARM, ) -> Result<(), CallError>

Call vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn enumerate_physical_device_queue_family_performance_counters_by_region_arm( &self, physical_device: PhysicalDevice, queue_family_index: u32, p_counter_count: *mut u32, p_counters: *mut PerformanceCounterARM, p_counter_descriptions: *mut PerformanceCounterDescriptionARM, ) -> Result<Result, CallError>

Call vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_descriptor_size_ext( &self, physical_device: PhysicalDevice, descriptor_type: DescriptorType, ) -> Result<DeviceSize, CallError>

Call vkGetPhysicalDeviceDescriptorSizeEXT using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceDescriptorSizeEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_data_graph_engine_operation_properties_arm( &self, physical_device: PhysicalDevice, queue_family_index: u32, p_queue_family_data_graph_properties: *const QueueFamilyDataGraphPropertiesARM, p_properties: *mut BaseOutStructure, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Source§

impl Instance

Source

pub unsafe fn get_physical_device_queue_family_data_graph_optical_flow_image_formats_arm( &self, physical_device: PhysicalDevice, queue_family_index: u32, p_queue_family_data_graph_properties: *const QueueFamilyDataGraphPropertiesARM, p_optical_flow_image_format_info: *const DataGraphOpticalFlowImageFormatInfoARM, p_format_count: *mut u32, p_image_format_properties: *mut DataGraphOpticalFlowImageFormatPropertiesARM, ) -> Result<Result, CallError>

Call vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM using this context’s cached function pointer.

§Errors

Reports a missing command or a negative native VkResult; non-error results are preserved.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Preserves native raw pointers, explicit counts, optional nulls and return values. The caller supplies correctly aligned live storage, initialized output-chain headers and every extent implied by native counts, strides or nested records. No allocation, retry, output initialization, ownership transfer or alias fallback occurs in this wrapper. Outputs, including partial outputs on native failure, remain caller-owned and must be inspected/cleaned up according to Vulkan.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.