Realm

vk · Functions · C1

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

FnRustExperimental

Fnvk::clear_shader_instrumentation_metrics_arm

pub unsafe fn clear_shader_instrumentation_metrics_arm( device: &Device, instrumentation: ShaderInstrumentationARM, ) -> Result<(), CallError>
Call vkClearShaderInstrumentationMetricsARM using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_conditional_rendering2_ext

pub unsafe fn cmd_begin_conditional_rendering2_ext( device: &Device, command_buffer: CommandBuffer, p_conditional_rendering_begin: *const ConditionalRenderingBeginInfo2EXT<'_>, ) -> Result<(), CallError>
Call vkCmdBeginConditionalRendering2EXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_conditional_rendering_ext

pub unsafe fn cmd_begin_conditional_rendering_ext( device: &Device, command_buffer: CommandBuffer, p_conditional_rendering_begin: *const ConditionalRenderingBeginInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBeginConditionalRenderingEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_custom_resolve_ext

pub unsafe fn cmd_begin_custom_resolve_ext( device: &Device, command_buffer: CommandBuffer, p_begin_custom_resolve_info: *const BeginCustomResolveInfoEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBeginCustomResolveEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_debug_utils_label_ext

pub unsafe fn cmd_begin_debug_utils_label_ext( device: &Device, command_buffer: CommandBuffer, p_label_info: *const DebugUtilsLabelEXT<'_>, ) -> Result<(), CallError>
Call vkCmdBeginDebugUtilsLabelEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_gpa_sample_amd

pub unsafe fn cmd_begin_gpa_sample_amd( device: &Device, command_buffer: CommandBuffer, gpa_session: GpaSessionAMD, p_gpa_sample_begin_info: *const GpaSampleBeginInfoAMD<'_>, p_sample_id: *mut u32, ) -> Result<Result, CallError>
Call vkCmdBeginGpaSampleAMD using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_gpa_session_amd

pub unsafe fn cmd_begin_gpa_session_amd( device: &Device, command_buffer: CommandBuffer, gpa_session: GpaSessionAMD, ) -> Result<Result, CallError>
Call vkCmdBeginGpaSessionAMD using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_per_tile_execution_qcom

pub unsafe fn cmd_begin_per_tile_execution_qcom( device: &Device, command_buffer: CommandBuffer, p_per_tile_begin_info: *const PerTileBeginInfoQCOM<'_>, ) -> Result<(), CallError>
Call vkCmdBeginPerTileExecutionQCOM using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_query

pub unsafe fn cmd_begin_query( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags, ) -> Result<(), CallError>
Call vkCmdBeginQuery using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_query_indexed_ext

pub unsafe fn cmd_begin_query_indexed_ext( device: &Device, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags, index: u32, ) -> Result<(), CallError>
Call vkCmdBeginQueryIndexedEXT using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_render_pass

pub unsafe fn cmd_begin_render_pass( device: &Device, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo<'_>, contents: SubpassContents, ) -> Result<(), CallError>
Call vkCmdBeginRenderPass using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_render_pass2

pub unsafe fn cmd_begin_render_pass2( device: &Device, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo<'_>, subpass_begin_info: &SubpassBeginInfo<'_>, ) -> Result<(), CallError>
Call vkCmdBeginRenderPass2 using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_render_pass2_khr

pub unsafe fn cmd_begin_render_pass2_khr( device: &Device, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo<'_>, subpass_begin_info: &SubpassBeginInfo<'_>, ) -> Result<(), CallError>
Call vkCmdBeginRenderPass2KHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_rendering

pub unsafe fn cmd_begin_rendering( device: &Device, command_buffer: CommandBuffer, p_rendering_info: *const RenderingInfo<'_>, ) -> Result<(), CallError>
Call vkCmdBeginRendering using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_rendering_khr

pub unsafe fn cmd_begin_rendering_khr( device: &Device, command_buffer: CommandBuffer, p_rendering_info: *const RenderingInfo<'_>, ) -> Result<(), CallError>
Call vkCmdBeginRenderingKHR using this context’s cached function pointer.

Contract

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

Fnvk::cmd_begin_shader_instrumentation_arm

pub unsafe fn cmd_begin_shader_instrumentation_arm( device: &Device, command_buffer: CommandBuffer, instrumentation: ShaderInstrumentationARM, ) -> Result<(), CallError>
Call vkCmdBeginShaderInstrumentationARM using this context’s cached function pointer.

Contract

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