Realm

vk · Functions · C16

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

FnRustExperimental

Fnvk::cmd_set_extra_primitive_overestimation_size_ext

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

Contract

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

Fnvk::cmd_set_fragment_shading_rate_enum_nv

pub unsafe fn cmd_set_fragment_shading_rate_enum_nv( device: &Device, command_buffer: CommandBuffer, shading_rate: FragmentShadingRateNV, combiner_ops: *const FragmentShadingRateCombinerOpKHR, ) -> Result<(), CallError>
Call vkCmdSetFragmentShadingRateEnumNV using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_fragment_shading_rate_khr

pub unsafe fn cmd_set_fragment_shading_rate_khr( device: &Device, command_buffer: CommandBuffer, p_fragment_size: *const Extent2D, combiner_ops: *const FragmentShadingRateCombinerOpKHR, ) -> Result<(), CallError>
Call vkCmdSetFragmentShadingRateKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_front_face

pub unsafe fn cmd_set_front_face( device: &Device, command_buffer: CommandBuffer, front_face: FrontFace, ) -> Result<(), CallError>
Call vkCmdSetFrontFace using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_front_face_ext

pub unsafe fn cmd_set_front_face_ext( device: &Device, command_buffer: CommandBuffer, front_face: FrontFace, ) -> Result<(), CallError>
Call vkCmdSetFrontFaceEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_line_rasterization_mode_ext

pub unsafe fn cmd_set_line_rasterization_mode_ext( device: &Device, command_buffer: CommandBuffer, line_rasterization_mode: LineRasterizationModeEXT, ) -> Result<(), CallError>
Call vkCmdSetLineRasterizationModeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_line_stipple

pub unsafe fn cmd_set_line_stipple( device: &Device, command_buffer: CommandBuffer, line_stipple_factor: u32, line_stipple_pattern: u16, ) -> Result<(), CallError>
Call vkCmdSetLineStipple using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_line_stipple_enable_ext

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

Contract

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

Fnvk::cmd_set_line_stipple_ext

pub unsafe fn cmd_set_line_stipple_ext( device: &Device, command_buffer: CommandBuffer, line_stipple_factor: u32, line_stipple_pattern: u16, ) -> Result<(), CallError>
Call vkCmdSetLineStippleEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_line_stipple_khr

pub unsafe fn cmd_set_line_stipple_khr( device: &Device, command_buffer: CommandBuffer, line_stipple_factor: u32, line_stipple_pattern: u16, ) -> Result<(), CallError>
Call vkCmdSetLineStippleKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_line_width

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

Contract

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

Fnvk::cmd_set_logic_op_enable_ext

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

Contract

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

Fnvk::cmd_set_logic_op_ext

pub unsafe fn cmd_set_logic_op_ext( device: &Device, command_buffer: CommandBuffer, logic_op: LogicOp, ) -> Result<(), CallError>
Call vkCmdSetLogicOpEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_patch_control_points_ext

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

Contract

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

Fnvk::cmd_set_performance_marker_intel

pub unsafe fn cmd_set_performance_marker_intel( device: &Device, command_buffer: CommandBuffer, p_marker_info: *const PerformanceMarkerInfoINTEL<'_>, ) -> Result<Result, CallError>
Call vkCmdSetPerformanceMarkerINTEL using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_performance_override_intel

pub unsafe fn cmd_set_performance_override_intel( device: &Device, command_buffer: CommandBuffer, p_override_info: *const PerformanceOverrideInfoINTEL<'_>, ) -> Result<Result, CallError>
Call vkCmdSetPerformanceOverrideINTEL using this context’s cached function pointer.

Contract

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