vk · Functions · G4
16 public declarations with native signatures and source-owned contracts.
Fnvk::get_device_image_sparse_memory_requirements_khr
Contract
Call vkGetDeviceImageSparseMemoryRequirementsKHR 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 vkGetDeviceImageSparseMemoryRequirementsKHR 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: vkGetDeviceImageSparseMemoryRequirementsKHR
Fnvk::get_device_image_subresource_layout
Contract
Call vkGetDeviceImageSubresourceLayout 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 vkGetDeviceImageSubresourceLayout 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.
Fnvk::get_device_image_subresource_layout_khr
Contract
Call vkGetDeviceImageSubresourceLayoutKHR 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 vkGetDeviceImageSubresourceLayoutKHR 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.
Fnvk::get_device_memory_commitment
Contract
Call vkGetDeviceMemoryCommitment 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 vkGetDeviceMemoryCommitment valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_device_memory_opaque_capture_address
Contract
Call vkGetDeviceMemoryOpaqueCaptureAddress using this context’s cached function pointer.
Errors
Reports a missing command; the native scalar is never converted to a status.
Safety
The context and all handles must be live and belong to the same Vulkan
implementation/device. Meet vkGetDeviceMemoryOpaqueCaptureAddress valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.
Fnvk::get_device_memory_opaque_capture_address_khr
Contract
Call vkGetDeviceMemoryOpaqueCaptureAddressKHR using this context’s cached function pointer.
Errors
Reports a missing command; the native scalar is never converted to a status.
Safety
The context and all handles must be live and belong to the same Vulkan
implementation/device. Meet vkGetDeviceMemoryOpaqueCaptureAddressKHR valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.
Fnvk::get_device_micromap_compatibility_ext
Contract
Call vkGetDeviceMicromapCompatibilityEXT 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 vkGetDeviceMicromapCompatibilityEXT 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.
Fnvk::get_device_proc_addr
Contract
Resolve a device-specific function by name using this device’s gdpa.
Returns None if the function is not available for this device.
Safety
name must be a valid NUL-terminated command name. The caller must cast
and use the returned pointer only while this device is live.
Fnvk::get_device_queue
Contract
Retrieve a queue handle from this device.
Safety
queue_family_index and queue_index must be within the bounds of the
queue families requested at device creation.
Fnvk::get_device_queue2
Contract
Call vkGetDeviceQueue2 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 vkGetDeviceQueue2 valid usage, enabled API/extension/feature,
pointer-chain lifetime, callback compatibility and host/GPU synchronization
requirements. Native resources require explicit destruction after completion.
Fnvk::get_device_subpass_shading_max_workgroup_size_huawei
Contract
Call vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI 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 vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI 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: vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI
Fnvk::get_device_tensor_memory_requirements_arm
Contract
Call vkGetDeviceTensorMemoryRequirementsARM 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 vkGetDeviceTensorMemoryRequirementsARM 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.
Fnvk::get_display_mode_properties2_khr
Contract
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.
Fnvk::get_display_mode_properties_khr
Contract
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.
Fnvk::get_display_plane_capabilities2_khr
Contract
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.
Fnvk::get_display_plane_capabilities_khr
Contract
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.