Realm

vk · Functions · C13

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

FnRustExperimental

Fnvk::cmd_set_blend_constants

pub unsafe fn cmd_set_blend_constants( device: &Device, command_buffer: CommandBuffer, blend_constants: &[f32; 4], ) -> Result<(), CallError>
Call vkCmdSetBlendConstants using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_checkpoint_nv

pub unsafe fn cmd_set_checkpoint_nv( device: &Device, command_buffer: CommandBuffer, p_checkpoint_marker: *const c_void, ) -> Result<(), CallError>
Call vkCmdSetCheckpointNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_coarse_sample_order_nv

pub unsafe fn cmd_set_coarse_sample_order_nv( device: &Device, command_buffer: CommandBuffer, sample_order_type: CoarseSampleOrderTypeNV, custom_sample_order_count: u32, p_custom_sample_orders: *const CoarseSampleOrderCustomNV<'_>, ) -> Result<(), CallError>
Call vkCmdSetCoarseSampleOrderNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_color_blend_advanced_ext

pub unsafe fn cmd_set_color_blend_advanced_ext( device: &Device, command_buffer: CommandBuffer, first_attachment: u32, attachment_count: u32, p_color_blend_advanced: *const ColorBlendAdvancedEXT, ) -> Result<(), CallError>
Call vkCmdSetColorBlendAdvancedEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_color_blend_enable_ext

pub unsafe fn cmd_set_color_blend_enable_ext( device: &Device, command_buffer: CommandBuffer, first_attachment: u32, attachment_count: u32, p_color_blend_enables: *const Bool32, ) -> Result<(), CallError>
Call vkCmdSetColorBlendEnableEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_color_blend_equation_ext

pub unsafe fn cmd_set_color_blend_equation_ext( device: &Device, command_buffer: CommandBuffer, first_attachment: u32, attachment_count: u32, p_color_blend_equations: *const ColorBlendEquationEXT, ) -> Result<(), CallError>
Call vkCmdSetColorBlendEquationEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_color_write_enable_ext

pub unsafe fn cmd_set_color_write_enable_ext( device: &Device, command_buffer: CommandBuffer, attachment_count: u32, p_color_write_enables: *const Bool32, ) -> Result<(), CallError>
Call vkCmdSetColorWriteEnableEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_color_write_mask_ext

pub unsafe fn cmd_set_color_write_mask_ext( device: &Device, command_buffer: CommandBuffer, first_attachment: u32, attachment_count: u32, p_color_write_masks: *const ColorComponentFlags, ) -> Result<(), CallError>
Call vkCmdSetColorWriteMaskEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_compute_occupancy_priority_nv

pub unsafe fn cmd_set_compute_occupancy_priority_nv( device: &Device, command_buffer: CommandBuffer, p_parameters: *const ComputeOccupancyPriorityParametersNV<'_>, ) -> Result<(), CallError>
Call vkCmdSetComputeOccupancyPriorityNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_conservative_rasterization_mode_ext

pub unsafe fn cmd_set_conservative_rasterization_mode_ext( device: &Device, command_buffer: CommandBuffer, conservative_rasterization_mode: ConservativeRasterizationModeEXT, ) -> Result<(), CallError>
Call vkCmdSetConservativeRasterizationModeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_coverage_modulation_mode_nv

pub unsafe fn cmd_set_coverage_modulation_mode_nv( device: &Device, command_buffer: CommandBuffer, coverage_modulation_mode: CoverageModulationModeNV, ) -> Result<(), CallError>
Call vkCmdSetCoverageModulationModeNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_coverage_modulation_table_enable_nv

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

Contract

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

Fnvk::cmd_set_coverage_modulation_table_nv

pub unsafe fn cmd_set_coverage_modulation_table_nv( device: &Device, command_buffer: CommandBuffer, coverage_modulation_table_count: u32, p_coverage_modulation_table: *const f32, ) -> Result<(), CallError>
Call vkCmdSetCoverageModulationTableNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_coverage_reduction_mode_nv

pub unsafe fn cmd_set_coverage_reduction_mode_nv( device: &Device, command_buffer: CommandBuffer, coverage_reduction_mode: CoverageReductionModeNV, ) -> Result<(), CallError>
Call vkCmdSetCoverageReductionModeNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_coverage_to_color_enable_nv

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

Contract

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

Fnvk::cmd_set_coverage_to_color_location_nv

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

Contract

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