Realm

vk · Functions · C12

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

FnRustExperimental

Fnvk::cmd_push_descriptor_set2_khr

pub unsafe fn cmd_push_descriptor_set2_khr( device: &Device, command_buffer: CommandBuffer, p_push_descriptor_set_info: *const PushDescriptorSetInfo<'_>, ) -> Result<(), CallError>
Call vkCmdPushDescriptorSet2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_push_descriptor_set_khr

pub unsafe fn cmd_push_descriptor_set_khr( device: &Device, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, set: u32, descriptor_write_count: u32, p_descriptor_writes: *const WriteDescriptorSet<'_>, ) -> Result<(), CallError>
Call vkCmdPushDescriptorSetKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_push_descriptor_set_with_template

pub unsafe fn cmd_push_descriptor_set_with_template( device: &Device, command_buffer: CommandBuffer, descriptor_update_template: DescriptorUpdateTemplate, layout: PipelineLayout, set: u32, p_data: *const c_void, ) -> Result<(), CallError>
Call vkCmdPushDescriptorSetWithTemplate using this context’s cached function pointer.

Contract

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

Fnvk::cmd_push_descriptor_set_with_template2

pub unsafe fn cmd_push_descriptor_set_with_template2( device: &Device, command_buffer: CommandBuffer, p_push_descriptor_set_with_template_info: *const PushDescriptorSetWithTemplateInfo<'_>, ) -> Result<(), CallError>
Call vkCmdPushDescriptorSetWithTemplate2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_push_descriptor_set_with_template2_khr

pub unsafe fn cmd_push_descriptor_set_with_template2_khr( device: &Device, command_buffer: CommandBuffer, p_push_descriptor_set_with_template_info: *const PushDescriptorSetWithTemplateInfo<'_>, ) -> Result<(), CallError>
Call vkCmdPushDescriptorSetWithTemplate2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_push_descriptor_set_with_template_khr

pub unsafe fn cmd_push_descriptor_set_with_template_khr( device: &Device, command_buffer: CommandBuffer, descriptor_update_template: DescriptorUpdateTemplate, layout: PipelineLayout, set: u32, p_data: *const c_void, ) -> Result<(), CallError>
Call vkCmdPushDescriptorSetWithTemplateKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_reset_event

pub unsafe fn cmd_reset_event( device: &Device, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, ) -> Result<(), CallError>
Call vkCmdResetEvent using this context’s cached function pointer.

Contract

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

Fnvk::cmd_reset_event2

pub unsafe fn cmd_reset_event2( device: &Device, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2, ) -> Result<(), CallError>
Call vkCmdResetEvent2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_reset_event2_khr

pub unsafe fn cmd_reset_event2_khr( device: &Device, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2, ) -> Result<(), CallError>
Call vkCmdResetEvent2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_reset_query_pool

pub unsafe fn cmd_reset_query_pool( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, ) -> Result<(), CallError>
Call vkCmdResetQueryPool using this context’s cached function pointer.

Contract

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

Fnvk::cmd_resolve_image

pub unsafe fn cmd_resolve_image( device: &Device, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageResolve], ) -> Result<(), CallError>
Call vkCmdResolveImage using this context’s cached function pointer.

Contract

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

Fnvk::cmd_resolve_image2

pub unsafe fn cmd_resolve_image2( device: &Device, command_buffer: CommandBuffer, resolve_image_info: &ResolveImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdResolveImage2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_resolve_image2_khr

pub unsafe fn cmd_resolve_image2_khr( device: &Device, command_buffer: CommandBuffer, resolve_image_info: &ResolveImageInfo2<'_>, ) -> Result<(), CallError>
Call vkCmdResolveImage2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_alpha_to_coverage_enable_ext

pub unsafe fn cmd_set_alpha_to_coverage_enable_ext( device: &Device, command_buffer: CommandBuffer, alpha_to_coverage_enable: Bool32, ) -> Result<(), CallError>
Call vkCmdSetAlphaToCoverageEnableEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_alpha_to_one_enable_ext

pub unsafe fn cmd_set_alpha_to_one_enable_ext( device: &Device, command_buffer: CommandBuffer, alpha_to_one_enable: Bool32, ) -> Result<(), CallError>
Call vkCmdSetAlphaToOneEnableEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_attachment_feedback_loop_enable_ext

pub unsafe fn cmd_set_attachment_feedback_loop_enable_ext( device: &Device, command_buffer: CommandBuffer, aspect_mask: ImageAspectFlags, ) -> Result<(), CallError>
Call vkCmdSetAttachmentFeedbackLoopEnableEXT using this context’s cached function pointer.

Contract

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