Realm

vk · Functions · G5

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

FnRustExperimental

Fnvk::get_display_plane_supported_displays_khr

pub unsafe fn get_display_plane_supported_displays_khr( instance: &Instance, 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.

Contract

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.

Khronos reference: vkGetDisplayPlaneSupportedDisplaysKHR

Fnvk::get_drm_display_ext

pub unsafe fn get_drm_display_ext( instance: &Instance, physical_device: PhysicalDevice, drm_fd: i32, connector_id: u32, display: *mut DisplayKHR, ) -> Result<Result, CallError>
Call vkGetDrmDisplayEXT using this context’s cached function pointer.

Contract

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.

Khronos reference: vkGetDrmDisplayEXT

Fnvk::get_dynamic_rendering_tile_properties_qcom

pub unsafe fn get_dynamic_rendering_tile_properties_qcom( device: &Device, p_rendering_info: *const RenderingInfo<'_>, p_properties: *mut TilePropertiesQCOM<'_>, ) -> Result<Result, CallError>
Call vkGetDynamicRenderingTilePropertiesQCOM using this context’s cached function pointer.

Contract

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

Fnvk::get_encoded_video_session_parameters_khr

pub unsafe fn get_encoded_video_session_parameters_khr( device: &Device, p_video_session_parameters_info: *const VideoEncodeSessionParametersGetInfoKHR<'_>, p_feedback_info: *mut VideoEncodeSessionParametersFeedbackInfoKHR<'_>, p_data_size: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetEncodedVideoSessionParametersKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_event_status

Contract

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

Fnvk::get_execution_graph_pipeline_node_index_amdx

pub unsafe fn get_execution_graph_pipeline_node_index_amdx( device: &Device, execution_graph: Pipeline, p_node_info: *const PipelineShaderStageNodeCreateInfoAMDX<'_>, p_node_index: *mut u32, ) -> Result<Result, CallError>
Call vkGetExecutionGraphPipelineNodeIndexAMDX using this context’s cached function pointer.

Contract

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

Fnvk::get_execution_graph_pipeline_scratch_size_amdx

pub unsafe fn get_execution_graph_pipeline_scratch_size_amdx( device: &Device, execution_graph: Pipeline, p_size_info: *mut ExecutionGraphPipelineScratchSizeAMDX<'_>, ) -> Result<Result, CallError>
Call vkGetExecutionGraphPipelineScratchSizeAMDX using this context’s cached function pointer.

Contract

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

Fnvk::get_external_compute_queue_data_nv

pub unsafe fn get_external_compute_queue_data_nv( device: &Device, external_queue: ExternalComputeQueueNV, params: *mut ExternalComputeQueueDataParamsNV<'_>, p_data: *mut c_void, ) -> Result<(), CallError>
Call vkGetExternalComputeQueueDataNV using this context’s cached function pointer.

Contract

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

Fnvk::get_fence_fd_khr

pub unsafe fn get_fence_fd_khr( device: &Device, p_get_fd_info: *const FenceGetFdInfoKHR<'_>, p_fd: *mut i32, ) -> Result<Result, CallError>
Call vkGetFenceFdKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_fence_status

Contract

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

Fnvk::get_fence_win32_handle_khr

pub unsafe fn get_fence_win32_handle_khr( device: &Device, p_get_win32_handle_info: *const FenceGetWin32HandleInfoKHR<'_>, p_handle: *mut HANDLE, ) -> Result<Result, CallError>
Call vkGetFenceWin32HandleKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_framebuffer_tile_properties_qcom

pub unsafe fn get_framebuffer_tile_properties_qcom( device: &Device, framebuffer: Framebuffer, p_properties_count: *mut u32, p_properties: *mut TilePropertiesQCOM<'_>, ) -> Result<Result, CallError>
Call vkGetFramebufferTilePropertiesQCOM using this context’s cached function pointer.

Contract

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

Fnvk::get_generated_commands_memory_requirements_ext

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

Contract

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

Fnvk::get_generated_commands_memory_requirements_nv

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

Contract

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

Fnvk::get_gpa_device_clock_info_amd

pub unsafe fn get_gpa_device_clock_info_amd( device: &Device, p_info: *mut GpaDeviceGetClockInfoAMD<'_>, ) -> Result<Result, CallError>
Call vkGetGpaDeviceClockInfoAMD using this context’s cached function pointer.

Contract

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

Fnvk::get_gpa_session_results_amd

pub unsafe fn get_gpa_session_results_amd( device: &Device, gpa_session: GpaSessionAMD, sample_id: u32, p_size_in_bytes: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetGpaSessionResultsAMD using this context’s cached function pointer.

Contract

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