Realm

vk · Functions · G2

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

FnRustExperimental

Fnvk::get_calibrated_timestamps_ext

pub unsafe fn get_calibrated_timestamps_ext( device: &Device, timestamp_count: u32, p_timestamp_infos: *const CalibratedTimestampInfoKHR<'_>, p_timestamps: *mut u64, p_max_deviation: *mut u64, ) -> Result<Result, CallError>
Call vkGetCalibratedTimestampsEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_calibrated_timestamps_khr

pub unsafe fn get_calibrated_timestamps_khr( device: &Device, timestamp_count: u32, p_timestamp_infos: *const CalibratedTimestampInfoKHR<'_>, p_timestamps: *mut u64, p_max_deviation: *mut u64, ) -> Result<Result, CallError>
Call vkGetCalibratedTimestampsKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_cluster_acceleration_structure_build_sizes_nv

pub unsafe fn get_cluster_acceleration_structure_build_sizes_nv( device: &Device, p_info: *const ClusterAccelerationStructureInputInfoNV<'_>, p_size_info: *mut AccelerationStructureBuildSizesInfoKHR<'_>, ) -> Result<(), CallError>
Call vkGetClusterAccelerationStructureBuildSizesNV using this context’s cached function pointer.

Contract

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

Fnvk::get_cuda_module_cache_nv

pub unsafe fn get_cuda_module_cache_nv( device: &Device, module: CudaModuleNV, p_cache_size: *mut usize, p_cache_data: *mut c_void, ) -> Result<Result, CallError>
Call vkGetCudaModuleCacheNV using this context’s cached function pointer.

Contract

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

Fnvk::get_data_graph_pipeline_available_properties_arm

pub unsafe fn get_data_graph_pipeline_available_properties_arm( device: &Device, p_pipeline_info: *const DataGraphPipelineInfoARM<'_>, p_properties_count: *mut u32, p_properties: *mut DataGraphPipelinePropertyARM, ) -> Result<Result, CallError>
Call vkGetDataGraphPipelineAvailablePropertiesARM using this context’s cached function pointer.

Contract

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

Fnvk::get_data_graph_pipeline_properties_arm

pub unsafe fn get_data_graph_pipeline_properties_arm( device: &Device, p_pipeline_info: *const DataGraphPipelineInfoARM<'_>, properties_count: u32, p_properties: *mut DataGraphPipelinePropertyQueryResultARM<'_>, ) -> Result<Result, CallError>
Call vkGetDataGraphPipelinePropertiesARM using this context’s cached function pointer.

Contract

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

Fnvk::get_data_graph_pipeline_session_bind_point_requirements_arm

pub unsafe fn get_data_graph_pipeline_session_bind_point_requirements_arm( device: &Device, p_info: *const DataGraphPipelineSessionBindPointRequirementsInfoARM<'_>, p_bind_point_requirement_count: *mut u32, p_bind_point_requirements: *mut DataGraphPipelineSessionBindPointRequirementARM<'_>, ) -> Result<Result, CallError>
Call vkGetDataGraphPipelineSessionBindPointRequirementsARM using this context’s cached function pointer.

Contract

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

Fnvk::get_data_graph_pipeline_session_memory_requirements_arm

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

Contract

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

Fnvk::get_deferred_operation_max_concurrency_khr

pub unsafe fn get_deferred_operation_max_concurrency_khr( device: &Device, operation: DeferredOperationKHR, ) -> Result<u32, CallError>
Call vkGetDeferredOperationMaxConcurrencyKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_deferred_operation_result_khr

pub unsafe fn get_deferred_operation_result_khr( device: &Device, operation: DeferredOperationKHR, ) -> Result<Result, CallError>
Call vkGetDeferredOperationResultKHR using this context’s cached function pointer.

Contract

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

Fnvk::get_descriptor_ext

pub unsafe fn get_descriptor_ext( device: &Device, p_descriptor_info: *const DescriptorGetInfoEXT<'_>, data_size: usize, p_descriptor: *mut c_void, ) -> Result<(), CallError>
Call vkGetDescriptorEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_descriptor_set_host_mapping_valve

pub unsafe fn get_descriptor_set_host_mapping_valve( device: &Device, descriptor_set: DescriptorSet, pp_data: *mut *mut c_void, ) -> Result<(), CallError>
Call vkGetDescriptorSetHostMappingVALVE using this context’s cached function pointer.

Contract

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

Fnvk::get_descriptor_set_layout_binding_offset_ext

pub unsafe fn get_descriptor_set_layout_binding_offset_ext( device: &Device, layout: DescriptorSetLayout, binding: u32, p_offset: *mut DeviceSize, ) -> Result<(), CallError>
Call vkGetDescriptorSetLayoutBindingOffsetEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_descriptor_set_layout_host_mapping_info_valve

pub unsafe fn get_descriptor_set_layout_host_mapping_info_valve( device: &Device, p_binding_reference: *const DescriptorSetBindingReferenceVALVE<'_>, p_host_mapping: *mut DescriptorSetLayoutHostMappingInfoVALVE<'_>, ) -> Result<(), CallError>
Call vkGetDescriptorSetLayoutHostMappingInfoVALVE using this context’s cached function pointer.

Contract

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

Fnvk::get_descriptor_set_layout_size_ext

pub unsafe fn get_descriptor_set_layout_size_ext( device: &Device, layout: DescriptorSetLayout, p_layout_size_in_bytes: *mut DeviceSize, ) -> Result<(), CallError>
Call vkGetDescriptorSetLayoutSizeEXT using this context’s cached function pointer.

Contract

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

Fnvk::get_descriptor_set_layout_support

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

Contract

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