Realm

vk · Functions · C17

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

FnRustExperimental

Fnvk::cmd_set_performance_stream_marker_intel

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

Contract

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

Fnvk::cmd_set_polygon_mode_ext

pub unsafe fn cmd_set_polygon_mode_ext( device: &Device, command_buffer: CommandBuffer, polygon_mode: PolygonMode, ) -> Result<(), CallError>
Call vkCmdSetPolygonModeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_primitive_restart_enable

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

Contract

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

Fnvk::cmd_set_primitive_restart_enable_ext

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

Contract

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

Fnvk::cmd_set_primitive_restart_index_ext

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

Contract

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

Fnvk::cmd_set_primitive_topology

pub unsafe fn cmd_set_primitive_topology( device: &Device, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology, ) -> Result<(), CallError>
Call vkCmdSetPrimitiveTopology using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_primitive_topology_ext

pub unsafe fn cmd_set_primitive_topology_ext( device: &Device, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology, ) -> Result<(), CallError>
Call vkCmdSetPrimitiveTopologyEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_provoking_vertex_mode_ext

pub unsafe fn cmd_set_provoking_vertex_mode_ext( device: &Device, command_buffer: CommandBuffer, provoking_vertex_mode: ProvokingVertexModeEXT, ) -> Result<(), CallError>
Call vkCmdSetProvokingVertexModeEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_rasterization_samples_ext

pub unsafe fn cmd_set_rasterization_samples_ext( device: &Device, command_buffer: CommandBuffer, rasterization_samples: SampleCountFlagBits, ) -> Result<(), CallError>
Call vkCmdSetRasterizationSamplesEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_rasterization_stream_ext

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

Contract

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

Fnvk::cmd_set_rasterizer_discard_enable

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

Contract

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

Fnvk::cmd_set_rasterizer_discard_enable_ext

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

Contract

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

Fnvk::cmd_set_ray_tracing_pipeline_stack_size_khr

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

Contract

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

Fnvk::cmd_set_rendering_attachment_locations

pub unsafe fn cmd_set_rendering_attachment_locations( device: &Device, command_buffer: CommandBuffer, p_location_info: *const RenderingAttachmentLocationInfo<'_>, ) -> Result<(), CallError>
Call vkCmdSetRenderingAttachmentLocations using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_rendering_attachment_locations_khr

pub unsafe fn cmd_set_rendering_attachment_locations_khr( device: &Device, command_buffer: CommandBuffer, p_location_info: *const RenderingAttachmentLocationInfo<'_>, ) -> Result<(), CallError>
Call vkCmdSetRenderingAttachmentLocationsKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_rendering_input_attachment_indices

pub unsafe fn cmd_set_rendering_input_attachment_indices( device: &Device, command_buffer: CommandBuffer, p_input_attachment_index_info: *const RenderingInputAttachmentIndexInfo<'_>, ) -> Result<(), CallError>
Call vkCmdSetRenderingInputAttachmentIndices using this context’s cached function pointer.

Contract

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