Realm

vk · Functions · S1

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

FnRustExperimental

Fnvk::set_buffer_collection_buffer_constraints_fuchsia

pub unsafe fn set_buffer_collection_buffer_constraints_fuchsia( device: &Device, collection: BufferCollectionFUCHSIA, p_buffer_constraints_info: *const BufferConstraintsInfoFUCHSIA<'_>, ) -> Result<Result, CallError>
Call vkSetBufferCollectionBufferConstraintsFUCHSIA using this context’s cached function pointer.

Contract

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

Fnvk::set_buffer_collection_image_constraints_fuchsia

pub unsafe fn set_buffer_collection_image_constraints_fuchsia( device: &Device, collection: BufferCollectionFUCHSIA, p_image_constraints_info: *const ImageConstraintsInfoFUCHSIA<'_>, ) -> Result<Result, CallError>
Call vkSetBufferCollectionImageConstraintsFUCHSIA using this context’s cached function pointer.

Contract

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

Fnvk::set_debug_utils_object_name_ext

pub unsafe fn set_debug_utils_object_name_ext( device: &Device, p_name_info: *const DebugUtilsObjectNameInfoEXT<'_>, ) -> Result<Result, CallError>
Call vkSetDebugUtilsObjectNameEXT using this context’s cached function pointer.

Contract

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

Fnvk::set_debug_utils_object_tag_ext

pub unsafe fn set_debug_utils_object_tag_ext( device: &Device, p_tag_info: *const DebugUtilsObjectTagInfoEXT<'_>, ) -> Result<Result, CallError>
Call vkSetDebugUtilsObjectTagEXT using this context’s cached function pointer.

Contract

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

Fnvk::set_device_memory_priority_ext

pub unsafe fn set_device_memory_priority_ext( device: &Device, memory: DeviceMemory, priority: f32, ) -> Result<(), CallError>
Call vkSetDeviceMemoryPriorityEXT using this context’s cached function pointer.

Contract

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

Fnvk::set_event

Contract

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

Fnvk::set_gpa_device_clock_mode_amd

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

Contract

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

Fnvk::set_hdr_metadata_ext

pub unsafe fn set_hdr_metadata_ext( device: &Device, swapchain_count: u32, p_swapchains: *const SwapchainKHR, p_metadata: *const HdrMetadataEXT<'_>, ) -> Result<(), CallError>
Call vkSetHdrMetadataEXT using this context’s cached function pointer.

Contract

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

Fnvk::set_latency_marker_legacy_nv

pub unsafe fn set_latency_marker_legacy_nv( device: &Device, frame_id: u64, marker: u32, ) -> Result<(), CallError>
Call vkSetLatencyMarkerLegacyNV using this context’s cached function pointer.

Contract

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

Fnvk::set_latency_marker_nv

pub unsafe fn set_latency_marker_nv( device: &Device, swapchain: SwapchainKHR, p_latency_marker_info: *const SetLatencyMarkerInfoNV<'_>, ) -> Result<(), CallError>
Call vkSetLatencyMarkerNV using this context’s cached function pointer.

Contract

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

Fnvk::set_latency_sleep_mode_legacy_nv

pub unsafe fn set_latency_sleep_mode_legacy_nv( device: &Device, low_latency_mode: Bool32, low_latency_boost: Bool32, minimum_interval_us: u32, ) -> Result<(), CallError>
Call vkSetLatencySleepModeLegacyNV using this context’s cached function pointer.

Contract

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

Fnvk::set_latency_sleep_mode_nv

pub unsafe fn set_latency_sleep_mode_nv( device: &Device, swapchain: SwapchainKHR, p_sleep_mode_info: *const LatencySleepModeInfoNV<'_>, ) -> Result<Result, CallError>
Call vkSetLatencySleepModeNV using this context’s cached function pointer.

Contract

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

Fnvk::set_local_dimming_amd

pub unsafe fn set_local_dimming_amd( device: &Device, swap_chain: SwapchainKHR, local_dimming_enable: Bool32, ) -> Result<(), CallError>
Call vkSetLocalDimmingAMD using this context’s cached function pointer.

Contract

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

Fnvk::set_private_data

pub unsafe fn set_private_data( device: &Device, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlot, data: u64, ) -> Result<Result, CallError>
Call vkSetPrivateData using this context’s cached function pointer.

Contract

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

Fnvk::set_private_data_ext

pub unsafe fn set_private_data_ext( device: &Device, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlot, data: u64, ) -> Result<Result, CallError>
Call vkSetPrivateDataEXT using this context’s cached function pointer.

Contract

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

Fnvk::set_swapchain_present_timing_queue_size_ext

pub unsafe fn set_swapchain_present_timing_queue_size_ext( device: &Device, swapchain: SwapchainKHR, size: u32, ) -> Result<Result, CallError>
Call vkSetSwapchainPresentTimingQueueSizeEXT using this context’s cached function pointer.

Contract

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