Realm

vk · Functions · C15

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

FnRustExperimental

Fnvk::cmd_set_depth_test_enable_ext

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

Contract

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

Fnvk::cmd_set_depth_write_enable

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

Contract

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

Fnvk::cmd_set_depth_write_enable_ext

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

Contract

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

Fnvk::cmd_set_descriptor_buffer_offsets2_ext

pub unsafe fn cmd_set_descriptor_buffer_offsets2_ext( device: &Device, command_buffer: CommandBuffer, p_set_descriptor_buffer_offsets_info: *const SetDescriptorBufferOffsetsInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdSetDescriptorBufferOffsets2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_descriptor_buffer_offsets_ext

pub unsafe fn cmd_set_descriptor_buffer_offsets_ext( device: &Device, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, first_set: u32, set_count: u32, p_buffer_indices: *const u32, p_offsets: *const DeviceSize, ) -> Result<(), CallError>
Call vkCmdSetDescriptorBufferOffsetsEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_device_mask

pub unsafe fn cmd_set_device_mask( device: &Device, command_buffer: CommandBuffer, device_mask: u32, ) -> Result<(), CallError>
Call vkCmdSetDeviceMask using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_device_mask_khr

pub unsafe fn cmd_set_device_mask_khr( device: &Device, command_buffer: CommandBuffer, device_mask: u32, ) -> Result<(), CallError>
Call vkCmdSetDeviceMaskKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_discard_rectangle_enable_ext

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

Contract

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

Fnvk::cmd_set_discard_rectangle_ext

pub unsafe fn cmd_set_discard_rectangle_ext( device: &Device, command_buffer: CommandBuffer, first_discard_rectangle: u32, discard_rectangle_count: u32, p_discard_rectangles: *const Rect2D, ) -> Result<(), CallError>
Call vkCmdSetDiscardRectangleEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_discard_rectangle_mode_ext

pub unsafe fn cmd_set_discard_rectangle_mode_ext( device: &Device, command_buffer: CommandBuffer, discard_rectangle_mode: DiscardRectangleModeEXT, ) -> Result<(), CallError>
Call vkCmdSetDiscardRectangleModeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_dispatch_parameters_arm

pub unsafe fn cmd_set_dispatch_parameters_arm( device: &Device, command_buffer: CommandBuffer, p_dispatch_parameters: *const DispatchParametersARM<'_>, ) -> Result<(), CallError>
Call vkCmdSetDispatchParametersARM using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_event

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

Contract

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

Fnvk::cmd_set_event2

pub unsafe fn cmd_set_event2( device: &Device, command_buffer: CommandBuffer, event: Event, dependency_info: &DependencyInfo<'_>, ) -> Result<(), CallError>
Call vkCmdSetEvent2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_event2_khr

pub unsafe fn cmd_set_event2_khr( device: &Device, command_buffer: CommandBuffer, event: Event, dependency_info: &DependencyInfo<'_>, ) -> Result<(), CallError>
Call vkCmdSetEvent2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_exclusive_scissor_enable_nv

pub unsafe fn cmd_set_exclusive_scissor_enable_nv( device: &Device, command_buffer: CommandBuffer, first_exclusive_scissor: u32, exclusive_scissor_count: u32, p_exclusive_scissor_enables: *const Bool32, ) -> Result<(), CallError>
Call vkCmdSetExclusiveScissorEnableNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_exclusive_scissor_nv

pub unsafe fn cmd_set_exclusive_scissor_nv( device: &Device, command_buffer: CommandBuffer, first_exclusive_scissor: u32, exclusive_scissor_count: u32, p_exclusive_scissors: *const Rect2D, ) -> Result<(), CallError>
Call vkCmdSetExclusiveScissorNV using this context’s cached function pointer.

Contract

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