Realm

vk · Functions · C14

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

FnRustExperimental

Fnvk::cmd_set_cull_mode

pub unsafe fn cmd_set_cull_mode( device: &Device, command_buffer: CommandBuffer, cull_mode: CullModeFlags, ) -> Result<(), CallError>
Call vkCmdSetCullMode using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_cull_mode_ext

pub unsafe fn cmd_set_cull_mode_ext( device: &Device, command_buffer: CommandBuffer, cull_mode: CullModeFlags, ) -> Result<(), CallError>
Call vkCmdSetCullModeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_bias

pub unsafe fn cmd_set_depth_bias( device: &Device, command_buffer: CommandBuffer, depth_bias_constant_factor: f32, depth_bias_clamp: f32, depth_bias_slope_factor: f32, ) -> Result<(), CallError>
Call vkCmdSetDepthBias using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_bias2_ext

pub unsafe fn cmd_set_depth_bias2_ext( device: &Device, command_buffer: CommandBuffer, p_depth_bias_info: *const DepthBiasInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdSetDepthBias2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_bias_enable

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

Contract

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

Fnvk::cmd_set_depth_bias_enable_ext

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

Contract

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

Fnvk::cmd_set_depth_bounds

pub unsafe fn cmd_set_depth_bounds( device: &Device, command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32, ) -> Result<(), CallError>
Call vkCmdSetDepthBounds using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_bounds_test_enable

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

Contract

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

Fnvk::cmd_set_depth_bounds_test_enable_ext

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

Contract

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

Fnvk::cmd_set_depth_clamp_enable_ext

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

Contract

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

Fnvk::cmd_set_depth_clamp_range_ext

pub unsafe fn cmd_set_depth_clamp_range_ext( device: &Device, command_buffer: CommandBuffer, depth_clamp_mode: DepthClampModeEXT, p_depth_clamp_range: *const DepthClampRangeEXT, ) -> Result<(), CallError>
Call vkCmdSetDepthClampRangeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_clip_enable_ext

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

Contract

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

Fnvk::cmd_set_depth_clip_negative_one_to_one_ext

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

Contract

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

Fnvk::cmd_set_depth_compare_op

pub unsafe fn cmd_set_depth_compare_op( device: &Device, command_buffer: CommandBuffer, depth_compare_op: CompareOp, ) -> Result<(), CallError>
Call vkCmdSetDepthCompareOp using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_compare_op_ext

pub unsafe fn cmd_set_depth_compare_op_ext( device: &Device, command_buffer: CommandBuffer, depth_compare_op: CompareOp, ) -> Result<(), CallError>
Call vkCmdSetDepthCompareOpEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_depth_test_enable

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

Contract

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