pub struct Instance { /* private fields */ }Expand description
Vulkan instance with cached commands and optional creation-capability metadata.
The raw native identity is InstanceHandle, available
through Self::handle. This wrapper is not a native ABI handle.
Call Self::destroy explicitly; Drop never destroys Vulkan objects.
Implementations§
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_device(
&self,
physical_device: PhysicalDevice,
create_info: &DeviceCreateInfo<'_>,
allocator: Option<&AllocationCallbacks>,
) -> Result<Device, CallError>
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
impl Instance
Sourcepub unsafe fn new_from_handle(
entry: &Entry,
handle: InstanceHandle,
) -> Result<Self, LoadError>
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.
Sourcepub unsafe fn new_from_handle_with_capabilities(
entry: &Entry,
handle: InstanceHandle,
capabilities: Capabilities,
) -> Result<Self, LoadError>
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.
Sourcepub fn handle(&self) -> InstanceHandle
pub fn handle(&self) -> InstanceHandle
Return the raw handle. Its use must respect this instance’s lifetime.
Sourcepub fn fp(&self) -> &FnInstance
pub fn fp(&self) -> &FnInstance
Borrow the full instance dispatch table.
Sourcepub fn capabilities(&self) -> Option<&Capabilities>
pub fn capabilities(&self) -> Option<&Capabilities>
Creation version/extension provenance, or None for an imported raw handle.
Sourcepub unsafe fn destroy(self, allocator: Option<&AllocationCallbacks>)
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
impl Instance
Sourcepub unsafe fn new(
entry: &Entry,
create_info: &InstanceCreateInfo<'_>,
allocator: Option<&AllocationCallbacks>,
) -> Result<Self, CallError>
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
impl Instance
Sourcepub unsafe fn get_instance_proc_addr(&self, name: &CStr) -> PFN_vkVoidFunction
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
impl Instance
Sourcepub unsafe fn enumerate_physical_devices(
&self,
) -> Result<Vec<PhysicalDevice>, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_properties(
&self,
physical_device: PhysicalDevice,
) -> Result<PhysicalDeviceProperties, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_features(
&self,
physical_device: PhysicalDevice,
) -> Result<PhysicalDeviceFeatures, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_queue_family_properties(
&self,
physical_device: PhysicalDevice,
) -> Result<Vec<QueueFamilyProperties>, CallError>
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
impl Instance
Sourcepub unsafe fn enumerate_device_extension_properties(
&self,
physical_device: PhysicalDevice,
layer_name: Option<&CStr>,
) -> Result<Vec<ExtensionProperties>, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_memory_properties(
&self,
physical_device: PhysicalDevice,
) -> Result<PhysicalDeviceMemoryProperties, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_format_properties(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties,
) -> Result<(), CallError>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn enumerate_device_layer_properties(
&self,
physical_device: PhysicalDevice,
) -> Result<Vec<LayerProperties>, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSparseImageFormatProperties
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_android_surface_khr(
&self,
p_create_info: *const AndroidSurfaceCreateInfoKHR<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_surface_ohos(
&self,
p_create_info: *const SurfaceCreateInfoOHOS<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_display_properties_khr(
&self,
physical_device: PhysicalDevice,
p_property_count: *mut u32,
p_properties: *mut DisplayPropertiesKHR<'_>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceDisplayPlanePropertiesKHR
Source§impl Instance
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn get_display_plane_capabilities_khr(
&self,
physical_device: PhysicalDevice,
mode: DisplayModeKHR,
plane_index: u32,
p_capabilities: *mut DisplayPlaneCapabilitiesKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_display_plane_surface_khr(
&self,
p_create_info: *const DisplaySurfaceCreateInfoKHR<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn destroy_surface_khr(
&self,
surface: SurfaceKHR,
p_allocator: *const AllocationCallbacks,
) -> Result<(), CallError>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn get_physical_device_surface_capabilities_khr(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
p_surface_capabilities: *mut SurfaceCapabilitiesKHR,
) -> Result<Result, CallError>
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.
Khronos reference: vkGetPhysicalDeviceSurfaceCapabilitiesKHR
Source§impl Instance
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSurfacePresentModesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_vi_surface_nn(
&self,
p_create_info: *const ViSurfaceCreateInfoNN<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_wayland_surface_khr(
&self,
p_create_info: *const WaylandSurfaceCreateInfoKHR<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_wayland_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
display: *mut wl_display,
) -> Result<Bool32, CallError>
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.
Khronos reference: vkGetPhysicalDeviceWaylandPresentationSupportKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_ubm_surface_sec(
&self,
p_create_info: *const UbmSurfaceCreateInfoSEC<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_ubm_presentation_support_sec(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
device: *mut ubm_device,
) -> Result<Bool32, CallError>
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.
Khronos reference: vkGetPhysicalDeviceUbmPresentationSupportSEC
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_win32_surface_khr(
&self,
p_create_info: *const Win32SurfaceCreateInfoKHR<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_win32_presentation_support_khr(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
) -> Result<Bool32, CallError>
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.
Khronos reference: vkGetPhysicalDeviceWin32PresentationSupportKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_xlib_surface_khr(
&self,
p_create_info: *const XlibSurfaceCreateInfoKHR<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceXlibPresentationSupportKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_xcb_surface_khr(
&self,
p_create_info: *const XcbSurfaceCreateInfoKHR<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceXcbPresentationSupportKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_direct_fb_surface_ext(
&self,
p_create_info: *const DirectFBSurfaceCreateInfoEXT<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_direct_fb_presentation_support_ext(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
dfb: *mut IDirectFB,
) -> Result<Bool32, CallError>
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.
Khronos reference: vkGetPhysicalDeviceDirectFBPresentationSupportEXT
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_image_pipe_surface_fuchsia(
&self,
p_create_info: *const ImagePipeSurfaceCreateInfoFUCHSIA<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_stream_descriptor_surface_ggp(
&self,
p_create_info: *const StreamDescriptorSurfaceCreateInfoGGP<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_screen_surface_qnx(
&self,
p_create_info: *const ScreenSurfaceCreateInfoQNX<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_screen_presentation_support_qnx(
&self,
physical_device: PhysicalDevice,
queue_family_index: u32,
window: *mut _screen_window,
) -> Result<Bool32, CallError>
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.
Khronos reference: vkGetPhysicalDeviceScreenPresentationSupportQNX
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_debug_report_callback_ext(
&self,
p_create_info: *const DebugReportCallbackCreateInfoEXT<'_>,
p_allocator: *const AllocationCallbacks,
p_callback: *mut DebugReportCallbackEXT,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn destroy_debug_report_callback_ext(
&self,
callback: DebugReportCallbackEXT,
p_allocator: *const AllocationCallbacks,
) -> Result<(), CallError>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn get_physical_device_external_image_format_properties_nv(
&self,
physical_device: PhysicalDevice,
format: Format,
type: ImageType,
tiling: ImageTiling,
usage: ImageUsageFlags,
flags: ImageCreateFlags,
external_handle_type: ExternalMemoryHandleTypeFlagsNV,
p_external_image_format_properties: *mut ExternalImageFormatPropertiesNV,
) -> Result<Result, CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalImageFormatPropertiesNV
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_features2(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_features2_khr(
&self,
physical_device: PhysicalDevice,
features: &mut PhysicalDeviceFeatures2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_properties2(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_properties2_khr(
&self,
physical_device: PhysicalDevice,
properties: &mut PhysicalDeviceProperties2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_format_properties2(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
format: Format,
format_properties: &mut FormatProperties2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_image_format_properties2(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2<'_>,
image_format_properties: &mut ImageFormatProperties2<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceImageFormatProperties2
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_image_format_properties2_khr(
&self,
physical_device: PhysicalDevice,
image_format_info: &PhysicalDeviceImageFormatInfo2<'_>,
image_format_properties: &mut ImageFormatProperties2<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceImageFormatProperties2KHR
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyProperties2
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyProperties2KHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_memory_properties2(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_memory_properties2_khr(
&self,
physical_device: PhysicalDevice,
memory_properties: &mut PhysicalDeviceMemoryProperties2<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSparseImageFormatProperties2
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSparseImageFormatProperties2KHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_external_buffer_properties(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo<'_>,
external_buffer_properties: &mut ExternalBufferProperties<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalBufferProperties
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_external_buffer_properties_khr(
&self,
physical_device: PhysicalDevice,
external_buffer_info: &PhysicalDeviceExternalBufferInfo<'_>,
external_buffer_properties: &mut ExternalBufferProperties<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalBufferPropertiesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_external_semaphore_properties(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo<'_>,
external_semaphore_properties: &mut ExternalSemaphoreProperties<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalSemaphoreProperties
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_external_semaphore_properties_khr(
&self,
physical_device: PhysicalDevice,
external_semaphore_info: &PhysicalDeviceExternalSemaphoreInfo<'_>,
external_semaphore_properties: &mut ExternalSemaphoreProperties<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalSemaphorePropertiesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_external_fence_properties(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo<'_>,
external_fence_properties: &mut ExternalFenceProperties<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalFenceProperties
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_external_fence_properties_khr(
&self,
physical_device: PhysicalDevice,
external_fence_info: &PhysicalDeviceExternalFenceInfo<'_>,
external_fence_properties: &mut ExternalFenceProperties<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceExternalFencePropertiesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn release_display_ext(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn acquire_xlib_display_ext(
&self,
physical_device: PhysicalDevice,
dpy: *mut Display,
display: DisplayKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn acquire_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
display: DisplayKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_winrt_display_nv(
&self,
physical_device: PhysicalDevice,
device_relative_id: u32,
p_display: *mut DisplayKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_surface_capabilities2_ext(
&self,
physical_device: PhysicalDevice,
surface: SurfaceKHR,
p_surface_capabilities: *mut SurfaceCapabilities2EXT<'_>,
) -> Result<Result, CallError>
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.
Khronos reference: vkGetPhysicalDeviceSurfaceCapabilities2EXT
Source§impl Instance
impl Instance
Sourcepub unsafe fn enumerate_physical_device_groups(
&self,
physical_device_group_count: &mut u32,
physical_device_group_properties: Option<&mut [PhysicalDeviceGroupProperties<'_>]>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn enumerate_physical_device_groups_khr(
&self,
physical_device_group_count: &mut u32,
physical_device_group_properties: Option<&mut [PhysicalDeviceGroupProperties<'_>]>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn create_ios_surface_mvk(
&self,
p_create_info: *const IOSSurfaceCreateInfoMVK<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_mac_os_surface_mvk(
&self,
p_create_info: *const MacOSSurfaceCreateInfoMVK<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn create_metal_surface_ext(
&self,
p_create_info: *const MetalSurfaceCreateInfoEXT<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_physical_device_multisample_properties_ext(
&self,
physical_device: PhysicalDevice,
samples: SampleCountFlagBits,
p_multisample_properties: *mut MultisamplePropertiesEXT<'_>,
) -> Result<(), CallError>
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.
Khronos reference: vkGetPhysicalDeviceMultisamplePropertiesEXT
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSurfaceCapabilities2KHR
Source§impl Instance
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn get_physical_device_display_properties2_khr(
&self,
physical_device: PhysicalDevice,
p_property_count: *mut u32,
p_properties: *mut DisplayProperties2KHR<'_>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceDisplayPlaneProperties2KHR
Source§impl Instance
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub unsafe fn get_display_plane_capabilities2_khr(
&self,
physical_device: PhysicalDevice,
p_display_plane_info: *const DisplayPlaneInfo2KHR<'_>,
p_capabilities: *mut DisplayPlaneCapabilities2KHR<'_>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCalibrateableTimeDomainsKHR
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCalibrateableTimeDomainsEXT
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_debug_utils_messenger_ext(
&self,
p_create_info: *const DebugUtilsMessengerCreateInfoEXT<'_>,
p_allocator: *const AllocationCallbacks,
p_messenger: *mut DebugUtilsMessengerEXT,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn destroy_debug_utils_messenger_ext(
&self,
messenger: DebugUtilsMessengerEXT,
p_allocator: *const AllocationCallbacks,
) -> Result<(), CallError>
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
impl Instance
Sourcepub unsafe fn submit_debug_utils_message_ext(
&self,
message_severity: DebugUtilsMessageSeverityFlagBitsEXT,
message_types: DebugUtilsMessageTypeFlagsEXT,
p_callback_data: *const DebugUtilsMessengerCallbackDataEXT<'_>,
) -> Result<(), CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCooperativeMatrixPropertiesNV
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSurfacePresentModes2EXT
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn create_headless_surface_ext(
&self,
p_create_info: *const HeadlessSurfaceCreateInfoEXT<'_>,
p_allocator: *const AllocationCallbacks,
p_surface: *mut SurfaceKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_tool_properties(
&self,
physical_device: PhysicalDevice,
p_tool_count: *mut u32,
p_tool_properties: *mut PhysicalDeviceToolProperties<'_>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceFragmentShadingRatesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_video_capabilities_khr(
&self,
physical_device: PhysicalDevice,
p_video_profile: *const VideoProfileInfoKHR<'_>,
p_capabilities: *mut VideoCapabilitiesKHR<'_>,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceVideoFormatPropertiesKHR
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR
Source§impl Instance
impl Instance
Sourcepub unsafe fn acquire_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
display: DisplayKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub unsafe fn get_drm_display_ext(
&self,
physical_device: PhysicalDevice,
drm_fd: i32,
connector_id: u32,
display: *mut DisplayKHR,
) -> Result<Result, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceOpticalFlowImageFormatsNV
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCooperativeMatrixProperties2EXT
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceCooperativeVectorPropertiesNV
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkEnumeratePhysicalDeviceShaderInstrumentationMetricsARM
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceExternalTensorPropertiesARM
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM
Source§impl Instance
impl Instance
Sourcepub unsafe fn get_physical_device_descriptor_size_ext(
&self,
physical_device: PhysicalDevice,
descriptor_type: DescriptorType,
) -> Result<DeviceSize, CallError>
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
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyDataGraphEngineOperationPropertiesARM
Source§impl Instance
impl Instance
Sourcepub 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>
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.
Khronos reference: vkGetPhysicalDeviceQueueFamilyDataGraphOpticalFlowImageFormatsARM