Realm

vk · Functions · G3

16 public declarations with native signatures and source-owned contracts.

FnRustExperimental

Fnvk::get_descriptor_set_layout_support_khr

pub unsafe fn get_descriptor_set_layout_support_khr( device: &Device, create_info: &DescriptorSetLayoutCreateInfo<'_>, support: &mut DescriptorSetLayoutSupport<'_>, ) -> Result<(), CallError>
Call vkGetDescriptorSetLayoutSupportKHR using this context’s cached function pointer.

Contract

Call vkGetDescriptorSetLayoutSupportKHR 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 vkGetDescriptorSetLayoutSupportKHR 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: vkGetDescriptorSetLayoutSupportKHR

Fnvk::get_device_acceleration_structure_compatibility_khr

pub unsafe fn get_device_acceleration_structure_compatibility_khr( device: &Device, p_version_info: *const AccelerationStructureVersionInfoKHR<'_>, p_compatibility: *mut AccelerationStructureCompatibilityKHR, ) -> Result<(), CallError>
Call vkGetDeviceAccelerationStructureCompatibilityKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceAccelerationStructureCompatibilityKHR 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 vkGetDeviceAccelerationStructureCompatibilityKHR 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: vkGetDeviceAccelerationStructureCompatibilityKHR

Fnvk::get_device_buffer_memory_requirements

pub unsafe fn get_device_buffer_memory_requirements( device: &Device, p_info: *const DeviceBufferMemoryRequirements<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ) -> Result<(), CallError>
Call vkGetDeviceBufferMemoryRequirements using this context’s cached function pointer.

Contract

Call vkGetDeviceBufferMemoryRequirements 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 vkGetDeviceBufferMemoryRequirements 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: vkGetDeviceBufferMemoryRequirements

Fnvk::get_device_buffer_memory_requirements_khr

pub unsafe fn get_device_buffer_memory_requirements_khr( device: &Device, p_info: *const DeviceBufferMemoryRequirements<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ) -> Result<(), CallError>
Call vkGetDeviceBufferMemoryRequirementsKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceBufferMemoryRequirementsKHR 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 vkGetDeviceBufferMemoryRequirementsKHR 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: vkGetDeviceBufferMemoryRequirementsKHR

Fnvk::get_device_combined_image_sampler_index_nvx

pub unsafe fn get_device_combined_image_sampler_index_nvx( device: &Device, image_view_index: u64, sampler_index: u64, ) -> Result<u64, CallError>
Call vkGetDeviceCombinedImageSamplerIndexNVX using this context’s cached function pointer.

Contract

Call vkGetDeviceCombinedImageSamplerIndexNVX 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 vkGetDeviceCombinedImageSamplerIndexNVX 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: vkGetDeviceCombinedImageSamplerIndexNVX

Fnvk::get_device_fault_debug_info_khr

pub unsafe fn get_device_fault_debug_info_khr( device: &Device, p_debug_info: *mut DeviceFaultDebugInfoKHR<'_>, ) -> Result<Result, CallError>
Call vkGetDeviceFaultDebugInfoKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceFaultDebugInfoKHR 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 vkGetDeviceFaultDebugInfoKHR 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: vkGetDeviceFaultDebugInfoKHR

Fnvk::get_device_fault_info_ext

pub unsafe fn get_device_fault_info_ext( device: &Device, p_fault_counts: *mut DeviceFaultCountsEXT<'_>, p_fault_info: *mut DeviceFaultInfoEXT<'_>, ) -> Result<Result, CallError>
Call vkGetDeviceFaultInfoEXT using this context’s cached function pointer.

Contract

Call vkGetDeviceFaultInfoEXT 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 vkGetDeviceFaultInfoEXT 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: vkGetDeviceFaultInfoEXT

Fnvk::get_device_fault_reports_khr

pub unsafe fn get_device_fault_reports_khr( device: &Device, timeout: u64, p_fault_counts: *mut u32, p_fault_info: *mut DeviceFaultInfoKHR<'_>, ) -> Result<Result, CallError>
Call vkGetDeviceFaultReportsKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceFaultReportsKHR 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 vkGetDeviceFaultReportsKHR 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: vkGetDeviceFaultReportsKHR

Fnvk::get_device_group_peer_memory_features

pub unsafe fn get_device_group_peer_memory_features( device: &Device, heap_index: u32, local_device_index: u32, remote_device_index: u32, peer_memory_features: &mut PeerMemoryFeatureFlags, ) -> Result<(), CallError>
Call vkGetDeviceGroupPeerMemoryFeatures using this context’s cached function pointer.

Contract

Call vkGetDeviceGroupPeerMemoryFeatures 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 vkGetDeviceGroupPeerMemoryFeatures 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: vkGetDeviceGroupPeerMemoryFeatures

Fnvk::get_device_group_peer_memory_features_khr

pub unsafe fn get_device_group_peer_memory_features_khr( device: &Device, heap_index: u32, local_device_index: u32, remote_device_index: u32, peer_memory_features: &mut PeerMemoryFeatureFlags, ) -> Result<(), CallError>
Call vkGetDeviceGroupPeerMemoryFeaturesKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceGroupPeerMemoryFeaturesKHR 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 vkGetDeviceGroupPeerMemoryFeaturesKHR 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: vkGetDeviceGroupPeerMemoryFeaturesKHR

Fnvk::get_device_group_present_capabilities_khr

pub unsafe fn get_device_group_present_capabilities_khr( device: &Device, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR<'_>, ) -> Result<Result, CallError>
Call vkGetDeviceGroupPresentCapabilitiesKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceGroupPresentCapabilitiesKHR 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 vkGetDeviceGroupPresentCapabilitiesKHR 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: vkGetDeviceGroupPresentCapabilitiesKHR

Fnvk::get_device_group_surface_present_modes2_ext

pub unsafe fn get_device_group_surface_present_modes2_ext( device: &Device, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR<'_>, p_modes: *mut DeviceGroupPresentModeFlagsKHR, ) -> Result<Result, CallError>
Call vkGetDeviceGroupSurfacePresentModes2EXT using this context’s cached function pointer.

Contract

Call vkGetDeviceGroupSurfacePresentModes2EXT 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 vkGetDeviceGroupSurfacePresentModes2EXT 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: vkGetDeviceGroupSurfacePresentModes2EXT

Fnvk::get_device_group_surface_present_modes_khr

pub unsafe fn get_device_group_surface_present_modes_khr( device: &Device, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR, ) -> Result<Result, CallError>
Call vkGetDeviceGroupSurfacePresentModesKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceGroupSurfacePresentModesKHR 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 vkGetDeviceGroupSurfacePresentModesKHR 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: vkGetDeviceGroupSurfacePresentModesKHR

Fnvk::get_device_image_memory_requirements

pub unsafe fn get_device_image_memory_requirements( device: &Device, p_info: *const DeviceImageMemoryRequirements<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ) -> Result<(), CallError>
Call vkGetDeviceImageMemoryRequirements using this context’s cached function pointer.

Contract

Call vkGetDeviceImageMemoryRequirements 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 vkGetDeviceImageMemoryRequirements 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: vkGetDeviceImageMemoryRequirements

Fnvk::get_device_image_memory_requirements_khr

pub unsafe fn get_device_image_memory_requirements_khr( device: &Device, p_info: *const DeviceImageMemoryRequirements<'_>, p_memory_requirements: *mut MemoryRequirements2<'_>, ) -> Result<(), CallError>
Call vkGetDeviceImageMemoryRequirementsKHR using this context’s cached function pointer.

Contract

Call vkGetDeviceImageMemoryRequirementsKHR 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 vkGetDeviceImageMemoryRequirementsKHR 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: vkGetDeviceImageMemoryRequirementsKHR

Fnvk::get_device_image_sparse_memory_requirements

pub unsafe fn get_device_image_sparse_memory_requirements( device: &Device, p_info: *const DeviceImageMemoryRequirements<'_>, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2<'_>, ) -> Result<(), CallError>
Call vkGetDeviceImageSparseMemoryRequirements using this context’s cached function pointer.

Contract

Call vkGetDeviceImageSparseMemoryRequirements 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 vkGetDeviceImageSparseMemoryRequirements 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: vkGetDeviceImageSparseMemoryRequirements