Realm

vk · Functions · C18

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

FnRustExperimental

Fnvk::cmd_set_rendering_input_attachment_indices_khr

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

Contract

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

Fnvk::cmd_set_representative_fragment_test_enable_nv

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

Contract

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

Fnvk::cmd_set_sample_locations_enable_ext

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

Contract

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

Fnvk::cmd_set_sample_locations_ext

pub unsafe fn cmd_set_sample_locations_ext( device: &Device, command_buffer: CommandBuffer, p_sample_locations_info: *const SampleLocationsInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdSetSampleLocationsEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_sample_mask_ext

pub unsafe fn cmd_set_sample_mask_ext( device: &Device, command_buffer: CommandBuffer, samples: SampleCountFlagBits, p_sample_mask: *const SampleMask, ) -> Result<(), CallError>
Call vkCmdSetSampleMaskEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_scissor

pub unsafe fn cmd_set_scissor( device: &Device, command_buffer: CommandBuffer, first_scissor: u32, scissors: &[Rect2D], ) -> Result<(), CallError>
Call vkCmdSetScissor using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_scissor_with_count

pub unsafe fn cmd_set_scissor_with_count( device: &Device, command_buffer: CommandBuffer, scissor_count: u32, p_scissors: *const Rect2D, ) -> Result<(), CallError>
Call vkCmdSetScissorWithCount using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_scissor_with_count_ext

pub unsafe fn cmd_set_scissor_with_count_ext( device: &Device, command_buffer: CommandBuffer, scissor_count: u32, p_scissors: *const Rect2D, ) -> Result<(), CallError>
Call vkCmdSetScissorWithCountEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_shading_rate_image_enable_nv

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

Contract

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

Fnvk::cmd_set_stencil_compare_mask

pub unsafe fn cmd_set_stencil_compare_mask( device: &Device, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32, ) -> Result<(), CallError>
Call vkCmdSetStencilCompareMask using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_stencil_op

pub unsafe fn cmd_set_stencil_op( device: &Device, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, fail_op: StencilOp, pass_op: StencilOp, depth_fail_op: StencilOp, compare_op: CompareOp, ) -> Result<(), CallError>
Call vkCmdSetStencilOp using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_stencil_op_ext

pub unsafe fn cmd_set_stencil_op_ext( device: &Device, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, fail_op: StencilOp, pass_op: StencilOp, depth_fail_op: StencilOp, compare_op: CompareOp, ) -> Result<(), CallError>
Call vkCmdSetStencilOpEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_stencil_reference

pub unsafe fn cmd_set_stencil_reference( device: &Device, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32, ) -> Result<(), CallError>
Call vkCmdSetStencilReference using this context’s cached function pointer.

Contract

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

Fnvk::cmd_set_stencil_test_enable

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

Contract

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

Fnvk::cmd_set_stencil_test_enable_ext

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

Contract

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

Fnvk::cmd_set_stencil_write_mask

pub unsafe fn cmd_set_stencil_write_mask( device: &Device, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32, ) -> Result<(), CallError>
Call vkCmdSetStencilWriteMask using this context’s cached function pointer.

Contract

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