Skip to main content

Device

Struct Device 

Source
pub struct Device { /* private fields */ }
Expand description

Device handle and dispatch. Call destroy explicitly; Drop never destroys Vulkan objects.

Implementations§

Source§

impl Device

Source

pub unsafe fn new_from_handle( instance: &Instance, handle: DeviceHandle, ) -> Result<Self, LoadError>

Associate a live raw device with the instance that created it.

§Safety

handle must be live and have been created from instance. The caller transfers ownership and must not create duplicate wrappers. On error the caller retains ownership. This raw import has no creation provenance; enabled-command and feature validation remain caller obligations.

Source

pub unsafe fn new_from_handle_with_capabilities( instance: &Instance, handle: DeviceHandle, capabilities: Capabilities, ) -> Result<Self, LoadError>

Import a native device with owned creation metadata and filtered dispatch.

§Errors

Reports wrong snapshot scope/parent metadata, a null handle or unavailable resolver/destruction. Every error leaves native ownership with the caller.

§Safety

Handle must be live, belong to instance and have no other wrapper owner. Capabilities must truthfully describe this exact device, its actual parent instance, selected physical-device version and enabled feature chain. Parent/callback lifetimes and ordinary Vulkan valid usage remain required.

Source

pub fn handle(&self) -> DeviceHandle

Return the raw handle. Its use must respect this device’s lifetime.

Source

pub fn fp(&self) -> &FnDevice

Borrow the full device dispatch table.

Source

pub fn capabilities(&self) -> Option<&Capabilities>

Creation version/extension provenance, or None for an imported raw handle.

Source

pub unsafe fn destroy(self, allocator: Option<&AllocationCallbacks>)

Destroy once, using callbacks compatible with device creation.

§Safety

All children and outstanding device operations must be complete. The allocator must match creation, with its user data and functions still live.

Source§

impl Device

Source

pub unsafe fn get_device_queue( &self, queue_family_index: u32, queue_index: u32, ) -> Result<Queue, CallError>

Retrieve a queue handle from this device.

§Safety

queue_family_index and queue_index must be within the bounds of the queue families requested at device creation.

Source§

impl Device

Source

pub unsafe fn get_device_proc_addr(&self, name: &CStr) -> PFN_vkVoidFunction

Resolve a device-specific function by name using this device’s gdpa.

Returns None if the function is not available for this device.

§Safety

name must be a valid NUL-terminated command name. The caller must cast and use the returned pointer only while this device is live.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch( &self, command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32, ) -> Result<(), CallError>

Record a compute dispatch into a command buffer.

§Errors

Returns CallError::MissingCommand if vkCmdDispatch was not loaded (extension not enabled or unsupported device).

§Safety

command_buffer must be in the recording state. group_count_* must not exceed VkPhysicalDeviceLimits::max_compute_work_group_count.

Source§

impl Device

Source

pub unsafe fn allocate_memory( &self, allocate_info: &MemoryAllocateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<DeviceMemory, CallError>

Allocate device memory.

§Errors

CallError::MissingCommand if unavailable; CallError::Vulkan on failure.

§Safety

The allocate_info must be valid and reference a legal memory type index. The allocation must be freed exactly once via Device::free_memory.

Source§

impl Device

Source

pub unsafe fn free_memory( &self, memory: DeviceMemory, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Free a previously allocated device memory object.

§Safety

All resources bound to this memory must have been destroyed. The memory must not be freed more than once.

Source§

impl Device

Source

pub unsafe fn map_memory( &self, memory: DeviceMemory, offset: DeviceSize, size: DeviceSize, flags: MemoryMapFlags, ) -> Result<*mut c_void, CallError>

Map a range of a device memory object into host address space.

Returns a raw pointer to the start of the mapped range.

§Safety

memory must be host-visible, not already mapped, and remain live until Device::unmap_memory is called.

Source§

impl Device

Source

pub unsafe fn unmap_memory(&self, memory: DeviceMemory) -> Result<(), CallError>

Unmap a previously mapped memory object.

§Safety

memory must currently be mapped and must not be used from host after this call.

Source§

impl Device

Source

pub unsafe fn flush_mapped_memory_ranges( &self, ranges: &[MappedMemoryRange], ) -> Result<(), CallError>

Flush mapped memory ranges to make host writes visible to the device.

Required for non-host-coherent memory types before GPU reads.

§Safety

All ranges must be within currently mapped memory objects.

Source§

impl Device

Source

pub unsafe fn invalidate_mapped_memory_ranges( &self, ranges: &[MappedMemoryRange], ) -> Result<(), CallError>

Invalidate mapped memory ranges to make device writes visible to the host.

Required for non-host-coherent memory types after GPU writes.

§Safety

All ranges must be within currently mapped memory objects.

Source§

impl Device

Source

pub unsafe fn create_buffer( &self, create_info: &BufferCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Buffer, CallError>

Create a buffer object.

§Safety

create_info must be valid. Memory must be bound before use.

Source§

impl Device

Source

pub unsafe fn destroy_buffer( &self, buffer: Buffer, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Destroy a buffer object.

§Safety

The buffer must not be in use by the GPU and must not be destroyed twice.

Source§

impl Device

Source

pub unsafe fn get_buffer_memory_requirements( &self, buffer: Buffer, ) -> Result<MemoryRequirements, CallError>

Query the memory requirements of a buffer (size, alignment, type bits).

§Safety

buffer must be a live handle created from this device.

Source§

impl Device

Source

pub unsafe fn bind_buffer_memory( &self, buffer: Buffer, memory: DeviceMemory, memory_offset: DeviceSize, ) -> Result<(), CallError>

Bind device memory to a buffer at the given offset.

§Safety

memory must have been allocated with a compatible type and sufficient size. The buffer must not already have memory bound.

Source§

impl Device

Source

pub unsafe fn create_command_pool( &self, create_info: &CommandPoolCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<CommandPool, CallError>

Create a command pool.

§Safety

create_info.queue_family_index must be valid for this device.

Source§

impl Device

Source

pub unsafe fn destroy_command_pool( &self, pool: CommandPool, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Destroy a command pool and all command buffers allocated from it.

§Safety

All command buffers from this pool must have finished execution on the GPU.

Source§

impl Device

Source

pub unsafe fn allocate_command_buffers( &self, allocate_info: &CommandBufferAllocateInfo, ) -> Result<Vec<CommandBuffer>, CallError>

Allocate command buffers from a pool.

§Safety

allocate_info.command_pool must be a live pool from this device.

Source§

impl Device

Source

pub unsafe fn free_command_buffers( &self, pool: CommandPool, buffers: &[CommandBuffer], ) -> Result<(), CallError>

Free command buffers back to their pool.

§Safety

All buffers must have finished execution on the GPU.

Source§

impl Device

Source

pub unsafe fn begin_command_buffer( &self, command_buffer: CommandBuffer, begin_info: &CommandBufferBeginInfo, ) -> Result<(), CallError>

Begin recording a command buffer.

§Safety

The command buffer must be in the initial or reset state.

Source§

impl Device

Source

pub unsafe fn end_command_buffer( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

End recording a command buffer.

§Safety

The command buffer must be in the recording state.

Source§

impl Device

Source

pub unsafe fn cmd_fill_buffer( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, data: u32, ) -> Result<(), CallError>

Fill a buffer region with a fixed 32-bit value.

§Safety

buffer must be bound to device memory, in the executable/pending state, and offset/size must be 4-byte aligned.

Source§

impl Device

Source

pub unsafe fn queue_submit( &self, queue: Queue, submits: &[SubmitInfo], fence: Fence, ) -> Result<(), CallError>

Submit command buffers to a queue.

§Safety

All resources referenced by the command buffers must be live and not mutated by the host until the fence signals.

Source§

impl Device

Source

pub unsafe fn queue_wait_idle(&self, queue: Queue) -> Result<(), CallError>

Wait for a queue to become idle (all submitted work complete).

§Safety

queue must be a live handle from this device.

Source§

impl Device

Source

pub unsafe fn create_fence( &self, create_info: &FenceCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Fence, CallError>

Create a fence.

§Safety

create_info must be valid. The fence must be destroyed exactly once.

Source§

impl Device

Source

pub unsafe fn destroy_fence( &self, fence: Fence, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Destroy a fence.

§Safety

The fence must not be pending or in use by the GPU.

Source§

impl Device

Source

pub unsafe fn wait_for_fences( &self, fences: &[Fence], wait_all: bool, timeout_ns: u64, ) -> Result<bool, CallError>

Block until one or all of the given fences signal, or the timeout expires.

Returns Ok(true) if all fences signalled within the timeout, Ok(false) if the timeout expired first.

§Safety

All fences must be live handles from this device.

Source§

impl Device

Source

pub unsafe fn reset_fences(&self, fences: &[Fence]) -> Result<(), CallError>

Reset fences to the unsignalled state.

§Safety

No fences in the slice may be pending (submitted but not yet signalled).

Source§

impl Device

Source

pub unsafe fn new( instance: &Instance, physical_device: PhysicalDevice, create_info: &DeviceCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Self, CallError>

Create a logical device through its parent instance’s cached dispatch.

§Safety

Device create info and callbacks must satisfy Vulkan valid usage and remain live as required.

Source§

impl Device

Source

pub unsafe fn device_wait_idle(&self) -> Result<(), CallError>

Call vkDeviceWaitIdle 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 vkDeviceWaitIdle valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_device_memory_commitment( &self, memory: DeviceMemory, committed_memory_in_bytes: &mut DeviceSize, ) -> Result<(), CallError>

Call vkGetDeviceMemoryCommitment 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 vkGetDeviceMemoryCommitment valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_image_memory_requirements( &self, image: Image, memory_requirements: &mut MemoryRequirements, ) -> Result<(), CallError>

Call vkGetImageMemoryRequirements 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 vkGetImageMemoryRequirements valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn bind_image_memory( &self, image: Image, memory: DeviceMemory, memory_offset: DeviceSize, ) -> Result<(), CallError>

Call vkBindImageMemory 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 vkBindImageMemory valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_image_sparse_memory_requirements( &self, image: Image, ) -> Result<Vec<SparseImageMemoryRequirements>, CallError>

Call vkGetImageSparseMemoryRequirements 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 vkGetImageSparseMemoryRequirements valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Retries incomplete/growing results with a bounded budget; returns an error if the query does not stabilize. Allocates the returned vector.

Source§

impl Device

Source

pub unsafe fn queue_bind_sparse( &self, queue: Queue, bind_info: &[BindSparseInfo], fence: Fence, ) -> Result<(), CallError>

Call vkQueueBindSparse 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 vkQueueBindSparse valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_fence_status(&self, fence: Fence) -> Result<Result, CallError>

Call vkGetFenceStatus 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 vkGetFenceStatus valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_semaphore( &self, create_info: &SemaphoreCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Semaphore, CallError>

Call vkCreateSemaphore 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 vkCreateSemaphore valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_semaphore( &self, semaphore: Semaphore, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroySemaphore 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 vkDestroySemaphore valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_event( &self, create_info: &EventCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Event, CallError>

Call vkCreateEvent 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 vkCreateEvent valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_event( &self, event: Event, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyEvent 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 vkDestroyEvent valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_event_status(&self, event: Event) -> Result<Result, CallError>

Call vkGetEventStatus 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 vkGetEventStatus valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn set_event(&self, event: Event) -> Result<(), CallError>

Call vkSetEvent 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 vkSetEvent valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn reset_event(&self, event: Event) -> Result<(), CallError>

Call vkResetEvent 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 vkResetEvent valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_query_pool( &self, create_info: &QueryPoolCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<QueryPool, CallError>

Call vkCreateQueryPool 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 vkCreateQueryPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_query_pool( &self, query_pool: QueryPool, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyQueryPool 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 vkDestroyQueryPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_query_pool_results( &self, query_pool: QueryPool, first_query: u32, query_count: u32, data: &mut [u8], stride: DeviceSize, flags: QueryResultFlags, ) -> Result<Result, CallError>

Call vkGetQueryPoolResults 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 vkGetQueryPoolResults valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Byte slices determine native byte counts. The caller must also satisfy the command’s data alignment, format, size-multiple and stride requirements; a byte slice alone does not establish those properties.

Source§

impl Device

Source

pub unsafe fn reset_query_pool( &self, query_pool: QueryPool, first_query: u32, query_count: u32, ) -> Result<(), CallError>

Call vkResetQueryPool 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 vkResetQueryPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn reset_query_pool_ext( &self, query_pool: QueryPool, first_query: u32, query_count: u32, ) -> Result<(), CallError>

Call vkResetQueryPoolEXT 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 vkResetQueryPoolEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_buffer_view( &self, create_info: &BufferViewCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<BufferView, CallError>

Call vkCreateBufferView 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 vkCreateBufferView valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_buffer_view( &self, buffer_view: BufferView, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyBufferView 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 vkDestroyBufferView valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_image( &self, create_info: &ImageCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Image, CallError>

Call vkCreateImage 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 vkCreateImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_image( &self, image: Image, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyImage 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 vkDestroyImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_image_subresource_layout( &self, image: Image, subresource: &ImageSubresource, layout: &mut SubresourceLayout, ) -> Result<(), CallError>

Call vkGetImageSubresourceLayout 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 vkGetImageSubresourceLayout valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_image_view( &self, create_info: &ImageViewCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<ImageView, CallError>

Call vkCreateImageView 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 vkCreateImageView valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_image_view( &self, image_view: ImageView, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyImageView 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 vkDestroyImageView valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_shader_module( &self, create_info: &ShaderModuleCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<ShaderModule, CallError>

Call vkCreateShaderModule 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 vkCreateShaderModule valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_shader_module( &self, shader_module: ShaderModule, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyShaderModule 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 vkDestroyShaderModule valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_pipeline_cache( &self, create_info: &PipelineCacheCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<PipelineCache, CallError>

Call vkCreatePipelineCache 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 vkCreatePipelineCache valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_pipeline_cache( &self, pipeline_cache: PipelineCache, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyPipelineCache 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 vkDestroyPipelineCache valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_pipeline_cache_data( &self, pipeline_cache: PipelineCache, ) -> Result<Vec<u8>, CallError>

Call vkGetPipelineCacheData 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 vkGetPipelineCacheData valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Retries incomplete/growing results with a bounded budget; returns an error if the query does not stabilize. Allocates the returned vector.

Source§

impl Device

Source

pub unsafe fn merge_pipeline_caches( &self, dst_cache: PipelineCache, src_caches: &[PipelineCache], ) -> Result<(), CallError>

Call vkMergePipelineCaches 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 vkMergePipelineCaches valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_pipeline_binaries_khr( &self, p_create_info: *const PipelineBinaryCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_binaries: *mut PipelineBinaryHandlesInfoKHR, ) -> Result<Result, CallError>

Call vkCreatePipelineBinariesKHR 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 vkCreatePipelineBinariesKHR 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.

Source§

impl Device

Source

pub unsafe fn destroy_pipeline_binary_khr( &self, pipeline_binary: PipelineBinaryKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyPipelineBinaryKHR 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 vkDestroyPipelineBinaryKHR 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_key_khr( &self, p_pipeline_create_info: *const PipelineCreateInfoKHR, p_pipeline_key: *mut PipelineBinaryKeyKHR, ) -> Result<Result, CallError>

Call vkGetPipelineKeyKHR 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 vkGetPipelineKeyKHR 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_binary_data_khr( &self, p_info: *const PipelineBinaryDataInfoKHR, p_pipeline_binary_key: *mut PipelineBinaryKeyKHR, p_pipeline_binary_data_size: *mut usize, p_pipeline_binary_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetPipelineBinaryDataKHR 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 vkGetPipelineBinaryDataKHR 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.

Source§

impl Device

Source

pub unsafe fn release_captured_pipeline_data_khr( &self, p_info: *const ReleaseCapturedPipelineDataInfoKHR, p_allocator: *const AllocationCallbacks, ) -> Result<Result, CallError>

Call vkReleaseCapturedPipelineDataKHR 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 vkReleaseCapturedPipelineDataKHR 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.

Source§

impl Device

Source

pub unsafe fn create_graphics_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[GraphicsPipelineCreateInfo], allocator: Option<&AllocationCallbacks>, pipelines: &mut [Pipeline], ) -> Result<Result, CallError>

Call vkCreateGraphicsPipelines 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 vkCreateGraphicsPipelines valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns non-error native status codes unchanged, including compile-required. On native failure, output slots can contain successfully created pipelines; the caller must inspect and destroy every non-null handle. Slots are not reset before the call: their previous contents must not own live resources.

Source§

impl Device

Source

pub unsafe fn create_compute_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[ComputePipelineCreateInfo], allocator: Option<&AllocationCallbacks>, pipelines: &mut [Pipeline], ) -> Result<Result, CallError>

Call vkCreateComputePipelines 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 vkCreateComputePipelines valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns non-error native status codes unchanged, including compile-required. On native failure, output slots can contain successfully created pipelines; the caller must inspect and destroy every non-null handle. Slots are not reset before the call: their previous contents must not own live resources.

Source§

impl Device

Source

pub unsafe fn get_device_subpass_shading_max_workgroup_size_huawei( &self, renderpass: RenderPass, p_max_workgroup_size: *mut Extent2D, ) -> Result<Result, CallError>

Call vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI 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 vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI 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.

Source§

impl Device

Source

pub unsafe fn destroy_pipeline( &self, pipeline: Pipeline, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyPipeline 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 vkDestroyPipeline valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_pipeline_layout( &self, create_info: &PipelineLayoutCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<PipelineLayout, CallError>

Call vkCreatePipelineLayout 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 vkCreatePipelineLayout valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_pipeline_layout( &self, pipeline_layout: PipelineLayout, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyPipelineLayout 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 vkDestroyPipelineLayout valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_sampler( &self, create_info: &SamplerCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Sampler, CallError>

Call vkCreateSampler 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 vkCreateSampler valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_sampler( &self, sampler: Sampler, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroySampler 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 vkDestroySampler valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_descriptor_set_layout( &self, create_info: &DescriptorSetLayoutCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<DescriptorSetLayout, CallError>

Call vkCreateDescriptorSetLayout 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 vkCreateDescriptorSetLayout valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_descriptor_set_layout( &self, descriptor_set_layout: DescriptorSetLayout, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyDescriptorSetLayout 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 vkDestroyDescriptorSetLayout valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_descriptor_pool( &self, create_info: &DescriptorPoolCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<DescriptorPool, CallError>

Call vkCreateDescriptorPool 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 vkCreateDescriptorPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_descriptor_pool( &self, descriptor_pool: DescriptorPool, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyDescriptorPool 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 vkDestroyDescriptorPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn reset_descriptor_pool( &self, descriptor_pool: DescriptorPool, flags: DescriptorPoolResetFlags, ) -> Result<(), CallError>

Call vkResetDescriptorPool 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 vkResetDescriptorPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn allocate_descriptor_sets( &self, allocate_info: &DescriptorSetAllocateInfo, descriptor_sets: &mut [DescriptorSet], ) -> Result<(), CallError>

Call vkAllocateDescriptorSets 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 vkAllocateDescriptorSets valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn free_descriptor_sets( &self, descriptor_pool: DescriptorPool, descriptor_sets: &[DescriptorSet], ) -> Result<(), CallError>

Call vkFreeDescriptorSets 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 vkFreeDescriptorSets valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn update_descriptor_sets( &self, descriptor_writes: &[WriteDescriptorSet], descriptor_copies: &[CopyDescriptorSet], ) -> Result<(), CallError>

Call vkUpdateDescriptorSets 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 vkUpdateDescriptorSets valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_framebuffer( &self, create_info: &FramebufferCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<Framebuffer, CallError>

Call vkCreateFramebuffer 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 vkCreateFramebuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_framebuffer( &self, framebuffer: Framebuffer, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyFramebuffer 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 vkDestroyFramebuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_render_pass( &self, create_info: &RenderPassCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<RenderPass, CallError>

Call vkCreateRenderPass 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 vkCreateRenderPass valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_render_pass( &self, render_pass: RenderPass, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyRenderPass 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 vkDestroyRenderPass valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_render_area_granularity( &self, render_pass: RenderPass, granularity: &mut Extent2D, ) -> Result<(), CallError>

Call vkGetRenderAreaGranularity 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 vkGetRenderAreaGranularity valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_rendering_area_granularity( &self, p_rendering_area_info: *const RenderingAreaInfo, p_granularity: *mut Extent2D, ) -> Result<(), CallError>

Call vkGetRenderingAreaGranularity 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 vkGetRenderingAreaGranularity 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.

Source§

impl Device

Source

pub unsafe fn get_rendering_area_granularity_khr( &self, p_rendering_area_info: *const RenderingAreaInfo, p_granularity: *mut Extent2D, ) -> Result<(), CallError>

Call vkGetRenderingAreaGranularityKHR 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 vkGetRenderingAreaGranularityKHR 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.

Source§

impl Device

Source

pub unsafe fn reset_command_pool( &self, command_pool: CommandPool, flags: CommandPoolResetFlags, ) -> Result<(), CallError>

Call vkResetCommandPool 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 vkResetCommandPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn reset_command_buffer( &self, command_buffer: CommandBuffer, flags: CommandBufferResetFlags, ) -> Result<(), CallError>

Call vkResetCommandBuffer 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 vkResetCommandBuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_bind_pipeline( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, ) -> Result<(), CallError>

Call vkCmdBindPipeline 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 vkCmdBindPipeline valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_primitive_restart_index_ext( &self, command_buffer: CommandBuffer, primitive_restart_index: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_attachment_feedback_loop_enable_ext( &self, command_buffer: CommandBuffer, aspect_mask: ImageAspectFlags, ) -> Result<(), CallError>

Call vkCmdSetAttachmentFeedbackLoopEnableEXT 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 vkCmdSetAttachmentFeedbackLoopEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport( &self, command_buffer: CommandBuffer, first_viewport: u32, viewports: &[Viewport], ) -> Result<(), CallError>

Call vkCmdSetViewport 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 vkCmdSetViewport valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_scissor( &self, command_buffer: CommandBuffer, first_scissor: u32, scissors: &[Rect2D], ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_line_width( &self, command_buffer: CommandBuffer, line_width: f32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bias( &self, command_buffer: CommandBuffer, depth_bias_constant_factor: f32, depth_bias_clamp: f32, depth_bias_slope_factor: f32, ) -> Result<(), CallError>

Call vkCmdSetDepthBias 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 vkCmdSetDepthBias valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_blend_constants( &self, command_buffer: CommandBuffer, blend_constants: &[f32; 4], ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bounds( &self, command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32, ) -> Result<(), CallError>

Call vkCmdSetDepthBounds 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 vkCmdSetDepthBounds valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_compare_mask( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_write_mask( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_reference( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_descriptor_sets( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, first_set: u32, descriptor_sets: &[DescriptorSet], dynamic_offsets: &[u32], ) -> Result<(), CallError>

Call vkCmdBindDescriptorSets 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 vkCmdBindDescriptorSets valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_bind_index_buffer( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, index_type: IndexType, ) -> Result<(), CallError>

Call vkCmdBindIndexBuffer 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 vkCmdBindIndexBuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_bind_vertex_buffers( &self, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], ) -> Result<(), CallError>

Call vkCmdBindVertexBuffers 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 vkCmdBindVertexBuffers valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw( &self, command_buffer: CommandBuffer, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32, ) -> Result<(), CallError>

Call vkCmdDraw 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 vkCmdDraw valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed( &self, command_buffer: CommandBuffer, index_count: u32, instance_count: u32, first_index: u32, vertex_offset: i32, first_instance: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndexed 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 vkCmdDrawIndexed valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_multi_ext( &self, command_buffer: CommandBuffer, draw_count: u32, p_vertex_info: *const MultiDrawInfoEXT, instance_count: u32, first_instance: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawMultiEXT 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 vkCmdDrawMultiEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_multi_indexed_ext( &self, command_buffer: CommandBuffer, draw_count: u32, p_index_info: *const MultiDrawIndexedInfoEXT, instance_count: u32, first_instance: u32, stride: u32, p_vertex_offset: *const i32, ) -> Result<(), CallError>

Call vkCmdDrawMultiIndexedEXT 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 vkCmdDrawMultiIndexedEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndirect 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 vkCmdDrawIndirect valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndexedIndirect 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 vkCmdDrawIndexedIndirect valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, ) -> Result<(), CallError>

Call vkCmdDispatchIndirect 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 vkCmdDispatchIndirect valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_subpass_shading_huawei( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdSubpassShadingHUAWEI 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 vkCmdSubpassShadingHUAWEI 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_cluster_huawei( &self, command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32, ) -> Result<(), CallError>

Call vkCmdDrawClusterHUAWEI 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 vkCmdDrawClusterHUAWEI 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_cluster_indirect_huawei( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, ) -> Result<(), CallError>

Call vkCmdDrawClusterIndirectHUAWEI 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 vkCmdDrawClusterIndirectHUAWEI 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.

Source§

impl Device

Source

pub unsafe fn cmd_update_pipeline_indirect_buffer_nv( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, ) -> Result<(), CallError>

Call vkCmdUpdatePipelineIndirectBufferNV 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 vkCmdUpdatePipelineIndirectBufferNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_buffer( &self, command_buffer: CommandBuffer, src_buffer: Buffer, dst_buffer: Buffer, regions: &[BufferCopy], ) -> Result<(), CallError>

Call vkCmdCopyBuffer 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 vkCmdCopyBuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageCopy], ) -> Result<(), CallError>

Call vkCmdCopyImage 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 vkCmdCopyImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_blit_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageBlit], filter: Filter, ) -> Result<(), CallError>

Call vkCmdBlitImage 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 vkCmdBlitImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_buffer_to_image( &self, command_buffer: CommandBuffer, src_buffer: Buffer, dst_image: Image, dst_image_layout: ImageLayout, regions: &[BufferImageCopy], ) -> Result<(), CallError>

Call vkCmdCopyBufferToImage 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 vkCmdCopyBufferToImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image_to_buffer( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_buffer: Buffer, regions: &[BufferImageCopy], ) -> Result<(), CallError>

Call vkCmdCopyImageToBuffer 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 vkCmdCopyImageToBuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_indirect_nv( &self, command_buffer: CommandBuffer, copy_buffer_address: DeviceAddress, copy_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdCopyMemoryIndirectNV 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 vkCmdCopyMemoryIndirectNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_indirect_khr( &self, command_buffer: CommandBuffer, p_copy_memory_indirect_info: *const CopyMemoryIndirectInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyMemoryIndirectKHR 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 vkCmdCopyMemoryIndirectKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_to_image_indirect_nv( &self, command_buffer: CommandBuffer, copy_buffer_address: DeviceAddress, copy_count: u32, stride: u32, dst_image: Image, dst_image_layout: ImageLayout, p_image_subresources: *const ImageSubresourceLayers, ) -> Result<(), CallError>

Call vkCmdCopyMemoryToImageIndirectNV 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 vkCmdCopyMemoryToImageIndirectNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_to_image_indirect_khr( &self, command_buffer: CommandBuffer, p_copy_memory_to_image_indirect_info: *const CopyMemoryToImageIndirectInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyMemoryToImageIndirectKHR 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 vkCmdCopyMemoryToImageIndirectKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_update_buffer( &self, command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, data: &[u8], ) -> Result<(), CallError>

Call vkCmdUpdateBuffer 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 vkCmdUpdateBuffer valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Byte slices determine native byte counts. The caller must also satisfy the command’s data alignment, format, size-multiple and stride requirements; a byte slice alone does not establish those properties.

Source§

impl Device

Source

pub unsafe fn cmd_clear_color_image( &self, command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, color: &ClearColorValue, ranges: &[ImageSubresourceRange], ) -> Result<(), CallError>

Call vkCmdClearColorImage 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 vkCmdClearColorImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_clear_depth_stencil_image( &self, command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, depth_stencil: &ClearDepthStencilValue, ranges: &[ImageSubresourceRange], ) -> Result<(), CallError>

Call vkCmdClearDepthStencilImage 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 vkCmdClearDepthStencilImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_clear_attachments( &self, command_buffer: CommandBuffer, attachments: &[ClearAttachment], rects: &[ClearRect], ) -> Result<(), CallError>

Call vkCmdClearAttachments 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 vkCmdClearAttachments valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_resolve_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[ImageResolve], ) -> Result<(), CallError>

Call vkCmdResolveImage 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 vkCmdResolveImage valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_event( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, ) -> Result<(), CallError>

Call vkCmdSetEvent 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 vkCmdSetEvent valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_reset_event( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, ) -> Result<(), CallError>

Call vkCmdResetEvent 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 vkCmdResetEvent valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_wait_events( &self, command_buffer: CommandBuffer, events: &[Event], src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags, memory_barriers: &[MemoryBarrier], buffer_memory_barriers: &[BufferMemoryBarrier], image_memory_barriers: &[ImageMemoryBarrier], ) -> Result<(), CallError>

Call vkCmdWaitEvents 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 vkCmdWaitEvents valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_pipeline_barrier( &self, command_buffer: CommandBuffer, src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags, dependency_flags: DependencyFlags, memory_barriers: &[MemoryBarrier], buffer_memory_barriers: &[BufferMemoryBarrier], image_memory_barriers: &[ImageMemoryBarrier], ) -> Result<(), CallError>

Call vkCmdPipelineBarrier 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 vkCmdPipelineBarrier valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_begin_query( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_query( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, ) -> Result<(), CallError>

Call vkCmdEndQuery 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 vkCmdEndQuery valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_begin_conditional_rendering_ext( &self, command_buffer: CommandBuffer, p_conditional_rendering_begin: *const ConditionalRenderingBeginInfoEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_conditional_rendering_ext( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdEndConditionalRenderingEXT 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 vkCmdEndConditionalRenderingEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_custom_resolve_ext( &self, command_buffer: CommandBuffer, p_begin_custom_resolve_info: *const BeginCustomResolveInfoEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_reset_query_pool( &self, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, ) -> Result<(), CallError>

Call vkCmdResetQueryPool 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 vkCmdResetQueryPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_write_timestamp( &self, command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlagBits, query_pool: QueryPool, query: u32, ) -> Result<(), CallError>

Call vkCmdWriteTimestamp 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 vkCmdWriteTimestamp valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_query_pool_results( &self, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, dst_buffer: Buffer, dst_offset: DeviceSize, stride: DeviceSize, flags: QueryResultFlags, ) -> Result<(), CallError>

Call vkCmdCopyQueryPoolResults 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 vkCmdCopyQueryPoolResults valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_push_constants( &self, command_buffer: CommandBuffer, layout: PipelineLayout, stage_flags: ShaderStageFlags, offset: u32, values: &[u8], ) -> Result<(), CallError>

Call vkCmdPushConstants 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 vkCmdPushConstants valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Byte slices determine native byte counts. The caller must also satisfy the command’s data alignment, format, size-multiple and stride requirements; a byte slice alone does not establish those properties.

Source§

impl Device

Source

pub unsafe fn cmd_begin_render_pass( &self, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo, contents: SubpassContents, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_next_subpass( &self, command_buffer: CommandBuffer, contents: SubpassContents, ) -> Result<(), CallError>

Call vkCmdNextSubpass 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 vkCmdNextSubpass valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_end_render_pass( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdEndRenderPass 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 vkCmdEndRenderPass valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_execute_commands( &self, command_buffer: CommandBuffer, command_buffers: &[CommandBuffer], ) -> Result<(), CallError>

Call vkCmdExecuteCommands 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 vkCmdExecuteCommands valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_shared_swapchains_khr( &self, swapchain_count: u32, p_create_infos: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchains: *mut SwapchainKHR, ) -> Result<Result, CallError>

Call vkCreateSharedSwapchainsKHR 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 vkCreateSharedSwapchainsKHR 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.

Source§

impl Device

Source

pub unsafe fn create_swapchain_khr( &self, p_create_info: *const SwapchainCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_swapchain: *mut SwapchainKHR, ) -> Result<Result, CallError>

Call vkCreateSwapchainKHR 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 vkCreateSwapchainKHR 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.

Source§

impl Device

Source

pub unsafe fn destroy_swapchain_khr( &self, swapchain: SwapchainKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroySwapchainKHR 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 vkDestroySwapchainKHR 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.

Source§

impl Device

Source

pub unsafe fn get_swapchain_images_khr( &self, swapchain: SwapchainKHR, p_swapchain_image_count: *mut u32, p_swapchain_images: *mut Image, ) -> Result<Result, CallError>

Call vkGetSwapchainImagesKHR 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 vkGetSwapchainImagesKHR 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.

Source§

impl Device

Source

pub unsafe fn acquire_next_image_khr( &self, swapchain: SwapchainKHR, timeout: u64, semaphore: Semaphore, fence: Fence, p_image_index: *mut u32, ) -> Result<Result, CallError>

Call vkAcquireNextImageKHR 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 vkAcquireNextImageKHR 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.

Source§

impl Device

Source

pub unsafe fn queue_present_khr( &self, queue: Queue, p_present_info: *const PresentInfoKHR, ) -> Result<Result, CallError>

Call vkQueuePresentKHR 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 vkQueuePresentKHR 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.

Source§

impl Device

Source

pub unsafe fn debug_marker_set_object_name_ext( &self, p_name_info: *const DebugMarkerObjectNameInfoEXT, ) -> Result<Result, CallError>

Call vkDebugMarkerSetObjectNameEXT 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 vkDebugMarkerSetObjectNameEXT 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.

Source§

impl Device

Source

pub unsafe fn debug_marker_set_object_tag_ext( &self, p_tag_info: *const DebugMarkerObjectTagInfoEXT, ) -> Result<Result, CallError>

Call vkDebugMarkerSetObjectTagEXT 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 vkDebugMarkerSetObjectTagEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_debug_marker_begin_ext( &self, command_buffer: CommandBuffer, p_marker_info: *const DebugMarkerMarkerInfoEXT, ) -> Result<(), CallError>

Call vkCmdDebugMarkerBeginEXT 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 vkCmdDebugMarkerBeginEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_debug_marker_end_ext( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdDebugMarkerEndEXT 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 vkCmdDebugMarkerEndEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_debug_marker_insert_ext( &self, command_buffer: CommandBuffer, p_marker_info: *const DebugMarkerMarkerInfoEXT, ) -> Result<(), CallError>

Call vkCmdDebugMarkerInsertEXT 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 vkCmdDebugMarkerInsertEXT 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.

Source§

impl Device

Source

pub unsafe fn get_memory_win32_handle_nv( &self, memory: DeviceMemory, handle_type: ExternalMemoryHandleTypeFlagsNV, p_handle: *mut HANDLE, ) -> Result<Result, CallError>

Call vkGetMemoryWin32HandleNV 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 vkGetMemoryWin32HandleNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_execute_generated_commands_nv( &self, command_buffer: CommandBuffer, is_preprocessed: Bool32, p_generated_commands_info: *const GeneratedCommandsInfoNV, ) -> Result<(), CallError>

Call vkCmdExecuteGeneratedCommandsNV 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 vkCmdExecuteGeneratedCommandsNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_preprocess_generated_commands_nv( &self, command_buffer: CommandBuffer, p_generated_commands_info: *const GeneratedCommandsInfoNV, ) -> Result<(), CallError>

Call vkCmdPreprocessGeneratedCommandsNV 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 vkCmdPreprocessGeneratedCommandsNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_pipeline_shader_group_nv( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, group_index: u32, ) -> Result<(), CallError>

Call vkCmdBindPipelineShaderGroupNV 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 vkCmdBindPipelineShaderGroupNV 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.

Source§

impl Device

Source

pub unsafe fn get_generated_commands_memory_requirements_nv( &self, p_info: *const GeneratedCommandsMemoryRequirementsInfoNV, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetGeneratedCommandsMemoryRequirementsNV 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 vkGetGeneratedCommandsMemoryRequirementsNV 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.

Source§

impl Device

Source

pub unsafe fn create_indirect_commands_layout_nv( &self, p_create_info: *const IndirectCommandsLayoutCreateInfoNV, p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutNV, ) -> Result<Result, CallError>

Call vkCreateIndirectCommandsLayoutNV 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 vkCreateIndirectCommandsLayoutNV 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.

Source§

impl Device

Source

pub unsafe fn destroy_indirect_commands_layout_nv( &self, indirect_commands_layout: IndirectCommandsLayoutNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyIndirectCommandsLayoutNV 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 vkDestroyIndirectCommandsLayoutNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_execute_generated_commands_ext( &self, command_buffer: CommandBuffer, is_preprocessed: Bool32, p_generated_commands_info: *const GeneratedCommandsInfoEXT, ) -> Result<(), CallError>

Call vkCmdExecuteGeneratedCommandsEXT 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 vkCmdExecuteGeneratedCommandsEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_preprocess_generated_commands_ext( &self, command_buffer: CommandBuffer, p_generated_commands_info: *const GeneratedCommandsInfoEXT, state_command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdPreprocessGeneratedCommandsEXT 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 vkCmdPreprocessGeneratedCommandsEXT 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.

Source§

impl Device

Source

pub unsafe fn get_generated_commands_memory_requirements_ext( &self, p_info: *const GeneratedCommandsMemoryRequirementsInfoEXT, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetGeneratedCommandsMemoryRequirementsEXT 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 vkGetGeneratedCommandsMemoryRequirementsEXT 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.

Source§

impl Device

Source

pub unsafe fn create_indirect_commands_layout_ext( &self, p_create_info: *const IndirectCommandsLayoutCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_indirect_commands_layout: *mut IndirectCommandsLayoutEXT, ) -> Result<Result, CallError>

Call vkCreateIndirectCommandsLayoutEXT 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 vkCreateIndirectCommandsLayoutEXT 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.

Source§

impl Device

Source

pub unsafe fn destroy_indirect_commands_layout_ext( &self, indirect_commands_layout: IndirectCommandsLayoutEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyIndirectCommandsLayoutEXT 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 vkDestroyIndirectCommandsLayoutEXT 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.

Source§

impl Device

Source

pub unsafe fn create_indirect_execution_set_ext( &self, p_create_info: *const IndirectExecutionSetCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_indirect_execution_set: *mut IndirectExecutionSetEXT, ) -> Result<Result, CallError>

Call vkCreateIndirectExecutionSetEXT 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 vkCreateIndirectExecutionSetEXT 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.

Source§

impl Device

Source

pub unsafe fn destroy_indirect_execution_set_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyIndirectExecutionSetEXT 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 vkDestroyIndirectExecutionSetEXT 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.

Source§

impl Device

Source

pub unsafe fn update_indirect_execution_set_pipeline_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, execution_set_write_count: u32, p_execution_set_writes: *const WriteIndirectExecutionSetPipelineEXT, ) -> Result<(), CallError>

Call vkUpdateIndirectExecutionSetPipelineEXT 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 vkUpdateIndirectExecutionSetPipelineEXT 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.

Source§

impl Device

Source

pub unsafe fn update_indirect_execution_set_shader_ext( &self, indirect_execution_set: IndirectExecutionSetEXT, execution_set_write_count: u32, p_execution_set_writes: *const WriteIndirectExecutionSetShaderEXT, ) -> Result<(), CallError>

Call vkUpdateIndirectExecutionSetShaderEXT 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 vkUpdateIndirectExecutionSetShaderEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, set: u32, descriptor_write_count: u32, p_descriptor_writes: *const WriteDescriptorSet, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSet 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 vkCmdPushDescriptorSet 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set_khr( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, set: u32, descriptor_write_count: u32, p_descriptor_writes: *const WriteDescriptorSet, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSetKHR 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 vkCmdPushDescriptorSetKHR 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.

Source§

impl Device

Source

pub unsafe fn trim_command_pool( &self, command_pool: CommandPool, flags: CommandPoolTrimFlags, ) -> Result<(), CallError>

Call vkTrimCommandPool 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 vkTrimCommandPool valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn trim_command_pool_khr( &self, command_pool: CommandPool, flags: CommandPoolTrimFlags, ) -> Result<(), CallError>

Call vkTrimCommandPoolKHR 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 vkTrimCommandPoolKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_memory_win32_handle_khr( &self, p_get_win32_handle_info: *const MemoryGetWin32HandleInfoKHR, p_handle: *mut HANDLE, ) -> Result<Result, CallError>

Call vkGetMemoryWin32HandleKHR 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 vkGetMemoryWin32HandleKHR 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.

Source§

impl Device

Source

pub unsafe fn get_memory_win32_handle_properties_khr( &self, handle_type: ExternalMemoryHandleTypeFlagBits, handle: HANDLE, p_memory_win32_handle_properties: *mut MemoryWin32HandlePropertiesKHR, ) -> Result<Result, CallError>

Call vkGetMemoryWin32HandlePropertiesKHR 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 vkGetMemoryWin32HandlePropertiesKHR 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.

Source§

impl Device

Source

pub unsafe fn get_memory_fd_khr( &self, p_get_fd_info: *const MemoryGetFdInfoKHR, p_fd: *mut i32, ) -> Result<Result, CallError>

Call vkGetMemoryFdKHR 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 vkGetMemoryFdKHR 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.

Source§

impl Device

Source

pub unsafe fn get_memory_fd_properties_khr( &self, handle_type: ExternalMemoryHandleTypeFlagBits, fd: i32, p_memory_fd_properties: *mut MemoryFdPropertiesKHR, ) -> Result<Result, CallError>

Call vkGetMemoryFdPropertiesKHR 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 vkGetMemoryFdPropertiesKHR 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.

Source§

impl Device

Source

pub unsafe fn get_memory_zircon_handle_fuchsia( &self, p_get_zircon_handle_info: *const MemoryGetZirconHandleInfoFUCHSIA, p_zircon_handle: *mut zx_handle_t, ) -> Result<Result, CallError>

Call vkGetMemoryZirconHandleFUCHSIA 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 vkGetMemoryZirconHandleFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn get_memory_zircon_handle_properties_fuchsia( &self, handle_type: ExternalMemoryHandleTypeFlagBits, zircon_handle: zx_handle_t, p_memory_zircon_handle_properties: *mut MemoryZirconHandlePropertiesFUCHSIA, ) -> Result<Result, CallError>

Call vkGetMemoryZirconHandlePropertiesFUCHSIA 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 vkGetMemoryZirconHandlePropertiesFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn get_memory_remote_address_nv( &self, p_memory_get_remote_address_info: *const MemoryGetRemoteAddressInfoNV, p_address: *mut RemoteAddressNV, ) -> Result<Result, CallError>

Call vkGetMemoryRemoteAddressNV 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 vkGetMemoryRemoteAddressNV 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.

Source§

impl Device

Source

pub unsafe fn get_semaphore_win32_handle_khr( &self, p_get_win32_handle_info: *const SemaphoreGetWin32HandleInfoKHR, p_handle: *mut HANDLE, ) -> Result<Result, CallError>

Call vkGetSemaphoreWin32HandleKHR 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 vkGetSemaphoreWin32HandleKHR 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.

Source§

impl Device

Source

pub unsafe fn import_semaphore_win32_handle_khr( &self, p_import_semaphore_win32_handle_info: *const ImportSemaphoreWin32HandleInfoKHR, ) -> Result<Result, CallError>

Call vkImportSemaphoreWin32HandleKHR 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 vkImportSemaphoreWin32HandleKHR 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.

Source§

impl Device

Source

pub unsafe fn get_semaphore_fd_khr( &self, p_get_fd_info: *const SemaphoreGetFdInfoKHR, p_fd: *mut i32, ) -> Result<Result, CallError>

Call vkGetSemaphoreFdKHR 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 vkGetSemaphoreFdKHR 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.

Source§

impl Device

Source

pub unsafe fn import_semaphore_fd_khr( &self, p_import_semaphore_fd_info: *const ImportSemaphoreFdInfoKHR, ) -> Result<Result, CallError>

Call vkImportSemaphoreFdKHR 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 vkImportSemaphoreFdKHR 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.

Source§

impl Device

Source

pub unsafe fn get_semaphore_zircon_handle_fuchsia( &self, p_get_zircon_handle_info: *const SemaphoreGetZirconHandleInfoFUCHSIA, p_zircon_handle: *mut zx_handle_t, ) -> Result<Result, CallError>

Call vkGetSemaphoreZirconHandleFUCHSIA 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 vkGetSemaphoreZirconHandleFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn import_semaphore_zircon_handle_fuchsia( &self, p_import_semaphore_zircon_handle_info: *const ImportSemaphoreZirconHandleInfoFUCHSIA, ) -> Result<Result, CallError>

Call vkImportSemaphoreZirconHandleFUCHSIA 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 vkImportSemaphoreZirconHandleFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn get_fence_win32_handle_khr( &self, p_get_win32_handle_info: *const FenceGetWin32HandleInfoKHR, p_handle: *mut HANDLE, ) -> Result<Result, CallError>

Call vkGetFenceWin32HandleKHR 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 vkGetFenceWin32HandleKHR 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.

Source§

impl Device

Source

pub unsafe fn import_fence_win32_handle_khr( &self, p_import_fence_win32_handle_info: *const ImportFenceWin32HandleInfoKHR, ) -> Result<Result, CallError>

Call vkImportFenceWin32HandleKHR 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 vkImportFenceWin32HandleKHR 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.

Source§

impl Device

Source

pub unsafe fn get_fence_fd_khr( &self, p_get_fd_info: *const FenceGetFdInfoKHR, p_fd: *mut i32, ) -> Result<Result, CallError>

Call vkGetFenceFdKHR 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 vkGetFenceFdKHR 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.

Source§

impl Device

Source

pub unsafe fn import_fence_fd_khr( &self, p_import_fence_fd_info: *const ImportFenceFdInfoKHR, ) -> Result<Result, CallError>

Call vkImportFenceFdKHR 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 vkImportFenceFdKHR 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.

Source§

impl Device

Source

pub unsafe fn display_power_control_ext( &self, display: DisplayKHR, p_display_power_info: *const DisplayPowerInfoEXT, ) -> Result<Result, CallError>

Call vkDisplayPowerControlEXT 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 vkDisplayPowerControlEXT 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.

Source§

impl Device

Source

pub unsafe fn register_device_event_ext( &self, p_device_event_info: *const DeviceEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result<Result, CallError>

Call vkRegisterDeviceEventEXT 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 vkRegisterDeviceEventEXT 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.

Source§

impl Device

Source

pub unsafe fn register_display_event_ext( &self, display: DisplayKHR, p_display_event_info: *const DisplayEventInfoEXT, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence, ) -> Result<Result, CallError>

Call vkRegisterDisplayEventEXT 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 vkRegisterDisplayEventEXT 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.

Source§

impl Device

Source

pub unsafe fn get_swapchain_counter_ext( &self, swapchain: SwapchainKHR, counter: SurfaceCounterFlagBitsEXT, p_counter_value: *mut u64, ) -> Result<Result, CallError>

Call vkGetSwapchainCounterEXT 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 vkGetSwapchainCounterEXT 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.

Source§

impl Device

Source

pub unsafe fn get_device_group_peer_memory_features( &self, heap_index: u32, local_device_index: u32, remote_device_index: u32, peer_memory_features: &mut PeerMemoryFeatureFlags, ) -> Result<(), CallError>

Call vkGetDeviceGroupPeerMemoryFeatures 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 vkGetDeviceGroupPeerMemoryFeatures valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_device_group_peer_memory_features_khr( &self, heap_index: u32, local_device_index: u32, remote_device_index: u32, peer_memory_features: &mut PeerMemoryFeatureFlags, ) -> Result<(), CallError>

Call vkGetDeviceGroupPeerMemoryFeaturesKHR 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 vkGetDeviceGroupPeerMemoryFeaturesKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn bind_buffer_memory2( &self, bind_infos: &[BindBufferMemoryInfo], ) -> Result<(), CallError>

Call vkBindBufferMemory2 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 vkBindBufferMemory2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn bind_buffer_memory2_khr( &self, bind_infos: &[BindBufferMemoryInfo], ) -> Result<(), CallError>

Call vkBindBufferMemory2KHR 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 vkBindBufferMemory2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn bind_image_memory2( &self, bind_infos: &[BindImageMemoryInfo], ) -> Result<(), CallError>

Call vkBindImageMemory2 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 vkBindImageMemory2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn bind_image_memory2_khr( &self, bind_infos: &[BindImageMemoryInfo], ) -> Result<(), CallError>

Call vkBindImageMemory2KHR 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 vkBindImageMemory2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_device_mask( &self, command_buffer: CommandBuffer, device_mask: u32, ) -> Result<(), CallError>

Call vkCmdSetDeviceMask 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 vkCmdSetDeviceMask valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_device_mask_khr( &self, command_buffer: CommandBuffer, device_mask: u32, ) -> Result<(), CallError>

Call vkCmdSetDeviceMaskKHR 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 vkCmdSetDeviceMaskKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_device_group_present_capabilities_khr( &self, p_device_group_present_capabilities: *mut DeviceGroupPresentCapabilitiesKHR, ) -> Result<Result, CallError>

Call vkGetDeviceGroupPresentCapabilitiesKHR 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 vkGetDeviceGroupPresentCapabilitiesKHR 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.

Source§

impl Device

Source

pub unsafe fn get_device_group_surface_present_modes_khr( &self, surface: SurfaceKHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR, ) -> Result<Result, CallError>

Call vkGetDeviceGroupSurfacePresentModesKHR 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 vkGetDeviceGroupSurfacePresentModesKHR 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.

Source§

impl Device

Source

pub unsafe fn acquire_next_image2_khr( &self, p_acquire_info: *const AcquireNextImageInfoKHR, p_image_index: *mut u32, ) -> Result<Result, CallError>

Call vkAcquireNextImage2KHR 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 vkAcquireNextImage2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_base( &self, command_buffer: CommandBuffer, base_group_x: u32, base_group_y: u32, base_group_z: u32, group_count_x: u32, group_count_y: u32, group_count_z: u32, ) -> Result<(), CallError>

Call vkCmdDispatchBase 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 vkCmdDispatchBase valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_base_khr( &self, command_buffer: CommandBuffer, base_group_x: u32, base_group_y: u32, base_group_z: u32, group_count_x: u32, group_count_y: u32, group_count_z: u32, ) -> Result<(), CallError>

Call vkCmdDispatchBaseKHR 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 vkCmdDispatchBaseKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_descriptor_update_template( &self, create_info: &DescriptorUpdateTemplateCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<DescriptorUpdateTemplate, CallError>

Call vkCreateDescriptorUpdateTemplate 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 vkCreateDescriptorUpdateTemplate valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_descriptor_update_template_khr( &self, create_info: &DescriptorUpdateTemplateCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<DescriptorUpdateTemplate, CallError>

Call vkCreateDescriptorUpdateTemplateKHR 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 vkCreateDescriptorUpdateTemplateKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_descriptor_update_template( &self, descriptor_update_template: DescriptorUpdateTemplate, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyDescriptorUpdateTemplate 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 vkDestroyDescriptorUpdateTemplate valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_descriptor_update_template_khr( &self, descriptor_update_template: DescriptorUpdateTemplate, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroyDescriptorUpdateTemplateKHR 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 vkDestroyDescriptorUpdateTemplateKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn update_descriptor_set_with_template( &self, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, data: *const c_void, ) -> Result<(), CallError>

Call vkUpdateDescriptorSetWithTemplate 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 vkUpdateDescriptorSetWithTemplate valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Data must address initialized descriptor payloads with the alignment, offsets, strides and extent declared by descriptor_update_template. No byte size can be inferred from this pointer; the caller guarantees the entire native read.

Source§

impl Device

Source

pub unsafe fn update_descriptor_set_with_template_khr( &self, descriptor_set: DescriptorSet, descriptor_update_template: DescriptorUpdateTemplate, data: *const c_void, ) -> Result<(), CallError>

Call vkUpdateDescriptorSetWithTemplateKHR 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 vkUpdateDescriptorSetWithTemplateKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Data must address initialized descriptor payloads with the alignment, offsets, strides and extent declared by descriptor_update_template. No byte size can be inferred from this pointer; the caller guarantees the entire native read.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set_with_template( &self, command_buffer: CommandBuffer, descriptor_update_template: DescriptorUpdateTemplate, layout: PipelineLayout, set: u32, p_data: *const c_void, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSetWithTemplate 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 vkCmdPushDescriptorSetWithTemplate 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set_with_template_khr( &self, command_buffer: CommandBuffer, descriptor_update_template: DescriptorUpdateTemplate, layout: PipelineLayout, set: u32, p_data: *const c_void, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSetWithTemplateKHR 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 vkCmdPushDescriptorSetWithTemplateKHR 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.

Source§

impl Device

Source

pub unsafe fn set_hdr_metadata_ext( &self, swapchain_count: u32, p_swapchains: *const SwapchainKHR, p_metadata: *const HdrMetadataEXT, ) -> Result<(), CallError>

Call vkSetHdrMetadataEXT 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 vkSetHdrMetadataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_swapchain_status_khr( &self, swapchain: SwapchainKHR, ) -> Result<Result, CallError>

Call vkGetSwapchainStatusKHR 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 vkGetSwapchainStatusKHR 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.

Source§

impl Device

Source

pub unsafe fn get_refresh_cycle_duration_google( &self, swapchain: SwapchainKHR, p_display_timing_properties: *mut RefreshCycleDurationGOOGLE, ) -> Result<Result, CallError>

Call vkGetRefreshCycleDurationGOOGLE 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 vkGetRefreshCycleDurationGOOGLE 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.

Source§

impl Device

Source

pub unsafe fn get_past_presentation_timing_google( &self, swapchain: SwapchainKHR, p_presentation_timing_count: *mut u32, p_presentation_timings: *mut PastPresentationTimingGOOGLE, ) -> Result<Result, CallError>

Call vkGetPastPresentationTimingGOOGLE 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 vkGetPastPresentationTimingGOOGLE 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport_w_scaling_nv( &self, command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_viewport_w_scalings: *const ViewportWScalingNV, ) -> Result<(), CallError>

Call vkCmdSetViewportWScalingNV 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 vkCmdSetViewportWScalingNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_discard_rectangle_ext( &self, command_buffer: CommandBuffer, first_discard_rectangle: u32, discard_rectangle_count: u32, p_discard_rectangles: *const Rect2D, ) -> Result<(), CallError>

Call vkCmdSetDiscardRectangleEXT 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 vkCmdSetDiscardRectangleEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_discard_rectangle_enable_ext( &self, command_buffer: CommandBuffer, discard_rectangle_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDiscardRectangleEnableEXT 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 vkCmdSetDiscardRectangleEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_discard_rectangle_mode_ext( &self, command_buffer: CommandBuffer, discard_rectangle_mode: DiscardRectangleModeEXT, ) -> Result<(), CallError>

Call vkCmdSetDiscardRectangleModeEXT 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 vkCmdSetDiscardRectangleModeEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_sample_locations_ext( &self, command_buffer: CommandBuffer, p_sample_locations_info: *const SampleLocationsInfoEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn get_buffer_memory_requirements2( &self, info: &BufferMemoryRequirementsInfo2, memory_requirements: &mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetBufferMemoryRequirements2 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 vkGetBufferMemoryRequirements2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_buffer_memory_requirements2_khr( &self, info: &BufferMemoryRequirementsInfo2, memory_requirements: &mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetBufferMemoryRequirements2KHR 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 vkGetBufferMemoryRequirements2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_image_memory_requirements2( &self, info: &ImageMemoryRequirementsInfo2, memory_requirements: &mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetImageMemoryRequirements2 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 vkGetImageMemoryRequirements2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_image_memory_requirements2_khr( &self, info: &ImageMemoryRequirementsInfo2, memory_requirements: &mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetImageMemoryRequirements2KHR 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 vkGetImageMemoryRequirements2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_image_sparse_memory_requirements2( &self, info: &ImageSparseMemoryRequirementsInfo2, sparse_memory_requirement_count: &mut u32, sparse_memory_requirements: Option<&mut [SparseImageMemoryRequirements2]>, ) -> Result<(), CallError>

Call vkGetImageSparseMemoryRequirements2 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 vkGetImageSparseMemoryRequirements2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Device

Source

pub unsafe fn get_image_sparse_memory_requirements2_khr( &self, info: &ImageSparseMemoryRequirementsInfo2, sparse_memory_requirement_count: &mut u32, sparse_memory_requirements: Option<&mut [SparseImageMemoryRequirements2]>, ) -> Result<(), CallError>

Call vkGetImageSparseMemoryRequirements2KHR 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 vkGetImageSparseMemoryRequirements2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Pass None to query the count, or Some with fully initialized output records and live, valid output chains. The slice length supplies native capacity; count receives the native number available/written. Some(empty) is a zero- capacity fill, not a count query. No allocation, retry, header reset or chain replacement occurs. Handle INCOMPLETE (result queries) or re-query for growth (void queries) explicitly. Output contents after native errors follow Vulkan.

Source§

impl Device

Source

pub unsafe fn get_device_buffer_memory_requirements( &self, p_info: *const DeviceBufferMemoryRequirements, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceBufferMemoryRequirements 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 vkGetDeviceBufferMemoryRequirements 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.

Source§

impl Device

Source

pub unsafe fn get_device_buffer_memory_requirements_khr( &self, p_info: *const DeviceBufferMemoryRequirements, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceBufferMemoryRequirementsKHR 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 vkGetDeviceBufferMemoryRequirementsKHR 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.

Source§

impl Device

Source

pub unsafe fn get_device_image_memory_requirements( &self, p_info: *const DeviceImageMemoryRequirements, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceImageMemoryRequirements 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 vkGetDeviceImageMemoryRequirements 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.

Source§

impl Device

Source

pub unsafe fn get_device_image_memory_requirements_khr( &self, p_info: *const DeviceImageMemoryRequirements, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceImageMemoryRequirementsKHR 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 vkGetDeviceImageMemoryRequirementsKHR 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.

Source§

impl Device

Source

pub unsafe fn get_device_image_sparse_memory_requirements( &self, p_info: *const DeviceImageMemoryRequirements, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceImageSparseMemoryRequirements 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 vkGetDeviceImageSparseMemoryRequirements 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.

Source§

impl Device

Source

pub unsafe fn get_device_image_sparse_memory_requirements_khr( &self, p_info: *const DeviceImageMemoryRequirements, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceImageSparseMemoryRequirementsKHR 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 vkGetDeviceImageSparseMemoryRequirementsKHR 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.

Source§

impl Device

Source

pub unsafe fn create_sampler_ycbcr_conversion( &self, create_info: &SamplerYcbcrConversionCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<SamplerYcbcrConversion, CallError>

Call vkCreateSamplerYcbcrConversion 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 vkCreateSamplerYcbcrConversion valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_sampler_ycbcr_conversion_khr( &self, create_info: &SamplerYcbcrConversionCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> Result<SamplerYcbcrConversion, CallError>

Call vkCreateSamplerYcbcrConversionKHR 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 vkCreateSamplerYcbcrConversionKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_sampler_ycbcr_conversion( &self, ycbcr_conversion: SamplerYcbcrConversion, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroySamplerYcbcrConversion 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 vkDestroySamplerYcbcrConversion valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn destroy_sampler_ycbcr_conversion_khr( &self, ycbcr_conversion: SamplerYcbcrConversion, allocator: Option<&AllocationCallbacks>, ) -> Result<(), CallError>

Call vkDestroySamplerYcbcrConversionKHR 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 vkDestroySamplerYcbcrConversionKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_device_queue2( &self, queue_info: &DeviceQueueInfo2, queue: &mut Queue, ) -> Result<(), CallError>

Call vkGetDeviceQueue2 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 vkGetDeviceQueue2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_validation_cache_ext( &self, p_create_info: *const ValidationCacheCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_validation_cache: *mut ValidationCacheEXT, ) -> Result<Result, CallError>

Call vkCreateValidationCacheEXT 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 vkCreateValidationCacheEXT 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.

Source§

impl Device

Source

pub unsafe fn destroy_validation_cache_ext( &self, validation_cache: ValidationCacheEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyValidationCacheEXT 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 vkDestroyValidationCacheEXT 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.

Source§

impl Device

Source

pub unsafe fn get_validation_cache_data_ext( &self, validation_cache: ValidationCacheEXT, p_data_size: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetValidationCacheDataEXT 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 vkGetValidationCacheDataEXT 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.

Source§

impl Device

Source

pub unsafe fn merge_validation_caches_ext( &self, dst_cache: ValidationCacheEXT, src_cache_count: u32, p_src_caches: *const ValidationCacheEXT, ) -> Result<Result, CallError>

Call vkMergeValidationCachesEXT 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 vkMergeValidationCachesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_descriptor_set_layout_support( &self, create_info: &DescriptorSetLayoutCreateInfo, support: &mut DescriptorSetLayoutSupport, ) -> Result<(), CallError>

Call vkGetDescriptorSetLayoutSupport 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 vkGetDescriptorSetLayoutSupport valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_descriptor_set_layout_support_khr( &self, create_info: &DescriptorSetLayoutCreateInfo, support: &mut DescriptorSetLayoutSupport, ) -> Result<(), CallError>

Call vkGetDescriptorSetLayoutSupportKHR 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 vkGetDescriptorSetLayoutSupportKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_shader_info_amd( &self, pipeline: Pipeline, shader_stage: ShaderStageFlagBits, info_type: ShaderInfoTypeAMD, p_info_size: *mut usize, p_info: *mut c_void, ) -> Result<Result, CallError>

Call vkGetShaderInfoAMD 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 vkGetShaderInfoAMD 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.

Source§

impl Device

Source

pub unsafe fn set_local_dimming_amd( &self, swap_chain: SwapchainKHR, local_dimming_enable: Bool32, ) -> Result<(), CallError>

Call vkSetLocalDimmingAMD 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 vkSetLocalDimmingAMD 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.

Source§

impl Device

Source

pub unsafe fn get_calibrated_timestamps_khr( &self, timestamp_count: u32, p_timestamp_infos: *const CalibratedTimestampInfoKHR, p_timestamps: *mut u64, p_max_deviation: *mut u64, ) -> Result<Result, CallError>

Call vkGetCalibratedTimestampsKHR 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 vkGetCalibratedTimestampsKHR 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.

Source§

impl Device

Source

pub unsafe fn get_calibrated_timestamps_ext( &self, timestamp_count: u32, p_timestamp_infos: *const CalibratedTimestampInfoKHR, p_timestamps: *mut u64, p_max_deviation: *mut u64, ) -> Result<Result, CallError>

Call vkGetCalibratedTimestampsEXT 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 vkGetCalibratedTimestampsEXT 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.

Source§

impl Device

Source

pub unsafe fn set_debug_utils_object_name_ext( &self, p_name_info: *const DebugUtilsObjectNameInfoEXT, ) -> Result<Result, CallError>

Call vkSetDebugUtilsObjectNameEXT 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 vkSetDebugUtilsObjectNameEXT 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.

Source§

impl Device

Source

pub unsafe fn set_debug_utils_object_tag_ext( &self, p_tag_info: *const DebugUtilsObjectTagInfoEXT, ) -> Result<Result, CallError>

Call vkSetDebugUtilsObjectTagEXT 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 vkSetDebugUtilsObjectTagEXT 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.

Source§

impl Device

Source

pub unsafe fn queue_begin_debug_utils_label_ext( &self, queue: Queue, p_label_info: *const DebugUtilsLabelEXT, ) -> Result<(), CallError>

Call vkQueueBeginDebugUtilsLabelEXT 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 vkQueueBeginDebugUtilsLabelEXT 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.

Source§

impl Device

Source

pub unsafe fn queue_end_debug_utils_label_ext( &self, queue: Queue, ) -> Result<(), CallError>

Call vkQueueEndDebugUtilsLabelEXT 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 vkQueueEndDebugUtilsLabelEXT 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.

Source§

impl Device

Source

pub unsafe fn queue_insert_debug_utils_label_ext( &self, queue: Queue, p_label_info: *const DebugUtilsLabelEXT, ) -> Result<(), CallError>

Call vkQueueInsertDebugUtilsLabelEXT 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 vkQueueInsertDebugUtilsLabelEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_debug_utils_label_ext( &self, command_buffer: CommandBuffer, p_label_info: *const DebugUtilsLabelEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_debug_utils_label_ext( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdEndDebugUtilsLabelEXT 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 vkCmdEndDebugUtilsLabelEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_insert_debug_utils_label_ext( &self, command_buffer: CommandBuffer, p_label_info: *const DebugUtilsLabelEXT, ) -> Result<(), CallError>

Call vkCmdInsertDebugUtilsLabelEXT 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 vkCmdInsertDebugUtilsLabelEXT 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.

Source§

impl Device

Source

pub unsafe fn get_memory_host_pointer_properties_ext( &self, handle_type: ExternalMemoryHandleTypeFlagBits, p_host_pointer: *const c_void, p_memory_host_pointer_properties: *mut MemoryHostPointerPropertiesEXT, ) -> Result<Result, CallError>

Call vkGetMemoryHostPointerPropertiesEXT 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 vkGetMemoryHostPointerPropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_write_buffer_marker_amd( &self, command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlagBits, dst_buffer: Buffer, dst_offset: DeviceSize, marker: u32, ) -> Result<(), CallError>

Call vkCmdWriteBufferMarkerAMD 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 vkCmdWriteBufferMarkerAMD 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.

Source§

impl Device

Source

pub unsafe fn create_render_pass2( &self, create_info: &RenderPassCreateInfo2, allocator: Option<&AllocationCallbacks>, ) -> Result<RenderPass, CallError>

Call vkCreateRenderPass2 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 vkCreateRenderPass2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn create_render_pass2_khr( &self, create_info: &RenderPassCreateInfo2, allocator: Option<&AllocationCallbacks>, ) -> Result<RenderPass, CallError>

Call vkCreateRenderPass2KHR 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 vkCreateRenderPass2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_begin_render_pass2( &self, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo, subpass_begin_info: &SubpassBeginInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_render_pass2_khr( &self, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo, subpass_begin_info: &SubpassBeginInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_next_subpass2( &self, command_buffer: CommandBuffer, subpass_begin_info: &SubpassBeginInfo, subpass_end_info: &SubpassEndInfo, ) -> Result<(), CallError>

Call vkCmdNextSubpass2 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 vkCmdNextSubpass2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_next_subpass2_khr( &self, command_buffer: CommandBuffer, subpass_begin_info: &SubpassBeginInfo, subpass_end_info: &SubpassEndInfo, ) -> Result<(), CallError>

Call vkCmdNextSubpass2KHR 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 vkCmdNextSubpass2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_end_render_pass2( &self, command_buffer: CommandBuffer, subpass_end_info: &SubpassEndInfo, ) -> Result<(), CallError>

Call vkCmdEndRenderPass2 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 vkCmdEndRenderPass2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_end_render_pass2_khr( &self, command_buffer: CommandBuffer, subpass_end_info: &SubpassEndInfo, ) -> Result<(), CallError>

Call vkCmdEndRenderPass2KHR 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 vkCmdEndRenderPass2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_semaphore_counter_value( &self, semaphore: Semaphore, value: &mut u64, ) -> Result<(), CallError>

Call vkGetSemaphoreCounterValue 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 vkGetSemaphoreCounterValue valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_semaphore_counter_value_khr( &self, semaphore: Semaphore, value: &mut u64, ) -> Result<(), CallError>

Call vkGetSemaphoreCounterValueKHR 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 vkGetSemaphoreCounterValueKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn wait_semaphores( &self, wait_info: &SemaphoreWaitInfo, timeout: u64, ) -> Result<Result, CallError>

Call vkWaitSemaphores 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 vkWaitSemaphores valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn wait_semaphores_khr( &self, wait_info: &SemaphoreWaitInfo, timeout: u64, ) -> Result<Result, CallError>

Call vkWaitSemaphoresKHR 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 vkWaitSemaphoresKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn signal_semaphore( &self, signal_info: &SemaphoreSignalInfo, ) -> Result<(), CallError>

Call vkSignalSemaphore 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 vkSignalSemaphore valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn signal_semaphore_khr( &self, signal_info: &SemaphoreSignalInfo, ) -> Result<(), CallError>

Call vkSignalSemaphoreKHR 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 vkSignalSemaphoreKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn get_android_hardware_buffer_properties_android( &self, buffer: *const AHardwareBuffer, p_properties: *mut AndroidHardwareBufferPropertiesANDROID, ) -> Result<Result, CallError>

Call vkGetAndroidHardwareBufferPropertiesANDROID 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 vkGetAndroidHardwareBufferPropertiesANDROID 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.

Source§

impl Device

Source

pub unsafe fn get_memory_android_hardware_buffer_android( &self, p_info: *const MemoryGetAndroidHardwareBufferInfoANDROID, p_buffer: *mut *mut AHardwareBuffer, ) -> Result<Result, CallError>

Call vkGetMemoryAndroidHardwareBufferANDROID 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 vkGetMemoryAndroidHardwareBufferANDROID 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect_count( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndirectCount 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 vkCmdDrawIndirectCount valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect_count_khr( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndirectCountKHR 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 vkCmdDrawIndirectCountKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect_count_amd( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndirectCountAMD 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 vkCmdDrawIndirectCountAMD valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed_indirect_count( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndexedIndirectCount 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 vkCmdDrawIndexedIndirectCount valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed_indirect_count_khr( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndexedIndirectCountKHR 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 vkCmdDrawIndexedIndirectCountKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed_indirect_count_amd( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndexedIndirectCountAMD 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 vkCmdDrawIndexedIndirectCountAMD valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_checkpoint_nv( &self, command_buffer: CommandBuffer, p_checkpoint_marker: *const c_void, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn get_queue_checkpoint_data_nv( &self, queue: Queue, p_checkpoint_data_count: *mut u32, p_checkpoint_data: *mut CheckpointDataNV, ) -> Result<(), CallError>

Call vkGetQueueCheckpointDataNV 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 vkGetQueueCheckpointDataNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_transform_feedback_buffers_ext( &self, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, ) -> Result<(), CallError>

Call vkCmdBindTransformFeedbackBuffersEXT 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 vkCmdBindTransformFeedbackBuffersEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_transform_feedback_ext( &self, command_buffer: CommandBuffer, first_counter_buffer: u32, counter_buffer_count: u32, p_counter_buffers: *const Buffer, p_counter_buffer_offsets: *const DeviceSize, ) -> Result<(), CallError>

Call vkCmdBeginTransformFeedbackEXT 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 vkCmdBeginTransformFeedbackEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_end_transform_feedback_ext( &self, command_buffer: CommandBuffer, first_counter_buffer: u32, counter_buffer_count: u32, p_counter_buffers: *const Buffer, p_counter_buffer_offsets: *const DeviceSize, ) -> Result<(), CallError>

Call vkCmdEndTransformFeedbackEXT 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 vkCmdEndTransformFeedbackEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_query_indexed_ext( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags, index: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_query_indexed_ext( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, index: u32, ) -> Result<(), CallError>

Call vkCmdEndQueryIndexedEXT 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 vkCmdEndQueryIndexedEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect_byte_count_ext( &self, command_buffer: CommandBuffer, instance_count: u32, first_instance: u32, counter_buffer: Buffer, counter_buffer_offset: DeviceSize, counter_offset: u32, vertex_stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndirectByteCountEXT 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 vkCmdDrawIndirectByteCountEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_exclusive_scissor_nv( &self, command_buffer: CommandBuffer, first_exclusive_scissor: u32, exclusive_scissor_count: u32, p_exclusive_scissors: *const Rect2D, ) -> Result<(), CallError>

Call vkCmdSetExclusiveScissorNV 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 vkCmdSetExclusiveScissorNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_exclusive_scissor_enable_nv( &self, command_buffer: CommandBuffer, first_exclusive_scissor: u32, exclusive_scissor_count: u32, p_exclusive_scissor_enables: *const Bool32, ) -> Result<(), CallError>

Call vkCmdSetExclusiveScissorEnableNV 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 vkCmdSetExclusiveScissorEnableNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_shading_rate_image_nv( &self, command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout, ) -> Result<(), CallError>

Call vkCmdBindShadingRateImageNV 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 vkCmdBindShadingRateImageNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport_shading_rate_palette_nv( &self, command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_shading_rate_palettes: *const ShadingRatePaletteNV, ) -> Result<(), CallError>

Call vkCmdSetViewportShadingRatePaletteNV 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 vkCmdSetViewportShadingRatePaletteNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coarse_sample_order_nv( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_nv( &self, command_buffer: CommandBuffer, task_count: u32, first_task: u32, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksNV 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 vkCmdDrawMeshTasksNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_indirect_nv( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksIndirectNV 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 vkCmdDrawMeshTasksIndirectNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_indirect_count_nv( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksIndirectCountNV 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 vkCmdDrawMeshTasksIndirectCountNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_ext( &self, command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksEXT 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 vkCmdDrawMeshTasksEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_indirect_ext( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksIndirectEXT 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 vkCmdDrawMeshTasksIndirectEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_indirect_count_ext( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksIndirectCountEXT 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 vkCmdDrawMeshTasksIndirectCountEXT 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.

Source§

impl Device

Source

pub unsafe fn compile_deferred_nv( &self, pipeline: Pipeline, shader: u32, ) -> Result<Result, CallError>

Call vkCompileDeferredNV 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 vkCompileDeferredNV 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.

Source§

impl Device

Source

pub unsafe fn create_acceleration_structure_nv( &self, p_create_info: *const AccelerationStructureCreateInfoNV, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureNV, ) -> Result<Result, CallError>

Call vkCreateAccelerationStructureNV 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 vkCreateAccelerationStructureNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_invocation_mask_huawei( &self, command_buffer: CommandBuffer, image_view: ImageView, image_layout: ImageLayout, ) -> Result<(), CallError>

Call vkCmdBindInvocationMaskHUAWEI 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 vkCmdBindInvocationMaskHUAWEI 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.

Source§

impl Device

Source

pub unsafe fn destroy_acceleration_structure_khr( &self, acceleration_structure: AccelerationStructureKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyAccelerationStructureKHR 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 vkDestroyAccelerationStructureKHR 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.

Source§

impl Device

Source

pub unsafe fn destroy_acceleration_structure_nv( &self, acceleration_structure: AccelerationStructureNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyAccelerationStructureNV 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 vkDestroyAccelerationStructureNV 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.

Source§

impl Device

Source

pub unsafe fn get_acceleration_structure_memory_requirements_nv( &self, p_info: *const AccelerationStructureMemoryRequirementsInfoNV, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetAccelerationStructureMemoryRequirementsNV 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 vkGetAccelerationStructureMemoryRequirementsNV 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.

Source§

impl Device

Source

pub unsafe fn bind_acceleration_structure_memory_nv( &self, bind_info_count: u32, p_bind_infos: *const BindAccelerationStructureMemoryInfoNV, ) -> Result<Result, CallError>

Call vkBindAccelerationStructureMemoryNV 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 vkBindAccelerationStructureMemoryNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_acceleration_structure_nv( &self, command_buffer: CommandBuffer, dst: AccelerationStructureNV, src: AccelerationStructureNV, mode: CopyAccelerationStructureModeKHR, ) -> Result<(), CallError>

Call vkCmdCopyAccelerationStructureNV 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 vkCmdCopyAccelerationStructureNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_acceleration_structure_khr( &self, command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyAccelerationStructureKHR 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 vkCmdCopyAccelerationStructureKHR 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.

Source§

impl Device

Source

pub unsafe fn copy_acceleration_structure_khr( &self, deferred_operation: DeferredOperationKHR, p_info: *const CopyAccelerationStructureInfoKHR, ) -> Result<Result, CallError>

Call vkCopyAccelerationStructureKHR 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 vkCopyAccelerationStructureKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_acceleration_structure_to_memory_khr( &self, command_buffer: CommandBuffer, p_info: *const CopyAccelerationStructureToMemoryInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyAccelerationStructureToMemoryKHR 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 vkCmdCopyAccelerationStructureToMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn copy_acceleration_structure_to_memory_khr( &self, deferred_operation: DeferredOperationKHR, p_info: *const CopyAccelerationStructureToMemoryInfoKHR, ) -> Result<Result, CallError>

Call vkCopyAccelerationStructureToMemoryKHR 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 vkCopyAccelerationStructureToMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_to_acceleration_structure_khr( &self, command_buffer: CommandBuffer, p_info: *const CopyMemoryToAccelerationStructureInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyMemoryToAccelerationStructureKHR 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 vkCmdCopyMemoryToAccelerationStructureKHR 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.

Source§

impl Device

Source

pub unsafe fn copy_memory_to_acceleration_structure_khr( &self, deferred_operation: DeferredOperationKHR, p_info: *const CopyMemoryToAccelerationStructureInfoKHR, ) -> Result<Result, CallError>

Call vkCopyMemoryToAccelerationStructureKHR 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 vkCopyMemoryToAccelerationStructureKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_write_acceleration_structures_properties_khr( &self, command_buffer: CommandBuffer, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, query_pool: QueryPool, first_query: u32, ) -> Result<(), CallError>

Call vkCmdWriteAccelerationStructuresPropertiesKHR 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 vkCmdWriteAccelerationStructuresPropertiesKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_write_acceleration_structures_properties_nv( &self, command_buffer: CommandBuffer, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureNV, query_type: QueryType, query_pool: QueryPool, first_query: u32, ) -> Result<(), CallError>

Call vkCmdWriteAccelerationStructuresPropertiesNV 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 vkCmdWriteAccelerationStructuresPropertiesNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_build_acceleration_structure_nv( &self, command_buffer: CommandBuffer, p_info: *const AccelerationStructureInfoNV, instance_data: Buffer, instance_offset: DeviceSize, update: Bool32, dst: AccelerationStructureNV, src: AccelerationStructureNV, scratch: Buffer, scratch_offset: DeviceSize, ) -> Result<(), CallError>

Call vkCmdBuildAccelerationStructureNV 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 vkCmdBuildAccelerationStructureNV 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.

Source§

impl Device

Source

pub unsafe fn write_acceleration_structures_properties_khr( &self, acceleration_structure_count: u32, p_acceleration_structures: *const AccelerationStructureKHR, query_type: QueryType, data_size: usize, p_data: *mut c_void, stride: usize, ) -> Result<Result, CallError>

Call vkWriteAccelerationStructuresPropertiesKHR 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 vkWriteAccelerationStructuresPropertiesKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_trace_rays_khr( &self, command_buffer: CommandBuffer, p_raygen_shader_binding_table: *const StridedDeviceAddressRegionKHR, p_miss_shader_binding_table: *const StridedDeviceAddressRegionKHR, p_hit_shader_binding_table: *const StridedDeviceAddressRegionKHR, p_callable_shader_binding_table: *const StridedDeviceAddressRegionKHR, width: u32, height: u32, depth: u32, ) -> Result<(), CallError>

Call vkCmdTraceRaysKHR 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 vkCmdTraceRaysKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_trace_rays_nv( &self, command_buffer: CommandBuffer, raygen_shader_binding_table_buffer: Buffer, raygen_shader_binding_offset: DeviceSize, miss_shader_binding_table_buffer: Buffer, miss_shader_binding_offset: DeviceSize, miss_shader_binding_stride: DeviceSize, hit_shader_binding_table_buffer: Buffer, hit_shader_binding_offset: DeviceSize, hit_shader_binding_stride: DeviceSize, callable_shader_binding_table_buffer: Buffer, callable_shader_binding_offset: DeviceSize, callable_shader_binding_stride: DeviceSize, width: u32, height: u32, depth: u32, ) -> Result<(), CallError>

Call vkCmdTraceRaysNV 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 vkCmdTraceRaysNV 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.

Source§

impl Device

Source

pub unsafe fn get_ray_tracing_shader_group_handles_khr( &self, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetRayTracingShaderGroupHandlesKHR 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 vkGetRayTracingShaderGroupHandlesKHR 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.

Source§

impl Device

Source

pub unsafe fn get_ray_tracing_shader_group_handles_nv( &self, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetRayTracingShaderGroupHandlesNV 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 vkGetRayTracingShaderGroupHandlesNV 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.

Source§

impl Device

Source

pub unsafe fn get_ray_tracing_capture_replay_shader_group_handles_khr( &self, pipeline: Pipeline, first_group: u32, group_count: u32, data_size: usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetRayTracingCaptureReplayShaderGroupHandlesKHR 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 vkGetRayTracingCaptureReplayShaderGroupHandlesKHR 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.

Source§

impl Device

Source

pub unsafe fn get_acceleration_structure_handle_nv( &self, acceleration_structure: AccelerationStructureNV, data_size: usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetAccelerationStructureHandleNV 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 vkGetAccelerationStructureHandleNV 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.

Source§

impl Device

Source

pub unsafe fn create_ray_tracing_pipelines_nv( &self, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const RayTracingPipelineCreateInfoNV, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result<Result, CallError>

Call vkCreateRayTracingPipelinesNV 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 vkCreateRayTracingPipelinesNV 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.

Source§

impl Device

Source

pub unsafe fn create_ray_tracing_pipelines_khr( &self, deferred_operation: DeferredOperationKHR, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const RayTracingPipelineCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result<Result, CallError>

Call vkCreateRayTracingPipelinesKHR 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 vkCreateRayTracingPipelinesKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_trace_rays_indirect_khr( &self, command_buffer: CommandBuffer, p_raygen_shader_binding_table: *const StridedDeviceAddressRegionKHR, p_miss_shader_binding_table: *const StridedDeviceAddressRegionKHR, p_hit_shader_binding_table: *const StridedDeviceAddressRegionKHR, p_callable_shader_binding_table: *const StridedDeviceAddressRegionKHR, indirect_device_address: DeviceAddress, ) -> Result<(), CallError>

Call vkCmdTraceRaysIndirectKHR 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 vkCmdTraceRaysIndirectKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_trace_rays_indirect2_khr( &self, command_buffer: CommandBuffer, indirect_device_address: DeviceAddress, ) -> Result<(), CallError>

Call vkCmdTraceRaysIndirect2KHR 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 vkCmdTraceRaysIndirect2KHR 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.

Source§

impl Device

Source

pub unsafe fn get_cluster_acceleration_structure_build_sizes_nv( &self, p_info: *const ClusterAccelerationStructureInputInfoNV, p_size_info: *mut AccelerationStructureBuildSizesInfoKHR, ) -> Result<(), CallError>

Call vkGetClusterAccelerationStructureBuildSizesNV 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 vkGetClusterAccelerationStructureBuildSizesNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_build_cluster_acceleration_structure_indirect_nv( &self, command_buffer: CommandBuffer, p_command_infos: *const ClusterAccelerationStructureCommandsInfoNV, ) -> Result<(), CallError>

Call vkCmdBuildClusterAccelerationStructureIndirectNV 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 vkCmdBuildClusterAccelerationStructureIndirectNV 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.

Source§

impl Device

Source

pub unsafe fn get_device_acceleration_structure_compatibility_khr( &self, p_version_info: *const AccelerationStructureVersionInfoKHR, p_compatibility: *mut AccelerationStructureCompatibilityKHR, ) -> Result<(), CallError>

Call vkGetDeviceAccelerationStructureCompatibilityKHR 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 vkGetDeviceAccelerationStructureCompatibilityKHR 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.

Source§

impl Device

Source

pub unsafe fn get_ray_tracing_shader_group_stack_size_khr( &self, pipeline: Pipeline, group: u32, group_shader: ShaderGroupShaderKHR, ) -> Result<DeviceSize, CallError>

Call vkGetRayTracingShaderGroupStackSizeKHR 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 vkGetRayTracingShaderGroupStackSizeKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_ray_tracing_pipeline_stack_size_khr( &self, command_buffer: CommandBuffer, pipeline_stack_size: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn get_image_view_handle_nvx( &self, p_info: *const ImageViewHandleInfoNVX, ) -> Result<u32, CallError>

Call vkGetImageViewHandleNVX 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 vkGetImageViewHandleNVX 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.

Source§

impl Device

Source

pub unsafe fn get_image_view_handle64_nvx( &self, p_info: *const ImageViewHandleInfoNVX, ) -> Result<u64, CallError>

Call vkGetImageViewHandle64NVX 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 vkGetImageViewHandle64NVX 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.

Source§

impl Device

Source

pub unsafe fn get_image_view_address_nvx( &self, image_view: ImageView, p_properties: *mut ImageViewAddressPropertiesNVX, ) -> Result<Result, CallError>

Call vkGetImageViewAddressNVX 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 vkGetImageViewAddressNVX 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.

Source§

impl Device

Source

pub unsafe fn get_device_combined_image_sampler_index_nvx( &self, image_view_index: u64, sampler_index: u64, ) -> Result<u64, CallError>

Call vkGetDeviceCombinedImageSamplerIndexNVX 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 vkGetDeviceCombinedImageSamplerIndexNVX 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.

Source§

impl Device

Source

pub unsafe fn get_device_group_surface_present_modes2_ext( &self, p_surface_info: *const PhysicalDeviceSurfaceInfo2KHR, p_modes: *mut DeviceGroupPresentModeFlagsKHR, ) -> Result<Result, CallError>

Call vkGetDeviceGroupSurfacePresentModes2EXT 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 vkGetDeviceGroupSurfacePresentModes2EXT 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.

Source§

impl Device

Source

pub unsafe fn acquire_full_screen_exclusive_mode_ext( &self, swapchain: SwapchainKHR, ) -> Result<Result, CallError>

Call vkAcquireFullScreenExclusiveModeEXT 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 vkAcquireFullScreenExclusiveModeEXT 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.

Source§

impl Device

Source

pub unsafe fn release_full_screen_exclusive_mode_ext( &self, swapchain: SwapchainKHR, ) -> Result<Result, CallError>

Call vkReleaseFullScreenExclusiveModeEXT 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 vkReleaseFullScreenExclusiveModeEXT 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.

Source§

impl Device

Source

pub unsafe fn acquire_profiling_lock_khr( &self, p_info: *const AcquireProfilingLockInfoKHR, ) -> Result<Result, CallError>

Call vkAcquireProfilingLockKHR 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 vkAcquireProfilingLockKHR 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.

Source§

impl Device

Source

pub unsafe fn release_profiling_lock_khr(&self) -> Result<(), CallError>

Call vkReleaseProfilingLockKHR 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 vkReleaseProfilingLockKHR 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.

Source§

impl Device

Source

pub unsafe fn get_image_drm_format_modifier_properties_ext( &self, image: Image, p_properties: *mut ImageDrmFormatModifierPropertiesEXT, ) -> Result<Result, CallError>

Call vkGetImageDrmFormatModifierPropertiesEXT 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 vkGetImageDrmFormatModifierPropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_buffer_opaque_capture_address( &self, info: &BufferDeviceAddressInfo, ) -> Result<u64, CallError>

Call vkGetBufferOpaqueCaptureAddress using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetBufferOpaqueCaptureAddress valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn get_buffer_opaque_capture_address_khr( &self, info: &BufferDeviceAddressInfo, ) -> Result<u64, CallError>

Call vkGetBufferOpaqueCaptureAddressKHR using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetBufferOpaqueCaptureAddressKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn get_buffer_device_address( &self, info: &BufferDeviceAddressInfo, ) -> Result<DeviceAddress, CallError>

Call vkGetBufferDeviceAddress using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetBufferDeviceAddress valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn get_buffer_device_address_khr( &self, info: &BufferDeviceAddressInfo, ) -> Result<DeviceAddress, CallError>

Call vkGetBufferDeviceAddressKHR using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetBufferDeviceAddressKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn get_buffer_device_address_ext( &self, info: &BufferDeviceAddressInfo, ) -> Result<DeviceAddress, CallError>

Call vkGetBufferDeviceAddressEXT using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetBufferDeviceAddressEXT valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn initialize_performance_api_intel( &self, p_initialize_info: *const InitializePerformanceApiInfoINTEL, ) -> Result<Result, CallError>

Call vkInitializePerformanceApiINTEL 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 vkInitializePerformanceApiINTEL 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.

Source§

impl Device

Source

pub unsafe fn uninitialize_performance_api_intel(&self) -> Result<(), CallError>

Call vkUninitializePerformanceApiINTEL 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 vkUninitializePerformanceApiINTEL 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_performance_marker_intel( &self, command_buffer: CommandBuffer, p_marker_info: *const PerformanceMarkerInfoINTEL, ) -> Result<Result, CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_performance_stream_marker_intel( &self, command_buffer: CommandBuffer, p_marker_info: *const PerformanceStreamMarkerInfoINTEL, ) -> Result<Result, CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_performance_override_intel( &self, command_buffer: CommandBuffer, p_override_info: *const PerformanceOverrideInfoINTEL, ) -> Result<Result, CallError>

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.

Source§

impl Device

Source

pub unsafe fn acquire_performance_configuration_intel( &self, p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL, p_configuration: *mut PerformanceConfigurationINTEL, ) -> Result<Result, CallError>

Call vkAcquirePerformanceConfigurationINTEL 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 vkAcquirePerformanceConfigurationINTEL 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.

Source§

impl Device

Source

pub unsafe fn release_performance_configuration_intel( &self, configuration: PerformanceConfigurationINTEL, ) -> Result<Result, CallError>

Call vkReleasePerformanceConfigurationINTEL 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 vkReleasePerformanceConfigurationINTEL 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.

Source§

impl Device

Source

pub unsafe fn queue_set_performance_configuration_intel( &self, queue: Queue, configuration: PerformanceConfigurationINTEL, ) -> Result<Result, CallError>

Call vkQueueSetPerformanceConfigurationINTEL 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 vkQueueSetPerformanceConfigurationINTEL 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.

Source§

impl Device

Source

pub unsafe fn get_performance_parameter_intel( &self, parameter: PerformanceParameterTypeINTEL, p_value: *mut PerformanceValueINTEL, ) -> Result<Result, CallError>

Call vkGetPerformanceParameterINTEL 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 vkGetPerformanceParameterINTEL 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.

Source§

impl Device

Source

pub unsafe fn get_device_memory_opaque_capture_address( &self, info: &DeviceMemoryOpaqueCaptureAddressInfo, ) -> Result<u64, CallError>

Call vkGetDeviceMemoryOpaqueCaptureAddress using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDeviceMemoryOpaqueCaptureAddress valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn get_device_memory_opaque_capture_address_khr( &self, info: &DeviceMemoryOpaqueCaptureAddressInfo, ) -> Result<u64, CallError>

Call vkGetDeviceMemoryOpaqueCaptureAddressKHR using this context’s cached function pointer.

§Errors

Reports a missing command; the native scalar is never converted to a status.

§Safety

The context and all handles must be live and belong to the same Vulkan implementation/device. Meet vkGetDeviceMemoryOpaqueCaptureAddressKHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Returns the native 64-bit value unchanged, including zero. This is not a VkResult status; opaque capture values are tokens, not dereferenceable addresses. This call neither owns memory nor establishes its lifetime or device accessibility.

Source§

impl Device

Source

pub unsafe fn get_pipeline_executable_properties_khr( &self, p_pipeline_info: *const PipelineInfoKHR, p_executable_count: *mut u32, p_properties: *mut PipelineExecutablePropertiesKHR, ) -> Result<Result, CallError>

Call vkGetPipelineExecutablePropertiesKHR 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 vkGetPipelineExecutablePropertiesKHR 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_executable_statistics_khr( &self, p_executable_info: *const PipelineExecutableInfoKHR, p_statistic_count: *mut u32, p_statistics: *mut PipelineExecutableStatisticKHR, ) -> Result<Result, CallError>

Call vkGetPipelineExecutableStatisticsKHR 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 vkGetPipelineExecutableStatisticsKHR 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_executable_internal_representations_khr( &self, p_executable_info: *const PipelineExecutableInfoKHR, p_internal_representation_count: *mut u32, p_internal_representations: *mut PipelineExecutableInternalRepresentationKHR, ) -> Result<Result, CallError>

Call vkGetPipelineExecutableInternalRepresentationsKHR 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 vkGetPipelineExecutableInternalRepresentationsKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_line_stipple( &self, command_buffer: CommandBuffer, line_stipple_factor: u32, line_stipple_pattern: u16, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_line_stipple_khr( &self, command_buffer: CommandBuffer, line_stipple_factor: u32, line_stipple_pattern: u16, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_line_stipple_ext( &self, command_buffer: CommandBuffer, line_stipple_factor: u32, line_stipple_pattern: u16, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn create_acceleration_structure_khr( &self, p_create_info: *const AccelerationStructureCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureKHR, ) -> Result<Result, CallError>

Call vkCreateAccelerationStructureKHR 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 vkCreateAccelerationStructureKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_build_acceleration_structures_khr( &self, command_buffer: CommandBuffer, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, pp_build_range_infos: *const *const AccelerationStructureBuildRangeInfoKHR, ) -> Result<(), CallError>

Call vkCmdBuildAccelerationStructuresKHR 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 vkCmdBuildAccelerationStructuresKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_build_acceleration_structures_indirect_khr( &self, command_buffer: CommandBuffer, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, p_indirect_device_addresses: *const DeviceAddress, p_indirect_strides: *const u32, pp_max_primitive_counts: *const *const u32, ) -> Result<(), CallError>

Call vkCmdBuildAccelerationStructuresIndirectKHR 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 vkCmdBuildAccelerationStructuresIndirectKHR 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.

Source§

impl Device

Source

pub unsafe fn build_acceleration_structures_khr( &self, deferred_operation: DeferredOperationKHR, info_count: u32, p_infos: *const AccelerationStructureBuildGeometryInfoKHR, pp_build_range_infos: *const *const AccelerationStructureBuildRangeInfoKHR, ) -> Result<Result, CallError>

Call vkBuildAccelerationStructuresKHR 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 vkBuildAccelerationStructuresKHR 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.

Source§

impl Device

Source

pub unsafe fn get_acceleration_structure_device_address_khr( &self, p_info: *const AccelerationStructureDeviceAddressInfoKHR, ) -> Result<DeviceAddress, CallError>

Call vkGetAccelerationStructureDeviceAddressKHR 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 vkGetAccelerationStructureDeviceAddressKHR 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.

Source§

impl Device

Source

pub unsafe fn create_deferred_operation_khr( &self, p_allocator: *const AllocationCallbacks, p_deferred_operation: *mut DeferredOperationKHR, ) -> Result<Result, CallError>

Call vkCreateDeferredOperationKHR 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 vkCreateDeferredOperationKHR 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.

Source§

impl Device

Source

pub unsafe fn destroy_deferred_operation_khr( &self, operation: DeferredOperationKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyDeferredOperationKHR 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 vkDestroyDeferredOperationKHR 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.

Source§

impl Device

Source

pub unsafe fn get_deferred_operation_max_concurrency_khr( &self, operation: DeferredOperationKHR, ) -> Result<u32, CallError>

Call vkGetDeferredOperationMaxConcurrencyKHR 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 vkGetDeferredOperationMaxConcurrencyKHR 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.

Source§

impl Device

Source

pub unsafe fn get_deferred_operation_result_khr( &self, operation: DeferredOperationKHR, ) -> Result<Result, CallError>

Call vkGetDeferredOperationResultKHR 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 vkGetDeferredOperationResultKHR 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.

Source§

impl Device

Source

pub unsafe fn deferred_operation_join_khr( &self, operation: DeferredOperationKHR, ) -> Result<Result, CallError>

Call vkDeferredOperationJoinKHR 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 vkDeferredOperationJoinKHR 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_indirect_memory_requirements_nv( &self, p_create_info: *const ComputePipelineCreateInfo, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetPipelineIndirectMemoryRequirementsNV 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 vkGetPipelineIndirectMemoryRequirementsNV 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_indirect_device_address_nv( &self, p_info: *const PipelineIndirectDeviceAddressInfoNV, ) -> Result<DeviceAddress, CallError>

Call vkGetPipelineIndirectDeviceAddressNV 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 vkGetPipelineIndirectDeviceAddressNV 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.

Source§

impl Device

Source

pub unsafe fn anti_lag_update_amd( &self, p_data: *const AntiLagDataAMD, ) -> Result<(), CallError>

Call vkAntiLagUpdateAMD 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 vkAntiLagUpdateAMD 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_cull_mode( &self, command_buffer: CommandBuffer, cull_mode: CullModeFlags, ) -> Result<(), CallError>

Call vkCmdSetCullMode 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 vkCmdSetCullMode 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_cull_mode_ext( &self, command_buffer: CommandBuffer, cull_mode: CullModeFlags, ) -> Result<(), CallError>

Call vkCmdSetCullModeEXT 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 vkCmdSetCullModeEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_front_face( &self, command_buffer: CommandBuffer, front_face: FrontFace, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_front_face_ext( &self, command_buffer: CommandBuffer, front_face: FrontFace, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_primitive_topology( &self, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_primitive_topology_ext( &self, command_buffer: CommandBuffer, primitive_topology: PrimitiveTopology, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport_with_count( &self, command_buffer: CommandBuffer, viewport_count: u32, p_viewports: *const Viewport, ) -> Result<(), CallError>

Call vkCmdSetViewportWithCount 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 vkCmdSetViewportWithCount 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport_with_count_ext( &self, command_buffer: CommandBuffer, viewport_count: u32, p_viewports: *const Viewport, ) -> Result<(), CallError>

Call vkCmdSetViewportWithCountEXT 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 vkCmdSetViewportWithCountEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_scissor_with_count( &self, command_buffer: CommandBuffer, scissor_count: u32, p_scissors: *const Rect2D, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_scissor_with_count_ext( &self, command_buffer: CommandBuffer, scissor_count: u32, p_scissors: *const Rect2D, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_index_buffer2( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, index_type: IndexType, ) -> Result<(), CallError>

Call vkCmdBindIndexBuffer2 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 vkCmdBindIndexBuffer2 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_index_buffer2_khr( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, size: DeviceSize, index_type: IndexType, ) -> Result<(), CallError>

Call vkCmdBindIndexBuffer2KHR 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 vkCmdBindIndexBuffer2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_vertex_buffers2( &self, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, p_strides: *const DeviceSize, ) -> Result<(), CallError>

Call vkCmdBindVertexBuffers2 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 vkCmdBindVertexBuffers2 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_vertex_buffers2_ext( &self, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize, p_sizes: *const DeviceSize, p_strides: *const DeviceSize, ) -> Result<(), CallError>

Call vkCmdBindVertexBuffers2EXT 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 vkCmdBindVertexBuffers2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_test_enable( &self, command_buffer: CommandBuffer, depth_test_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthTestEnable 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 vkCmdSetDepthTestEnable 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_test_enable_ext( &self, command_buffer: CommandBuffer, depth_test_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthTestEnableEXT 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 vkCmdSetDepthTestEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_write_enable( &self, command_buffer: CommandBuffer, depth_write_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthWriteEnable 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 vkCmdSetDepthWriteEnable 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_write_enable_ext( &self, command_buffer: CommandBuffer, depth_write_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthWriteEnableEXT 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 vkCmdSetDepthWriteEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_compare_op( &self, command_buffer: CommandBuffer, depth_compare_op: CompareOp, ) -> Result<(), CallError>

Call vkCmdSetDepthCompareOp 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 vkCmdSetDepthCompareOp 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_compare_op_ext( &self, command_buffer: CommandBuffer, depth_compare_op: CompareOp, ) -> Result<(), CallError>

Call vkCmdSetDepthCompareOpEXT 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 vkCmdSetDepthCompareOpEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bounds_test_enable( &self, command_buffer: CommandBuffer, depth_bounds_test_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthBoundsTestEnable 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 vkCmdSetDepthBoundsTestEnable 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bounds_test_enable_ext( &self, command_buffer: CommandBuffer, depth_bounds_test_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthBoundsTestEnableEXT 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 vkCmdSetDepthBoundsTestEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_test_enable( &self, command_buffer: CommandBuffer, stencil_test_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_test_enable_ext( &self, command_buffer: CommandBuffer, stencil_test_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_op( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_stencil_op_ext( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_patch_control_points_ext( &self, command_buffer: CommandBuffer, patch_control_points: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rasterizer_discard_enable( &self, command_buffer: CommandBuffer, rasterizer_discard_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rasterizer_discard_enable_ext( &self, command_buffer: CommandBuffer, rasterizer_discard_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bias_enable( &self, command_buffer: CommandBuffer, depth_bias_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthBiasEnable 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 vkCmdSetDepthBiasEnable 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bias_enable_ext( &self, command_buffer: CommandBuffer, depth_bias_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthBiasEnableEXT 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 vkCmdSetDepthBiasEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_logic_op_ext( &self, command_buffer: CommandBuffer, logic_op: LogicOp, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_primitive_restart_enable( &self, command_buffer: CommandBuffer, primitive_restart_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_primitive_restart_enable_ext( &self, command_buffer: CommandBuffer, primitive_restart_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_tessellation_domain_origin_ext( &self, command_buffer: CommandBuffer, domain_origin: TessellationDomainOrigin, ) -> Result<(), CallError>

Call vkCmdSetTessellationDomainOriginEXT 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 vkCmdSetTessellationDomainOriginEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_clamp_enable_ext( &self, command_buffer: CommandBuffer, depth_clamp_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthClampEnableEXT 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 vkCmdSetDepthClampEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_polygon_mode_ext( &self, command_buffer: CommandBuffer, polygon_mode: PolygonMode, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rasterization_samples_ext( &self, command_buffer: CommandBuffer, rasterization_samples: SampleCountFlagBits, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_sample_mask_ext( &self, command_buffer: CommandBuffer, samples: SampleCountFlagBits, p_sample_mask: *const SampleMask, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_alpha_to_coverage_enable_ext( &self, command_buffer: CommandBuffer, alpha_to_coverage_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetAlphaToCoverageEnableEXT 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 vkCmdSetAlphaToCoverageEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_alpha_to_one_enable_ext( &self, command_buffer: CommandBuffer, alpha_to_one_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetAlphaToOneEnableEXT 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 vkCmdSetAlphaToOneEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_logic_op_enable_ext( &self, command_buffer: CommandBuffer, logic_op_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_color_blend_enable_ext( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_color_blend_equation_ext( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_color_write_mask_ext( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rasterization_stream_ext( &self, command_buffer: CommandBuffer, rasterization_stream: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_conservative_rasterization_mode_ext( &self, command_buffer: CommandBuffer, conservative_rasterization_mode: ConservativeRasterizationModeEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_extra_primitive_overestimation_size_ext( &self, command_buffer: CommandBuffer, extra_primitive_overestimation_size: f32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_clip_enable_ext( &self, command_buffer: CommandBuffer, depth_clip_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthClipEnableEXT 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 vkCmdSetDepthClipEnableEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_sample_locations_enable_ext( &self, command_buffer: CommandBuffer, sample_locations_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_color_blend_advanced_ext( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_provoking_vertex_mode_ext( &self, command_buffer: CommandBuffer, provoking_vertex_mode: ProvokingVertexModeEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_line_rasterization_mode_ext( &self, command_buffer: CommandBuffer, line_rasterization_mode: LineRasterizationModeEXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_line_stipple_enable_ext( &self, command_buffer: CommandBuffer, stippled_line_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_clip_negative_one_to_one_ext( &self, command_buffer: CommandBuffer, negative_one_to_one: Bool32, ) -> Result<(), CallError>

Call vkCmdSetDepthClipNegativeOneToOneEXT 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 vkCmdSetDepthClipNegativeOneToOneEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport_w_scaling_enable_nv( &self, command_buffer: CommandBuffer, viewport_w_scaling_enable: Bool32, ) -> Result<(), CallError>

Call vkCmdSetViewportWScalingEnableNV 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 vkCmdSetViewportWScalingEnableNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_viewport_swizzle_nv( &self, command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_viewport_swizzles: *const ViewportSwizzleNV, ) -> Result<(), CallError>

Call vkCmdSetViewportSwizzleNV 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 vkCmdSetViewportSwizzleNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coverage_to_color_enable_nv( &self, command_buffer: CommandBuffer, coverage_to_color_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coverage_to_color_location_nv( &self, command_buffer: CommandBuffer, coverage_to_color_location: u32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coverage_modulation_mode_nv( &self, command_buffer: CommandBuffer, coverage_modulation_mode: CoverageModulationModeNV, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coverage_modulation_table_enable_nv( &self, command_buffer: CommandBuffer, coverage_modulation_table_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coverage_modulation_table_nv( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_set_shading_rate_image_enable_nv( &self, command_buffer: CommandBuffer, shading_rate_image_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_coverage_reduction_mode_nv( &self, command_buffer: CommandBuffer, coverage_reduction_mode: CoverageReductionModeNV, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_representative_fragment_test_enable_nv( &self, command_buffer: CommandBuffer, representative_fragment_test_enable: Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn create_private_data_slot( &self, p_create_info: *const PrivateDataSlotCreateInfo, p_allocator: *const AllocationCallbacks, p_private_data_slot: *mut PrivateDataSlot, ) -> Result<Result, CallError>

Call vkCreatePrivateDataSlot 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 vkCreatePrivateDataSlot 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.

Source§

impl Device

Source

pub unsafe fn create_private_data_slot_ext( &self, p_create_info: *const PrivateDataSlotCreateInfo, p_allocator: *const AllocationCallbacks, p_private_data_slot: *mut PrivateDataSlot, ) -> Result<Result, CallError>

Call vkCreatePrivateDataSlotEXT 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 vkCreatePrivateDataSlotEXT 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.

Source§

impl Device

Source

pub unsafe fn destroy_private_data_slot( &self, private_data_slot: PrivateDataSlot, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyPrivateDataSlot 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 vkDestroyPrivateDataSlot 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.

Source§

impl Device

Source

pub unsafe fn destroy_private_data_slot_ext( &self, private_data_slot: PrivateDataSlot, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyPrivateDataSlotEXT 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 vkDestroyPrivateDataSlotEXT 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.

Source§

impl Device

Source

pub unsafe fn set_private_data( &self, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlot, data: u64, ) -> Result<Result, CallError>

Call vkSetPrivateData 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 vkSetPrivateData 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.

Source§

impl Device

Source

pub unsafe fn set_private_data_ext( &self, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlot, data: u64, ) -> Result<Result, CallError>

Call vkSetPrivateDataEXT 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 vkSetPrivateDataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_private_data( &self, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlot, p_data: *mut u64, ) -> Result<(), CallError>

Call vkGetPrivateData 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 vkGetPrivateData 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.

Source§

impl Device

Source

pub unsafe fn get_private_data_ext( &self, object_type: ObjectType, object_handle: u64, private_data_slot: PrivateDataSlot, p_data: *mut u64, ) -> Result<(), CallError>

Call vkGetPrivateDataEXT 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 vkGetPrivateDataEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_buffer2( &self, command_buffer: CommandBuffer, copy_buffer_info: &CopyBufferInfo2, ) -> Result<(), CallError>

Call vkCmdCopyBuffer2 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 vkCmdCopyBuffer2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_buffer2_khr( &self, command_buffer: CommandBuffer, copy_buffer_info: &CopyBufferInfo2, ) -> Result<(), CallError>

Call vkCmdCopyBuffer2KHR 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 vkCmdCopyBuffer2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image2( &self, command_buffer: CommandBuffer, copy_image_info: &CopyImageInfo2, ) -> Result<(), CallError>

Call vkCmdCopyImage2 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 vkCmdCopyImage2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image2_khr( &self, command_buffer: CommandBuffer, copy_image_info: &CopyImageInfo2, ) -> Result<(), CallError>

Call vkCmdCopyImage2KHR 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 vkCmdCopyImage2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_blit_image2( &self, command_buffer: CommandBuffer, blit_image_info: &BlitImageInfo2, ) -> Result<(), CallError>

Call vkCmdBlitImage2 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 vkCmdBlitImage2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_blit_image2_khr( &self, command_buffer: CommandBuffer, blit_image_info: &BlitImageInfo2, ) -> Result<(), CallError>

Call vkCmdBlitImage2KHR 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 vkCmdBlitImage2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_buffer_to_image2( &self, command_buffer: CommandBuffer, copy_buffer_to_image_info: &CopyBufferToImageInfo2, ) -> Result<(), CallError>

Call vkCmdCopyBufferToImage2 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 vkCmdCopyBufferToImage2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_buffer_to_image2_khr( &self, command_buffer: CommandBuffer, copy_buffer_to_image_info: &CopyBufferToImageInfo2, ) -> Result<(), CallError>

Call vkCmdCopyBufferToImage2KHR 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 vkCmdCopyBufferToImage2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image_to_buffer2( &self, command_buffer: CommandBuffer, copy_image_to_buffer_info: &CopyImageToBufferInfo2, ) -> Result<(), CallError>

Call vkCmdCopyImageToBuffer2 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 vkCmdCopyImageToBuffer2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image_to_buffer2_khr( &self, command_buffer: CommandBuffer, copy_image_to_buffer_info: &CopyImageToBufferInfo2, ) -> Result<(), CallError>

Call vkCmdCopyImageToBuffer2KHR 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 vkCmdCopyImageToBuffer2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_resolve_image2( &self, command_buffer: CommandBuffer, resolve_image_info: &ResolveImageInfo2, ) -> Result<(), CallError>

Call vkCmdResolveImage2 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 vkCmdResolveImage2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_resolve_image2_khr( &self, command_buffer: CommandBuffer, resolve_image_info: &ResolveImageInfo2, ) -> Result<(), CallError>

Call vkCmdResolveImage2KHR 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 vkCmdResolveImage2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_fragment_shading_rate_khr( &self, command_buffer: CommandBuffer, p_fragment_size: *const Extent2D, combiner_ops: *const FragmentShadingRateCombinerOpKHR, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_fragment_shading_rate_enum_nv( &self, command_buffer: CommandBuffer, shading_rate: FragmentShadingRateNV, combiner_ops: *const FragmentShadingRateCombinerOpKHR, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn get_acceleration_structure_build_sizes_khr( &self, build_type: AccelerationStructureBuildTypeKHR, p_build_info: *const AccelerationStructureBuildGeometryInfoKHR, p_max_primitive_counts: *const u32, p_size_info: *mut AccelerationStructureBuildSizesInfoKHR, ) -> Result<(), CallError>

Call vkGetAccelerationStructureBuildSizesKHR 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 vkGetAccelerationStructureBuildSizesKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_vertex_input_ext( &self, command_buffer: CommandBuffer, vertex_binding_description_count: u32, p_vertex_binding_descriptions: *const VertexInputBindingDescription2EXT, vertex_attribute_description_count: u32, p_vertex_attribute_descriptions: *const VertexInputAttributeDescription2EXT, ) -> Result<(), CallError>

Call vkCmdSetVertexInputEXT 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 vkCmdSetVertexInputEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_color_write_enable_ext( &self, command_buffer: CommandBuffer, attachment_count: u32, p_color_write_enables: *const Bool32, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_event2( &self, command_buffer: CommandBuffer, event: Event, dependency_info: &DependencyInfo, ) -> Result<(), CallError>

Call vkCmdSetEvent2 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 vkCmdSetEvent2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_set_event2_khr( &self, command_buffer: CommandBuffer, event: Event, dependency_info: &DependencyInfo, ) -> Result<(), CallError>

Call vkCmdSetEvent2KHR 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 vkCmdSetEvent2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_reset_event2( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2, ) -> Result<(), CallError>

Call vkCmdResetEvent2 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 vkCmdResetEvent2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_reset_event2_khr( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags2, ) -> Result<(), CallError>

Call vkCmdResetEvent2KHR 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 vkCmdResetEvent2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_wait_events2( &self, command_buffer: CommandBuffer, events: &[Event], dependency_infos: &[DependencyInfo], ) -> Result<(), CallError>

Call vkCmdWaitEvents2 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 vkCmdWaitEvents2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_wait_events2_khr( &self, command_buffer: CommandBuffer, events: &[Event], dependency_infos: &[DependencyInfo], ) -> Result<(), CallError>

Call vkCmdWaitEvents2KHR 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 vkCmdWaitEvents2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_pipeline_barrier2( &self, command_buffer: CommandBuffer, dependency_info: &DependencyInfo, ) -> Result<(), CallError>

Call vkCmdPipelineBarrier2 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 vkCmdPipelineBarrier2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_pipeline_barrier2_khr( &self, command_buffer: CommandBuffer, dependency_info: &DependencyInfo, ) -> Result<(), CallError>

Call vkCmdPipelineBarrier2KHR 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 vkCmdPipelineBarrier2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn queue_submit2( &self, queue: Queue, submits: &[SubmitInfo2], fence: Fence, ) -> Result<(), CallError>

Call vkQueueSubmit2 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 vkQueueSubmit2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn queue_submit2_khr( &self, queue: Queue, submits: &[SubmitInfo2], fence: Fence, ) -> Result<(), CallError>

Call vkQueueSubmit2KHR 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 vkQueueSubmit2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_write_timestamp2( &self, command_buffer: CommandBuffer, stage: PipelineStageFlags2, query_pool: QueryPool, query: u32, ) -> Result<(), CallError>

Call vkCmdWriteTimestamp2 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 vkCmdWriteTimestamp2 valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_write_timestamp2_khr( &self, command_buffer: CommandBuffer, stage: PipelineStageFlags2, query_pool: QueryPool, query: u32, ) -> Result<(), CallError>

Call vkCmdWriteTimestamp2KHR 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 vkCmdWriteTimestamp2KHR valid usage, enabled API/extension/feature, pointer-chain lifetime, callback compatibility and host/GPU synchronization requirements. Native resources require explicit destruction after completion.

Source§

impl Device

Source

pub unsafe fn cmd_write_buffer_marker2_amd( &self, command_buffer: CommandBuffer, stage: PipelineStageFlags2, dst_buffer: Buffer, dst_offset: DeviceSize, marker: u32, ) -> Result<(), CallError>

Call vkCmdWriteBufferMarker2AMD 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 vkCmdWriteBufferMarker2AMD 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.

Source§

impl Device

Source

pub unsafe fn get_queue_checkpoint_data2_nv( &self, queue: Queue, p_checkpoint_data_count: *mut u32, p_checkpoint_data: *mut CheckpointData2NV, ) -> Result<(), CallError>

Call vkGetQueueCheckpointData2NV 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 vkGetQueueCheckpointData2NV 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.

Source§

impl Device

Source

pub unsafe fn copy_memory_to_image( &self, p_copy_memory_to_image_info: *const CopyMemoryToImageInfo, ) -> Result<Result, CallError>

Call vkCopyMemoryToImage 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 vkCopyMemoryToImage 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.

Source§

impl Device

Source

pub unsafe fn copy_memory_to_image_ext( &self, p_copy_memory_to_image_info: *const CopyMemoryToImageInfo, ) -> Result<Result, CallError>

Call vkCopyMemoryToImageEXT 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 vkCopyMemoryToImageEXT 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.

Source§

impl Device

Source

pub unsafe fn copy_image_to_memory( &self, p_copy_image_to_memory_info: *const CopyImageToMemoryInfo, ) -> Result<Result, CallError>

Call vkCopyImageToMemory 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 vkCopyImageToMemory 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.

Source§

impl Device

Source

pub unsafe fn copy_image_to_memory_ext( &self, p_copy_image_to_memory_info: *const CopyImageToMemoryInfo, ) -> Result<Result, CallError>

Call vkCopyImageToMemoryEXT 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 vkCopyImageToMemoryEXT 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.

Source§

impl Device

Source

pub unsafe fn copy_image_to_image( &self, p_copy_image_to_image_info: *const CopyImageToImageInfo, ) -> Result<Result, CallError>

Call vkCopyImageToImage 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 vkCopyImageToImage 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.

Source§

impl Device

Source

pub unsafe fn copy_image_to_image_ext( &self, p_copy_image_to_image_info: *const CopyImageToImageInfo, ) -> Result<Result, CallError>

Call vkCopyImageToImageEXT 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 vkCopyImageToImageEXT 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.

Source§

impl Device

Source

pub unsafe fn transition_image_layout( &self, transition_count: u32, p_transitions: *const HostImageLayoutTransitionInfo, ) -> Result<Result, CallError>

Call vkTransitionImageLayout 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 vkTransitionImageLayout 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.

Source§

impl Device

Source

pub unsafe fn transition_image_layout_ext( &self, transition_count: u32, p_transitions: *const HostImageLayoutTransitionInfo, ) -> Result<Result, CallError>

Call vkTransitionImageLayoutEXT 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 vkTransitionImageLayoutEXT 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.

Source§

impl Device

Source

pub unsafe fn create_video_session_khr( &self, p_create_info: *const VideoSessionCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_video_session: *mut VideoSessionKHR, ) -> Result<Result, CallError>

Call vkCreateVideoSessionKHR 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 vkCreateVideoSessionKHR 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.

Source§

impl Device

Source

pub unsafe fn destroy_video_session_khr( &self, video_session: VideoSessionKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyVideoSessionKHR 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 vkDestroyVideoSessionKHR 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.

Source§

impl Device

Source

pub unsafe fn create_video_session_parameters_khr( &self, p_create_info: *const VideoSessionParametersCreateInfoKHR, p_allocator: *const AllocationCallbacks, p_video_session_parameters: *mut VideoSessionParametersKHR, ) -> Result<Result, CallError>

Call vkCreateVideoSessionParametersKHR 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 vkCreateVideoSessionParametersKHR 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.

Source§

impl Device

Source

pub unsafe fn update_video_session_parameters_khr( &self, video_session_parameters: VideoSessionParametersKHR, p_update_info: *const VideoSessionParametersUpdateInfoKHR, ) -> Result<Result, CallError>

Call vkUpdateVideoSessionParametersKHR 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 vkUpdateVideoSessionParametersKHR 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.

Source§

impl Device

Source

pub unsafe fn get_encoded_video_session_parameters_khr( &self, p_video_session_parameters_info: *const VideoEncodeSessionParametersGetInfoKHR, p_feedback_info: *mut VideoEncodeSessionParametersFeedbackInfoKHR, p_data_size: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetEncodedVideoSessionParametersKHR 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 vkGetEncodedVideoSessionParametersKHR 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.

Source§

impl Device

Source

pub unsafe fn destroy_video_session_parameters_khr( &self, video_session_parameters: VideoSessionParametersKHR, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyVideoSessionParametersKHR 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 vkDestroyVideoSessionParametersKHR 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.

Source§

impl Device

Source

pub unsafe fn get_video_session_memory_requirements_khr( &self, video_session: VideoSessionKHR, p_memory_requirements_count: *mut u32, p_memory_requirements: *mut VideoSessionMemoryRequirementsKHR, ) -> Result<Result, CallError>

Call vkGetVideoSessionMemoryRequirementsKHR 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 vkGetVideoSessionMemoryRequirementsKHR 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.

Source§

impl Device

Source

pub unsafe fn bind_video_session_memory_khr( &self, video_session: VideoSessionKHR, bind_session_memory_info_count: u32, p_bind_session_memory_infos: *const BindVideoSessionMemoryInfoKHR, ) -> Result<Result, CallError>

Call vkBindVideoSessionMemoryKHR 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 vkBindVideoSessionMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_decode_video_khr( &self, command_buffer: CommandBuffer, p_decode_info: *const VideoDecodeInfoKHR, ) -> Result<(), CallError>

Call vkCmdDecodeVideoKHR 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 vkCmdDecodeVideoKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_video_coding_khr( &self, command_buffer: CommandBuffer, p_begin_info: *const VideoBeginCodingInfoKHR, ) -> Result<(), CallError>

Call vkCmdBeginVideoCodingKHR 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 vkCmdBeginVideoCodingKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_control_video_coding_khr( &self, command_buffer: CommandBuffer, p_coding_control_info: *const VideoCodingControlInfoKHR, ) -> Result<(), CallError>

Call vkCmdControlVideoCodingKHR 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 vkCmdControlVideoCodingKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_end_video_coding_khr( &self, command_buffer: CommandBuffer, p_end_coding_info: *const VideoEndCodingInfoKHR, ) -> Result<(), CallError>

Call vkCmdEndVideoCodingKHR 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 vkCmdEndVideoCodingKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_encode_video_khr( &self, command_buffer: CommandBuffer, p_encode_info: *const VideoEncodeInfoKHR, ) -> Result<(), CallError>

Call vkCmdEncodeVideoKHR 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 vkCmdEncodeVideoKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_decompress_memory_nv( &self, command_buffer: CommandBuffer, decompress_region_count: u32, p_decompress_memory_regions: *const DecompressMemoryRegionNV, ) -> Result<(), CallError>

Call vkCmdDecompressMemoryNV 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 vkCmdDecompressMemoryNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_decompress_memory_indirect_count_nv( &self, command_buffer: CommandBuffer, indirect_commands_address: DeviceAddress, indirect_commands_count_address: DeviceAddress, stride: u32, ) -> Result<(), CallError>

Call vkCmdDecompressMemoryIndirectCountNV 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 vkCmdDecompressMemoryIndirectCountNV 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.

Source§

impl Device

Source

pub unsafe fn get_partitioned_acceleration_structures_build_sizes_nv( &self, p_info: *const PartitionedAccelerationStructureInstancesInputNV, p_size_info: *mut AccelerationStructureBuildSizesInfoKHR, ) -> Result<(), CallError>

Call vkGetPartitionedAccelerationStructuresBuildSizesNV 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 vkGetPartitionedAccelerationStructuresBuildSizesNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_build_partitioned_acceleration_structures_nv( &self, command_buffer: CommandBuffer, p_build_info: *const BuildPartitionedAccelerationStructureInfoNV, ) -> Result<(), CallError>

Call vkCmdBuildPartitionedAccelerationStructuresNV 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 vkCmdBuildPartitionedAccelerationStructuresNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_decompress_memory_ext( &self, command_buffer: CommandBuffer, p_decompress_memory_info_ext: *const DecompressMemoryInfoEXT, ) -> Result<(), CallError>

Call vkCmdDecompressMemoryEXT 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 vkCmdDecompressMemoryEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_decompress_memory_indirect_count_ext( &self, command_buffer: CommandBuffer, decompression_method: MemoryDecompressionMethodFlagsEXT, indirect_commands_address: DeviceAddress, indirect_commands_count_address: DeviceAddress, max_decompression_count: u32, stride: u32, ) -> Result<(), CallError>

Call vkCmdDecompressMemoryIndirectCountEXT 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 vkCmdDecompressMemoryIndirectCountEXT 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.

Source§

impl Device

Source

pub unsafe fn create_cu_module_nvx( &self, p_create_info: *const CuModuleCreateInfoNVX, p_allocator: *const AllocationCallbacks, p_module: *mut CuModuleNVX, ) -> Result<Result, CallError>

Call vkCreateCuModuleNVX 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 vkCreateCuModuleNVX 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.

Source§

impl Device

Source

pub unsafe fn create_cu_function_nvx( &self, p_create_info: *const CuFunctionCreateInfoNVX, p_allocator: *const AllocationCallbacks, p_function: *mut CuFunctionNVX, ) -> Result<Result, CallError>

Call vkCreateCuFunctionNVX 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 vkCreateCuFunctionNVX 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.

Source§

impl Device

Source

pub unsafe fn destroy_cu_module_nvx( &self, module: CuModuleNVX, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyCuModuleNVX 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 vkDestroyCuModuleNVX 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.

Source§

impl Device

Source

pub unsafe fn destroy_cu_function_nvx( &self, function: CuFunctionNVX, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyCuFunctionNVX 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 vkDestroyCuFunctionNVX 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.

Source§

impl Device

Source

pub unsafe fn cmd_cu_launch_kernel_nvx( &self, command_buffer: CommandBuffer, p_launch_info: *const CuLaunchInfoNVX, ) -> Result<(), CallError>

Call vkCmdCuLaunchKernelNVX 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 vkCmdCuLaunchKernelNVX 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.

Source§

impl Device

Source

pub unsafe fn get_descriptor_set_layout_size_ext( &self, layout: DescriptorSetLayout, p_layout_size_in_bytes: *mut DeviceSize, ) -> Result<(), CallError>

Call vkGetDescriptorSetLayoutSizeEXT 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 vkGetDescriptorSetLayoutSizeEXT 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.

Source§

impl Device

Source

pub unsafe fn get_descriptor_set_layout_binding_offset_ext( &self, layout: DescriptorSetLayout, binding: u32, p_offset: *mut DeviceSize, ) -> Result<(), CallError>

Call vkGetDescriptorSetLayoutBindingOffsetEXT 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 vkGetDescriptorSetLayoutBindingOffsetEXT 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.

Source§

impl Device

Source

pub unsafe fn get_descriptor_ext( &self, p_descriptor_info: *const DescriptorGetInfoEXT, data_size: usize, p_descriptor: *mut c_void, ) -> Result<(), CallError>

Call vkGetDescriptorEXT 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 vkGetDescriptorEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_descriptor_buffers_ext( &self, command_buffer: CommandBuffer, buffer_count: u32, p_binding_infos: *const DescriptorBufferBindingInfoEXT, ) -> Result<(), CallError>

Call vkCmdBindDescriptorBuffersEXT 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 vkCmdBindDescriptorBuffersEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_descriptor_buffer_offsets_ext( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, first_set: u32, set_count: u32, p_buffer_indices: *const u32, p_offsets: *const DeviceSize, ) -> Result<(), CallError>

Call vkCmdSetDescriptorBufferOffsetsEXT 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 vkCmdSetDescriptorBufferOffsetsEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_descriptor_buffer_embedded_samplers_ext( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, set: u32, ) -> Result<(), CallError>

Call vkCmdBindDescriptorBufferEmbeddedSamplersEXT 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 vkCmdBindDescriptorBufferEmbeddedSamplersEXT 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.

Source§

impl Device

Source

pub unsafe fn get_buffer_opaque_capture_descriptor_data_ext( &self, p_info: *const BufferCaptureDescriptorDataInfoEXT, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetBufferOpaqueCaptureDescriptorDataEXT 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 vkGetBufferOpaqueCaptureDescriptorDataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_image_opaque_capture_descriptor_data_ext( &self, p_info: *const ImageCaptureDescriptorDataInfoEXT, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetImageOpaqueCaptureDescriptorDataEXT 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 vkGetImageOpaqueCaptureDescriptorDataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_image_view_opaque_capture_descriptor_data_ext( &self, p_info: *const ImageViewCaptureDescriptorDataInfoEXT, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetImageViewOpaqueCaptureDescriptorDataEXT 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 vkGetImageViewOpaqueCaptureDescriptorDataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_sampler_opaque_capture_descriptor_data_ext( &self, p_info: *const SamplerCaptureDescriptorDataInfoEXT, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetSamplerOpaqueCaptureDescriptorDataEXT 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 vkGetSamplerOpaqueCaptureDescriptorDataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_acceleration_structure_opaque_capture_descriptor_data_ext( &self, p_info: *const AccelerationStructureCaptureDescriptorDataInfoEXT, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT 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 vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT 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.

Source§

impl Device

Source

pub unsafe fn set_device_memory_priority_ext( &self, memory: DeviceMemory, priority: f32, ) -> Result<(), CallError>

Call vkSetDeviceMemoryPriorityEXT 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 vkSetDeviceMemoryPriorityEXT 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.

Source§

impl Device

Source

pub unsafe fn wait_for_present2_khr( &self, swapchain: SwapchainKHR, p_present_wait2_info: *const PresentWait2InfoKHR, ) -> Result<Result, CallError>

Call vkWaitForPresent2KHR 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 vkWaitForPresent2KHR 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.

Source§

impl Device

Source

pub unsafe fn wait_for_present_khr( &self, swapchain: SwapchainKHR, present_id: u64, timeout: u64, ) -> Result<Result, CallError>

Call vkWaitForPresentKHR 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 vkWaitForPresentKHR 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.

Source§

impl Device

Source

pub unsafe fn create_buffer_collection_fuchsia( &self, p_create_info: *const BufferCollectionCreateInfoFUCHSIA, p_allocator: *const AllocationCallbacks, p_collection: *mut BufferCollectionFUCHSIA, ) -> Result<Result, CallError>

Call vkCreateBufferCollectionFUCHSIA 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 vkCreateBufferCollectionFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn set_buffer_collection_buffer_constraints_fuchsia( &self, collection: BufferCollectionFUCHSIA, p_buffer_constraints_info: *const BufferConstraintsInfoFUCHSIA, ) -> Result<Result, CallError>

Call vkSetBufferCollectionBufferConstraintsFUCHSIA 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 vkSetBufferCollectionBufferConstraintsFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn set_buffer_collection_image_constraints_fuchsia( &self, collection: BufferCollectionFUCHSIA, p_image_constraints_info: *const ImageConstraintsInfoFUCHSIA, ) -> Result<Result, CallError>

Call vkSetBufferCollectionImageConstraintsFUCHSIA 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 vkSetBufferCollectionImageConstraintsFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn destroy_buffer_collection_fuchsia( &self, collection: BufferCollectionFUCHSIA, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyBufferCollectionFUCHSIA 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 vkDestroyBufferCollectionFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn get_buffer_collection_properties_fuchsia( &self, collection: BufferCollectionFUCHSIA, p_properties: *mut BufferCollectionPropertiesFUCHSIA, ) -> Result<Result, CallError>

Call vkGetBufferCollectionPropertiesFUCHSIA 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 vkGetBufferCollectionPropertiesFUCHSIA 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.

Source§

impl Device

Source

pub unsafe fn create_cuda_module_nv( &self, p_create_info: *const CudaModuleCreateInfoNV, p_allocator: *const AllocationCallbacks, p_module: *mut CudaModuleNV, ) -> Result<Result, CallError>

Call vkCreateCudaModuleNV 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 vkCreateCudaModuleNV 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.

Source§

impl Device

Source

pub unsafe fn get_cuda_module_cache_nv( &self, module: CudaModuleNV, p_cache_size: *mut usize, p_cache_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetCudaModuleCacheNV 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 vkGetCudaModuleCacheNV 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.

Source§

impl Device

Source

pub unsafe fn create_cuda_function_nv( &self, p_create_info: *const CudaFunctionCreateInfoNV, p_allocator: *const AllocationCallbacks, p_function: *mut CudaFunctionNV, ) -> Result<Result, CallError>

Call vkCreateCudaFunctionNV 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 vkCreateCudaFunctionNV 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.

Source§

impl Device

Source

pub unsafe fn destroy_cuda_module_nv( &self, module: CudaModuleNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyCudaModuleNV 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 vkDestroyCudaModuleNV 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.

Source§

impl Device

Source

pub unsafe fn destroy_cuda_function_nv( &self, function: CudaFunctionNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyCudaFunctionNV 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 vkDestroyCudaFunctionNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_cuda_launch_kernel_nv( &self, command_buffer: CommandBuffer, p_launch_info: *const CudaLaunchInfoNV, ) -> Result<(), CallError>

Call vkCmdCudaLaunchKernelNV 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 vkCmdCudaLaunchKernelNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_rendering( &self, command_buffer: CommandBuffer, p_rendering_info: *const RenderingInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_rendering_khr( &self, command_buffer: CommandBuffer, p_rendering_info: *const RenderingInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_rendering( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdEndRendering 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 vkCmdEndRendering 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.

Source§

impl Device

Source

pub unsafe fn cmd_end_rendering2_khr( &self, command_buffer: CommandBuffer, p_rendering_end_info: *const RenderingEndInfoKHR, ) -> Result<(), CallError>

Call vkCmdEndRendering2KHR 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 vkCmdEndRendering2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_end_rendering2_ext( &self, command_buffer: CommandBuffer, p_rendering_end_info: *const RenderingEndInfoKHR, ) -> Result<(), CallError>

Call vkCmdEndRendering2EXT 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 vkCmdEndRendering2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_end_rendering_khr( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdEndRenderingKHR 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 vkCmdEndRenderingKHR 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.

Source§

impl Device

Source

pub unsafe fn get_descriptor_set_layout_host_mapping_info_valve( &self, p_binding_reference: *const DescriptorSetBindingReferenceVALVE, p_host_mapping: *mut DescriptorSetLayoutHostMappingInfoVALVE, ) -> Result<(), CallError>

Call vkGetDescriptorSetLayoutHostMappingInfoVALVE 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 vkGetDescriptorSetLayoutHostMappingInfoVALVE 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.

Source§

impl Device

Source

pub unsafe fn get_descriptor_set_host_mapping_valve( &self, descriptor_set: DescriptorSet, pp_data: *mut *mut c_void, ) -> Result<(), CallError>

Call vkGetDescriptorSetHostMappingVALVE 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 vkGetDescriptorSetHostMappingVALVE 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.

Source§

impl Device

Source

pub unsafe fn create_micromap_ext( &self, p_create_info: *const MicromapCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_micromap: *mut MicromapEXT, ) -> Result<Result, CallError>

Call vkCreateMicromapEXT 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 vkCreateMicromapEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_build_micromaps_ext( &self, command_buffer: CommandBuffer, info_count: u32, p_infos: *const MicromapBuildInfoEXT, ) -> Result<(), CallError>

Call vkCmdBuildMicromapsEXT 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 vkCmdBuildMicromapsEXT 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.

Source§

impl Device

Source

pub unsafe fn build_micromaps_ext( &self, deferred_operation: DeferredOperationKHR, info_count: u32, p_infos: *const MicromapBuildInfoEXT, ) -> Result<Result, CallError>

Call vkBuildMicromapsEXT 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 vkBuildMicromapsEXT 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.

Source§

impl Device

Source

pub unsafe fn destroy_micromap_ext( &self, micromap: MicromapEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyMicromapEXT 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 vkDestroyMicromapEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_micromap_ext( &self, command_buffer: CommandBuffer, p_info: *const CopyMicromapInfoEXT, ) -> Result<(), CallError>

Call vkCmdCopyMicromapEXT 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 vkCmdCopyMicromapEXT 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.

Source§

impl Device

Source

pub unsafe fn copy_micromap_ext( &self, deferred_operation: DeferredOperationKHR, p_info: *const CopyMicromapInfoEXT, ) -> Result<Result, CallError>

Call vkCopyMicromapEXT 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 vkCopyMicromapEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_micromap_to_memory_ext( &self, command_buffer: CommandBuffer, p_info: *const CopyMicromapToMemoryInfoEXT, ) -> Result<(), CallError>

Call vkCmdCopyMicromapToMemoryEXT 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 vkCmdCopyMicromapToMemoryEXT 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.

Source§

impl Device

Source

pub unsafe fn copy_micromap_to_memory_ext( &self, deferred_operation: DeferredOperationKHR, p_info: *const CopyMicromapToMemoryInfoEXT, ) -> Result<Result, CallError>

Call vkCopyMicromapToMemoryEXT 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 vkCopyMicromapToMemoryEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_to_micromap_ext( &self, command_buffer: CommandBuffer, p_info: *const CopyMemoryToMicromapInfoEXT, ) -> Result<(), CallError>

Call vkCmdCopyMemoryToMicromapEXT 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 vkCmdCopyMemoryToMicromapEXT 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.

Source§

impl Device

Source

pub unsafe fn copy_memory_to_micromap_ext( &self, deferred_operation: DeferredOperationKHR, p_info: *const CopyMemoryToMicromapInfoEXT, ) -> Result<Result, CallError>

Call vkCopyMemoryToMicromapEXT 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 vkCopyMemoryToMicromapEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_write_micromaps_properties_ext( &self, command_buffer: CommandBuffer, micromap_count: u32, p_micromaps: *const MicromapEXT, query_type: QueryType, query_pool: QueryPool, first_query: u32, ) -> Result<(), CallError>

Call vkCmdWriteMicromapsPropertiesEXT 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 vkCmdWriteMicromapsPropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn write_micromaps_properties_ext( &self, micromap_count: u32, p_micromaps: *const MicromapEXT, query_type: QueryType, data_size: usize, p_data: *mut c_void, stride: usize, ) -> Result<Result, CallError>

Call vkWriteMicromapsPropertiesEXT 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 vkWriteMicromapsPropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_device_micromap_compatibility_ext( &self, p_version_info: *const MicromapVersionInfoEXT, p_compatibility: *mut AccelerationStructureCompatibilityKHR, ) -> Result<(), CallError>

Call vkGetDeviceMicromapCompatibilityEXT 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 vkGetDeviceMicromapCompatibilityEXT 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.

Source§

impl Device

Source

pub unsafe fn get_micromap_build_sizes_ext( &self, build_type: AccelerationStructureBuildTypeKHR, p_build_info: *const MicromapBuildInfoEXT, p_size_info: *mut MicromapBuildSizesInfoEXT, ) -> Result<(), CallError>

Call vkGetMicromapBuildSizesEXT 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 vkGetMicromapBuildSizesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_shader_module_identifier_ext( &self, shader_module: ShaderModule, p_identifier: *mut ShaderModuleIdentifierEXT, ) -> Result<(), CallError>

Call vkGetShaderModuleIdentifierEXT 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 vkGetShaderModuleIdentifierEXT 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.

Source§

impl Device

Source

pub unsafe fn get_shader_module_create_info_identifier_ext( &self, p_create_info: *const ShaderModuleCreateInfo, p_identifier: *mut ShaderModuleIdentifierEXT, ) -> Result<(), CallError>

Call vkGetShaderModuleCreateInfoIdentifierEXT 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 vkGetShaderModuleCreateInfoIdentifierEXT 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.

Source§

impl Device

Source

pub unsafe fn get_image_subresource_layout2( &self, image: Image, p_subresource: *const ImageSubresource2, p_layout: *mut SubresourceLayout2, ) -> Result<(), CallError>

Call vkGetImageSubresourceLayout2 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 vkGetImageSubresourceLayout2 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.

Source§

impl Device

Source

pub unsafe fn get_image_subresource_layout2_khr( &self, image: Image, p_subresource: *const ImageSubresource2, p_layout: *mut SubresourceLayout2, ) -> Result<(), CallError>

Call vkGetImageSubresourceLayout2KHR 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 vkGetImageSubresourceLayout2KHR 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.

Source§

impl Device

Source

pub unsafe fn get_image_subresource_layout2_ext( &self, image: Image, p_subresource: *const ImageSubresource2, p_layout: *mut SubresourceLayout2, ) -> Result<(), CallError>

Call vkGetImageSubresourceLayout2EXT 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 vkGetImageSubresourceLayout2EXT 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.

Source§

impl Device

Source

pub unsafe fn get_pipeline_properties_ext( &self, p_pipeline_info: *const PipelineInfoKHR, p_pipeline_properties: *mut BaseOutStructure, ) -> Result<Result, CallError>

Call vkGetPipelinePropertiesEXT 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 vkGetPipelinePropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn export_metal_objects_ext( &self, p_metal_objects_info: *mut ExportMetalObjectsInfoEXT, ) -> Result<(), CallError>

Call vkExportMetalObjectsEXT 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 vkExportMetalObjectsEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_tile_memory_qcom( &self, command_buffer: CommandBuffer, p_tile_memory_bind_info: *const TileMemoryBindInfoQCOM, ) -> Result<(), CallError>

Call vkCmdBindTileMemoryQCOM 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 vkCmdBindTileMemoryQCOM 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.

Source§

impl Device

Source

pub unsafe fn get_framebuffer_tile_properties_qcom( &self, framebuffer: Framebuffer, p_properties_count: *mut u32, p_properties: *mut TilePropertiesQCOM, ) -> Result<Result, CallError>

Call vkGetFramebufferTilePropertiesQCOM 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 vkGetFramebufferTilePropertiesQCOM 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.

Source§

impl Device

Source

pub unsafe fn get_dynamic_rendering_tile_properties_qcom( &self, p_rendering_info: *const RenderingInfo, p_properties: *mut TilePropertiesQCOM, ) -> Result<Result, CallError>

Call vkGetDynamicRenderingTilePropertiesQCOM 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 vkGetDynamicRenderingTilePropertiesQCOM 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.

Source§

impl Device

Source

pub unsafe fn create_optical_flow_session_nv( &self, p_create_info: *const OpticalFlowSessionCreateInfoNV, p_allocator: *const AllocationCallbacks, p_session: *mut OpticalFlowSessionNV, ) -> Result<Result, CallError>

Call vkCreateOpticalFlowSessionNV 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 vkCreateOpticalFlowSessionNV 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.

Source§

impl Device

Source

pub unsafe fn destroy_optical_flow_session_nv( &self, session: OpticalFlowSessionNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyOpticalFlowSessionNV 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 vkDestroyOpticalFlowSessionNV 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.

Source§

impl Device

Source

pub unsafe fn bind_optical_flow_session_image_nv( &self, session: OpticalFlowSessionNV, binding_point: OpticalFlowSessionBindingPointNV, view: ImageView, layout: ImageLayout, ) -> Result<Result, CallError>

Call vkBindOpticalFlowSessionImageNV 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 vkBindOpticalFlowSessionImageNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_optical_flow_execute_nv( &self, command_buffer: CommandBuffer, session: OpticalFlowSessionNV, p_execute_info: *const OpticalFlowExecuteInfoNV, ) -> Result<(), CallError>

Call vkCmdOpticalFlowExecuteNV 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 vkCmdOpticalFlowExecuteNV 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.

Source§

impl Device

Source

pub unsafe fn get_device_fault_info_ext( &self, p_fault_counts: *mut DeviceFaultCountsEXT, p_fault_info: *mut DeviceFaultInfoEXT, ) -> Result<Result, CallError>

Call vkGetDeviceFaultInfoEXT 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 vkGetDeviceFaultInfoEXT 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.

Source§

impl Device

Source

pub unsafe fn get_device_fault_reports_khr( &self, timeout: u64, p_fault_counts: *mut u32, p_fault_info: *mut DeviceFaultInfoKHR, ) -> Result<Result, CallError>

Call vkGetDeviceFaultReportsKHR 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 vkGetDeviceFaultReportsKHR 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.

Source§

impl Device

Source

pub unsafe fn get_device_fault_debug_info_khr( &self, p_debug_info: *mut DeviceFaultDebugInfoKHR, ) -> Result<Result, CallError>

Call vkGetDeviceFaultDebugInfoKHR 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 vkGetDeviceFaultDebugInfoKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_bias2_ext( &self, command_buffer: CommandBuffer, p_depth_bias_info: *const DepthBiasInfoEXT, ) -> Result<(), CallError>

Call vkCmdSetDepthBias2EXT 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 vkCmdSetDepthBias2EXT 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.

Source§

impl Device

Source

pub unsafe fn release_swapchain_images_khr( &self, p_release_info: *const ReleaseSwapchainImagesInfoKHR, ) -> Result<Result, CallError>

Call vkReleaseSwapchainImagesKHR 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 vkReleaseSwapchainImagesKHR 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.

Source§

impl Device

Source

pub unsafe fn release_swapchain_images_ext( &self, p_release_info: *const ReleaseSwapchainImagesInfoKHR, ) -> Result<Result, CallError>

Call vkReleaseSwapchainImagesEXT 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 vkReleaseSwapchainImagesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_device_image_subresource_layout( &self, p_info: *const DeviceImageSubresourceInfo, p_layout: *mut SubresourceLayout2, ) -> Result<(), CallError>

Call vkGetDeviceImageSubresourceLayout 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 vkGetDeviceImageSubresourceLayout 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.

Source§

impl Device

Source

pub unsafe fn get_device_image_subresource_layout_khr( &self, p_info: *const DeviceImageSubresourceInfo, p_layout: *mut SubresourceLayout2, ) -> Result<(), CallError>

Call vkGetDeviceImageSubresourceLayoutKHR 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 vkGetDeviceImageSubresourceLayoutKHR 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.

Source§

impl Device

Source

pub unsafe fn map_memory2( &self, p_memory_map_info: *const MemoryMapInfo, pp_data: *mut *mut c_void, ) -> Result<Result, CallError>

Call vkMapMemory2 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 vkMapMemory2 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.

Source§

impl Device

Source

pub unsafe fn map_memory2_khr( &self, p_memory_map_info: *const MemoryMapInfo, pp_data: *mut *mut c_void, ) -> Result<Result, CallError>

Call vkMapMemory2KHR 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 vkMapMemory2KHR 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.

Source§

impl Device

Source

pub unsafe fn unmap_memory2( &self, p_memory_unmap_info: *const MemoryUnmapInfo, ) -> Result<Result, CallError>

Call vkUnmapMemory2 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 vkUnmapMemory2 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.

Source§

impl Device

Source

pub unsafe fn unmap_memory2_khr( &self, p_memory_unmap_info: *const MemoryUnmapInfo, ) -> Result<Result, CallError>

Call vkUnmapMemory2KHR 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 vkUnmapMemory2KHR 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.

Source§

impl Device

Source

pub unsafe fn create_shaders_ext( &self, create_info_count: u32, p_create_infos: *const ShaderCreateInfoEXT, p_allocator: *const AllocationCallbacks, p_shaders: *mut ShaderEXT, ) -> Result<Result, CallError>

Call vkCreateShadersEXT 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 vkCreateShadersEXT 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.

Source§

impl Device

Source

pub unsafe fn destroy_shader_ext( &self, shader: ShaderEXT, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyShaderEXT 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 vkDestroyShaderEXT 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.

Source§

impl Device

Source

pub unsafe fn get_shader_binary_data_ext( &self, shader: ShaderEXT, p_data_size: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetShaderBinaryDataEXT 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 vkGetShaderBinaryDataEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_shaders_ext( &self, command_buffer: CommandBuffer, stage_count: u32, p_stages: *const ShaderStageFlagBits, p_shaders: *const ShaderEXT, ) -> Result<(), CallError>

Call vkCmdBindShadersEXT 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 vkCmdBindShadersEXT 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.

Source§

impl Device

Source

pub unsafe fn set_swapchain_present_timing_queue_size_ext( &self, swapchain: SwapchainKHR, size: u32, ) -> Result<Result, CallError>

Call vkSetSwapchainPresentTimingQueueSizeEXT 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 vkSetSwapchainPresentTimingQueueSizeEXT 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.

Source§

impl Device

Source

pub unsafe fn get_swapchain_timing_properties_ext( &self, swapchain: SwapchainKHR, p_swapchain_timing_properties: *mut SwapchainTimingPropertiesEXT, p_swapchain_timing_properties_counter: *mut u64, ) -> Result<Result, CallError>

Call vkGetSwapchainTimingPropertiesEXT 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 vkGetSwapchainTimingPropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_swapchain_time_domain_properties_ext( &self, swapchain: SwapchainKHR, p_swapchain_time_domain_properties: *mut SwapchainTimeDomainPropertiesEXT, p_time_domains_counter: *mut u64, ) -> Result<Result, CallError>

Call vkGetSwapchainTimeDomainPropertiesEXT 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 vkGetSwapchainTimeDomainPropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn get_past_presentation_timing_ext( &self, p_past_presentation_timing_info: *const PastPresentationTimingInfoEXT, p_past_presentation_timing_properties: *mut PastPresentationTimingPropertiesEXT, ) -> Result<Result, CallError>

Call vkGetPastPresentationTimingEXT 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 vkGetPastPresentationTimingEXT 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.

Source§

impl Device

Source

pub unsafe fn get_screen_buffer_properties_qnx( &self, buffer: *const _screen_buffer, p_properties: *mut ScreenBufferPropertiesQNX, ) -> Result<Result, CallError>

Call vkGetScreenBufferPropertiesQNX 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 vkGetScreenBufferPropertiesQNX 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.

Source§

impl Device

Source

pub unsafe fn get_execution_graph_pipeline_scratch_size_amdx( &self, execution_graph: Pipeline, p_size_info: *mut ExecutionGraphPipelineScratchSizeAMDX, ) -> Result<Result, CallError>

Call vkGetExecutionGraphPipelineScratchSizeAMDX 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 vkGetExecutionGraphPipelineScratchSizeAMDX 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.

Source§

impl Device

Source

pub unsafe fn get_execution_graph_pipeline_node_index_amdx( &self, execution_graph: Pipeline, p_node_info: *const PipelineShaderStageNodeCreateInfoAMDX, p_node_index: *mut u32, ) -> Result<Result, CallError>

Call vkGetExecutionGraphPipelineNodeIndexAMDX 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 vkGetExecutionGraphPipelineNodeIndexAMDX 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.

Source§

impl Device

Source

pub unsafe fn create_execution_graph_pipelines_amdx( &self, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const ExecutionGraphPipelineCreateInfoAMDX, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result<Result, CallError>

Call vkCreateExecutionGraphPipelinesAMDX 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 vkCreateExecutionGraphPipelinesAMDX 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.

Source§

impl Device

Source

pub unsafe fn cmd_initialize_graph_scratch_memory_amdx( &self, command_buffer: CommandBuffer, execution_graph: Pipeline, scratch: DeviceAddress, scratch_size: DeviceSize, ) -> Result<(), CallError>

Call vkCmdInitializeGraphScratchMemoryAMDX 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 vkCmdInitializeGraphScratchMemoryAMDX 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_graph_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, scratch_size: DeviceSize, p_count_info: *const DispatchGraphCountInfoAMDX, ) -> Result<(), CallError>

Call vkCmdDispatchGraphAMDX 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 vkCmdDispatchGraphAMDX 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_graph_indirect_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, scratch_size: DeviceSize, p_count_info: *const DispatchGraphCountInfoAMDX, ) -> Result<(), CallError>

Call vkCmdDispatchGraphIndirectAMDX 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 vkCmdDispatchGraphIndirectAMDX 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_graph_indirect_count_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, scratch_size: DeviceSize, count_info: DeviceAddress, ) -> Result<(), CallError>

Call vkCmdDispatchGraphIndirectCountAMDX 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 vkCmdDispatchGraphIndirectCountAMDX 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.

Source§

impl Device

Source

pub unsafe fn create_gpa_session_amd( &self, p_create_info: *const GpaSessionCreateInfoAMD, p_allocator: *const AllocationCallbacks, p_gpa_session: *mut GpaSessionAMD, ) -> Result<Result, CallError>

Call vkCreateGpaSessionAMD 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 vkCreateGpaSessionAMD 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.

Source§

impl Device

Source

pub unsafe fn destroy_gpa_session_amd( &self, gpa_session: GpaSessionAMD, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyGpaSessionAMD 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 vkDestroyGpaSessionAMD 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.

Source§

impl Device

Source

pub unsafe fn set_gpa_device_clock_mode_amd( &self, p_info: *mut GpaDeviceClockModeInfoAMD, ) -> Result<Result, CallError>

Call vkSetGpaDeviceClockModeAMD 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 vkSetGpaDeviceClockModeAMD 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.

Source§

impl Device

Source

pub unsafe fn get_gpa_device_clock_info_amd( &self, p_info: *mut GpaDeviceGetClockInfoAMD, ) -> Result<Result, CallError>

Call vkGetGpaDeviceClockInfoAMD 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 vkGetGpaDeviceClockInfoAMD 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_gpa_session_amd( &self, command_buffer: CommandBuffer, gpa_session: GpaSessionAMD, ) -> Result<Result, CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_gpa_session_amd( &self, command_buffer: CommandBuffer, gpa_session: GpaSessionAMD, ) -> Result<Result, CallError>

Call vkCmdEndGpaSessionAMD 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 vkCmdEndGpaSessionAMD 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_gpa_sample_amd( &self, 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.

§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.

Source§

impl Device

Source

pub unsafe fn cmd_end_gpa_sample_amd( &self, command_buffer: CommandBuffer, gpa_session: GpaSessionAMD, sample_id: u32, ) -> Result<(), CallError>

Call vkCmdEndGpaSampleAMD 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 vkCmdEndGpaSampleAMD 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.

Source§

impl Device

Source

pub unsafe fn get_gpa_session_status_amd( &self, gpa_session: GpaSessionAMD, ) -> Result<Result, CallError>

Call vkGetGpaSessionStatusAMD 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 vkGetGpaSessionStatusAMD 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.

Source§

impl Device

Source

pub unsafe fn get_gpa_session_results_amd( &self, gpa_session: GpaSessionAMD, sample_id: u32, p_size_in_bytes: *mut usize, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetGpaSessionResultsAMD 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 vkGetGpaSessionResultsAMD 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.

Source§

impl Device

Source

pub unsafe fn reset_gpa_session_amd( &self, gpa_session: GpaSessionAMD, ) -> Result<Result, CallError>

Call vkResetGpaSessionAMD 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 vkResetGpaSessionAMD 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_gpa_session_results_amd( &self, command_buffer: CommandBuffer, gpa_session: GpaSessionAMD, ) -> Result<(), CallError>

Call vkCmdCopyGpaSessionResultsAMD 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 vkCmdCopyGpaSessionResultsAMD 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_descriptor_sets2( &self, command_buffer: CommandBuffer, p_bind_descriptor_sets_info: *const BindDescriptorSetsInfo, ) -> Result<(), CallError>

Call vkCmdBindDescriptorSets2 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 vkCmdBindDescriptorSets2 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_descriptor_sets2_khr( &self, command_buffer: CommandBuffer, p_bind_descriptor_sets_info: *const BindDescriptorSetsInfo, ) -> Result<(), CallError>

Call vkCmdBindDescriptorSets2KHR 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 vkCmdBindDescriptorSets2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_constants2( &self, command_buffer: CommandBuffer, p_push_constants_info: *const PushConstantsInfo, ) -> Result<(), CallError>

Call vkCmdPushConstants2 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 vkCmdPushConstants2 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_constants2_khr( &self, command_buffer: CommandBuffer, p_push_constants_info: *const PushConstantsInfo, ) -> Result<(), CallError>

Call vkCmdPushConstants2KHR 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 vkCmdPushConstants2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set2( &self, command_buffer: CommandBuffer, p_push_descriptor_set_info: *const PushDescriptorSetInfo, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSet2 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 vkCmdPushDescriptorSet2 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set2_khr( &self, command_buffer: CommandBuffer, p_push_descriptor_set_info: *const PushDescriptorSetInfo, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSet2KHR 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 vkCmdPushDescriptorSet2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set_with_template2( &self, command_buffer: CommandBuffer, p_push_descriptor_set_with_template_info: *const PushDescriptorSetWithTemplateInfo, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSetWithTemplate2 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 vkCmdPushDescriptorSetWithTemplate2 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_descriptor_set_with_template2_khr( &self, command_buffer: CommandBuffer, p_push_descriptor_set_with_template_info: *const PushDescriptorSetWithTemplateInfo, ) -> Result<(), CallError>

Call vkCmdPushDescriptorSetWithTemplate2KHR 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 vkCmdPushDescriptorSetWithTemplate2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_descriptor_buffer_offsets2_ext( &self, command_buffer: CommandBuffer, p_set_descriptor_buffer_offsets_info: *const SetDescriptorBufferOffsetsInfoEXT, ) -> Result<(), CallError>

Call vkCmdSetDescriptorBufferOffsets2EXT 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 vkCmdSetDescriptorBufferOffsets2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_descriptor_buffer_embedded_samplers2_ext( &self, command_buffer: CommandBuffer, p_bind_descriptor_buffer_embedded_samplers_info: *const BindDescriptorBufferEmbeddedSamplersInfoEXT, ) -> Result<(), CallError>

Call vkCmdBindDescriptorBufferEmbeddedSamplers2EXT 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 vkCmdBindDescriptorBufferEmbeddedSamplers2EXT 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.

Source§

impl Device

Source

pub unsafe fn set_latency_sleep_mode_nv( &self, swapchain: SwapchainKHR, p_sleep_mode_info: *const LatencySleepModeInfoNV, ) -> Result<Result, CallError>

Call vkSetLatencySleepModeNV 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 vkSetLatencySleepModeNV 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.

Source§

impl Device

Source

pub unsafe fn latency_sleep_nv( &self, swapchain: SwapchainKHR, p_sleep_info: *const LatencySleepInfoNV, ) -> Result<Result, CallError>

Call vkLatencySleepNV 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 vkLatencySleepNV 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.

Source§

impl Device

Source

pub unsafe fn set_latency_marker_nv( &self, swapchain: SwapchainKHR, p_latency_marker_info: *const SetLatencyMarkerInfoNV, ) -> Result<(), CallError>

Call vkSetLatencyMarkerNV 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 vkSetLatencyMarkerNV 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.

Source§

impl Device

Source

pub unsafe fn get_latency_timings_nv( &self, swapchain: SwapchainKHR, p_latency_marker_info: *mut GetLatencyMarkerInfoNV, ) -> Result<(), CallError>

Call vkGetLatencyTimingsNV 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 vkGetLatencyTimingsNV 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.

Source§

impl Device

Source

pub unsafe fn queue_notify_out_of_band_nv( &self, queue: Queue, p_queue_type_info: *const OutOfBandQueueTypeInfoNV, ) -> Result<(), CallError>

Call vkQueueNotifyOutOfBandNV 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 vkQueueNotifyOutOfBandNV 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.

Source§

impl Device

Source

pub unsafe fn set_latency_sleep_mode_legacy_nv( &self, low_latency_mode: Bool32, low_latency_boost: Bool32, minimum_interval_us: u32, ) -> Result<(), CallError>

Call vkSetLatencySleepModeLegacyNV 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 vkSetLatencySleepModeLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn latency_sleep_legacy_nv( &self, signal_semaphore: Semaphore, value: u64, ) -> Result<(), CallError>

Call vkLatencySleepLegacyNV 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 vkLatencySleepLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn set_latency_marker_legacy_nv( &self, frame_id: u64, marker: u32, ) -> Result<(), CallError>

Call vkSetLatencyMarkerLegacyNV 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 vkSetLatencyMarkerLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn get_latency_timings_legacy_nv( &self, p_timings: *mut c_void, ) -> Result<(), CallError>

Call vkGetLatencyTimingsLegacyNV 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 vkGetLatencyTimingsLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn queue_notify_out_of_band_legacy_nv( &self, queue: Queue, queue_type: u32, ) -> Result<(), CallError>

Call vkQueueNotifyOutOfBandLegacyNV 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 vkQueueNotifyOutOfBandLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn get_sleep_status_legacy_nv( &self, p_low_latency_mode: *mut Bool32, ) -> Result<(), CallError>

Call vkGetSleepStatusLegacyNV 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 vkGetSleepStatusLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn shutdown_latency_device_legacy_nv(&self) -> Result<(), CallError>

Call vkShutdownLatencyDeviceLegacyNV 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 vkShutdownLatencyDeviceLegacyNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rendering_attachment_locations( &self, command_buffer: CommandBuffer, p_location_info: *const RenderingAttachmentLocationInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rendering_attachment_locations_khr( &self, command_buffer: CommandBuffer, p_location_info: *const RenderingAttachmentLocationInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rendering_input_attachment_indices( &self, command_buffer: CommandBuffer, p_input_attachment_index_info: *const RenderingInputAttachmentIndexInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_rendering_input_attachment_indices_khr( &self, command_buffer: CommandBuffer, p_input_attachment_index_info: *const RenderingInputAttachmentIndexInfo, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_set_depth_clamp_range_ext( &self, command_buffer: CommandBuffer, depth_clamp_mode: DepthClampModeEXT, p_depth_clamp_range: *const DepthClampRangeEXT, ) -> Result<(), CallError>

Call vkCmdSetDepthClampRangeEXT 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 vkCmdSetDepthClampRangeEXT 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.

Source§

impl Device

Source

pub unsafe fn get_memory_metal_handle_ext( &self, p_get_metal_handle_info: *const MemoryGetMetalHandleInfoEXT, p_handle: *mut *mut c_void, ) -> Result<Result, CallError>

Call vkGetMemoryMetalHandleEXT 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 vkGetMemoryMetalHandleEXT 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.

Source§

impl Device

Source

pub unsafe fn get_memory_metal_handle_properties_ext( &self, handle_type: ExternalMemoryHandleTypeFlagBits, p_handle: *const c_void, p_memory_metal_handle_properties: *mut MemoryMetalHandlePropertiesEXT, ) -> Result<Result, CallError>

Call vkGetMemoryMetalHandlePropertiesEXT 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 vkGetMemoryMetalHandlePropertiesEXT 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.

Source§

impl Device

Source

pub unsafe fn convert_cooperative_vector_matrix_nv( &self, p_info: *const ConvertCooperativeVectorMatrixInfoNV, ) -> Result<Result, CallError>

Call vkConvertCooperativeVectorMatrixNV 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 vkConvertCooperativeVectorMatrixNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_convert_cooperative_vector_matrix_nv( &self, command_buffer: CommandBuffer, info_count: u32, p_infos: *const ConvertCooperativeVectorMatrixInfoNV, ) -> Result<(), CallError>

Call vkCmdConvertCooperativeVectorMatrixNV 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 vkCmdConvertCooperativeVectorMatrixNV 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_tile_qcom( &self, command_buffer: CommandBuffer, p_dispatch_tile_info: *const DispatchTileInfoQCOM, ) -> Result<(), CallError>

Call vkCmdDispatchTileQCOM 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 vkCmdDispatchTileQCOM 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_per_tile_execution_qcom( &self, command_buffer: CommandBuffer, p_per_tile_begin_info: *const PerTileBeginInfoQCOM, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_per_tile_execution_qcom( &self, command_buffer: CommandBuffer, p_per_tile_end_info: *const PerTileEndInfoQCOM, ) -> Result<(), CallError>

Call vkCmdEndPerTileExecutionQCOM 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 vkCmdEndPerTileExecutionQCOM 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.

Source§

impl Device

Source

pub unsafe fn create_external_compute_queue_nv( &self, p_create_info: *const ExternalComputeQueueCreateInfoNV, p_allocator: *const AllocationCallbacks, p_external_queue: *mut ExternalComputeQueueNV, ) -> Result<Result, CallError>

Call vkCreateExternalComputeQueueNV 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 vkCreateExternalComputeQueueNV 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.

Source§

impl Device

Source

pub unsafe fn destroy_external_compute_queue_nv( &self, external_queue: ExternalComputeQueueNV, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyExternalComputeQueueNV 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 vkDestroyExternalComputeQueueNV 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.

Source§

impl Device

Source

pub unsafe fn get_external_compute_queue_data_nv( &self, external_queue: ExternalComputeQueueNV, params: *mut ExternalComputeQueueDataParamsNV, p_data: *mut c_void, ) -> Result<(), CallError>

Call vkGetExternalComputeQueueDataNV 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 vkGetExternalComputeQueueDataNV 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.

Source§

impl Device

Source

pub unsafe fn create_shader_instrumentation_arm( &self, p_create_info: *const ShaderInstrumentationCreateInfoARM, p_allocator: *const AllocationCallbacks, p_instrumentation: *mut ShaderInstrumentationARM, ) -> Result<Result, CallError>

Call vkCreateShaderInstrumentationARM 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 vkCreateShaderInstrumentationARM 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.

Source§

impl Device

Source

pub unsafe fn destroy_shader_instrumentation_arm( &self, instrumentation: ShaderInstrumentationARM, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyShaderInstrumentationARM 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 vkDestroyShaderInstrumentationARM 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_shader_instrumentation_arm( &self, command_buffer: CommandBuffer, instrumentation: ShaderInstrumentationARM, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_end_shader_instrumentation_arm( &self, command_buffer: CommandBuffer, ) -> Result<(), CallError>

Call vkCmdEndShaderInstrumentationARM 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 vkCmdEndShaderInstrumentationARM 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.

Source§

impl Device

Source

pub unsafe fn get_shader_instrumentation_values_arm( &self, instrumentation: ShaderInstrumentationARM, p_metric_block_count: *mut u32, p_metric_values: *mut c_void, flags: ShaderInstrumentationValuesFlagsARM, ) -> Result<Result, CallError>

Call vkGetShaderInstrumentationValuesARM 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 vkGetShaderInstrumentationValuesARM 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.

Source§

impl Device

Source

pub unsafe fn clear_shader_instrumentation_metrics_arm( &self, instrumentation: ShaderInstrumentationARM, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn create_tensor_arm( &self, p_create_info: *const TensorCreateInfoARM, p_allocator: *const AllocationCallbacks, p_tensor: *mut TensorARM, ) -> Result<Result, CallError>

Call vkCreateTensorARM 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 vkCreateTensorARM 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.

Source§

impl Device

Source

pub unsafe fn destroy_tensor_arm( &self, tensor: TensorARM, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyTensorARM 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 vkDestroyTensorARM 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.

Source§

impl Device

Source

pub unsafe fn create_tensor_view_arm( &self, p_create_info: *const TensorViewCreateInfoARM, p_allocator: *const AllocationCallbacks, p_view: *mut TensorViewARM, ) -> Result<Result, CallError>

Call vkCreateTensorViewARM 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 vkCreateTensorViewARM 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.

Source§

impl Device

Source

pub unsafe fn destroy_tensor_view_arm( &self, tensor_view: TensorViewARM, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyTensorViewARM 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 vkDestroyTensorViewARM 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.

Source§

impl Device

Source

pub unsafe fn get_tensor_memory_requirements_arm( &self, p_info: *const TensorMemoryRequirementsInfoARM, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetTensorMemoryRequirementsARM 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 vkGetTensorMemoryRequirementsARM 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.

Source§

impl Device

Source

pub unsafe fn bind_tensor_memory_arm( &self, bind_info_count: u32, p_bind_infos: *const BindTensorMemoryInfoARM, ) -> Result<Result, CallError>

Call vkBindTensorMemoryARM 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 vkBindTensorMemoryARM 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.

Source§

impl Device

Source

pub unsafe fn get_device_tensor_memory_requirements_arm( &self, p_info: *const DeviceTensorMemoryRequirementsARM, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDeviceTensorMemoryRequirementsARM 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 vkGetDeviceTensorMemoryRequirementsARM 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_tensor_arm( &self, command_buffer: CommandBuffer, p_copy_tensor_info: *const CopyTensorInfoARM, ) -> Result<(), CallError>

Call vkCmdCopyTensorARM 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 vkCmdCopyTensorARM 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.

Source§

impl Device

Source

pub unsafe fn get_tensor_opaque_capture_descriptor_data_arm( &self, p_info: *const TensorCaptureDescriptorDataInfoARM, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetTensorOpaqueCaptureDescriptorDataARM 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 vkGetTensorOpaqueCaptureDescriptorDataARM 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.

Source§

impl Device

Source

pub unsafe fn get_tensor_view_opaque_capture_descriptor_data_arm( &self, p_info: *const TensorViewCaptureDescriptorDataInfoARM, p_data: *mut c_void, ) -> Result<Result, CallError>

Call vkGetTensorViewOpaqueCaptureDescriptorDataARM 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 vkGetTensorViewOpaqueCaptureDescriptorDataARM 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.

Source§

impl Device

Source

pub unsafe fn create_data_graph_pipelines_arm( &self, deferred_operation: DeferredOperationKHR, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const DataGraphPipelineCreateInfoARM, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline, ) -> Result<Result, CallError>

Call vkCreateDataGraphPipelinesARM 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 vkCreateDataGraphPipelinesARM 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.

Source§

impl Device

Source

pub unsafe fn create_data_graph_pipeline_session_arm( &self, p_create_info: *const DataGraphPipelineSessionCreateInfoARM, p_allocator: *const AllocationCallbacks, p_session: *mut DataGraphPipelineSessionARM, ) -> Result<Result, CallError>

Call vkCreateDataGraphPipelineSessionARM 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 vkCreateDataGraphPipelineSessionARM 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.

Source§

impl Device

Source

pub unsafe fn get_data_graph_pipeline_session_bind_point_requirements_arm( &self, p_info: *const DataGraphPipelineSessionBindPointRequirementsInfoARM, p_bind_point_requirement_count: *mut u32, p_bind_point_requirements: *mut DataGraphPipelineSessionBindPointRequirementARM, ) -> Result<Result, CallError>

Call vkGetDataGraphPipelineSessionBindPointRequirementsARM 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 vkGetDataGraphPipelineSessionBindPointRequirementsARM 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.

Source§

impl Device

Source

pub unsafe fn get_data_graph_pipeline_session_memory_requirements_arm( &self, p_info: *const DataGraphPipelineSessionMemoryRequirementsInfoARM, p_memory_requirements: *mut MemoryRequirements2, ) -> Result<(), CallError>

Call vkGetDataGraphPipelineSessionMemoryRequirementsARM 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 vkGetDataGraphPipelineSessionMemoryRequirementsARM 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.

Source§

impl Device

Source

pub unsafe fn bind_data_graph_pipeline_session_memory_arm( &self, bind_info_count: u32, p_bind_infos: *const BindDataGraphPipelineSessionMemoryInfoARM, ) -> Result<Result, CallError>

Call vkBindDataGraphPipelineSessionMemoryARM 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 vkBindDataGraphPipelineSessionMemoryARM 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.

Source§

impl Device

Source

pub unsafe fn destroy_data_graph_pipeline_session_arm( &self, session: DataGraphPipelineSessionARM, p_allocator: *const AllocationCallbacks, ) -> Result<(), CallError>

Call vkDestroyDataGraphPipelineSessionARM 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 vkDestroyDataGraphPipelineSessionARM 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_data_graph_arm( &self, command_buffer: CommandBuffer, session: DataGraphPipelineSessionARM, p_info: *const DataGraphPipelineDispatchInfoARM, ) -> Result<(), CallError>

Call vkCmdDispatchDataGraphARM 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 vkCmdDispatchDataGraphARM 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.

Source§

impl Device

Source

pub unsafe fn get_data_graph_pipeline_available_properties_arm( &self, p_pipeline_info: *const DataGraphPipelineInfoARM, p_properties_count: *mut u32, p_properties: *mut DataGraphPipelinePropertyARM, ) -> Result<Result, CallError>

Call vkGetDataGraphPipelineAvailablePropertiesARM 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 vkGetDataGraphPipelineAvailablePropertiesARM 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.

Source§

impl Device

Source

pub unsafe fn get_data_graph_pipeline_properties_arm( &self, p_pipeline_info: *const DataGraphPipelineInfoARM, properties_count: u32, p_properties: *mut DataGraphPipelinePropertyQueryResultARM, ) -> Result<Result, CallError>

Call vkGetDataGraphPipelinePropertiesARM 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 vkGetDataGraphPipelinePropertiesARM 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.

Source§

impl Device

Source

pub unsafe fn get_native_buffer_properties_ohos( &self, buffer: *const OH_NativeBuffer, p_properties: *mut NativeBufferPropertiesOHOS, ) -> Result<Result, CallError>

Call vkGetNativeBufferPropertiesOHOS 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 vkGetNativeBufferPropertiesOHOS 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.

Source§

impl Device

Source

pub unsafe fn get_memory_native_buffer_ohos( &self, p_info: *const MemoryGetNativeBufferInfoOHOS, p_buffer: *mut *mut OH_NativeBuffer, ) -> Result<Result, CallError>

Call vkGetMemoryNativeBufferOHOS 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 vkGetMemoryNativeBufferOHOS 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.

Source§

impl Device

Source

pub unsafe fn queue_set_perf_hint_qcom( &self, queue: Queue, p_perf_hint_info: *const PerfHintInfoQCOM, ) -> Result<Result, CallError>

Call vkQueueSetPerfHintQCOM 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 vkQueueSetPerfHintQCOM 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_compute_occupancy_priority_nv( &self, command_buffer: CommandBuffer, p_parameters: *const ComputeOccupancyPriorityParametersNV, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn write_sampler_descriptors_ext( &self, sampler_count: u32, p_samplers: *const SamplerCreateInfo, p_descriptors: *const HostAddressRangeEXT, ) -> Result<Result, CallError>

Call vkWriteSamplerDescriptorsEXT 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 vkWriteSamplerDescriptorsEXT 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.

Source§

impl Device

Source

pub unsafe fn write_resource_descriptors_ext( &self, resource_count: u32, p_resources: *const ResourceDescriptorInfoEXT, p_descriptors: *const HostAddressRangeEXT, ) -> Result<Result, CallError>

Call vkWriteResourceDescriptorsEXT 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 vkWriteResourceDescriptorsEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_sampler_heap_ext( &self, command_buffer: CommandBuffer, p_bind_info: *const BindHeapInfoEXT, ) -> Result<(), CallError>

Call vkCmdBindSamplerHeapEXT 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 vkCmdBindSamplerHeapEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_resource_heap_ext( &self, command_buffer: CommandBuffer, p_bind_info: *const BindHeapInfoEXT, ) -> Result<(), CallError>

Call vkCmdBindResourceHeapEXT 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 vkCmdBindResourceHeapEXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_push_data_ext( &self, command_buffer: CommandBuffer, p_push_data_info: *const PushDataInfoEXT, ) -> Result<(), CallError>

Call vkCmdPushDataEXT 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 vkCmdPushDataEXT 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.

Source§

impl Device

Source

pub unsafe fn register_custom_border_color_ext( &self, p_border_color: *const SamplerCustomBorderColorCreateInfoEXT, request_index: Bool32, p_index: *mut u32, ) -> Result<Result, CallError>

Call vkRegisterCustomBorderColorEXT 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 vkRegisterCustomBorderColorEXT 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.

Source§

impl Device

Source

pub unsafe fn unregister_custom_border_color_ext( &self, index: u32, ) -> Result<(), CallError>

Call vkUnregisterCustomBorderColorEXT 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 vkUnregisterCustomBorderColorEXT 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.

Source§

impl Device

Source

pub unsafe fn get_image_opaque_capture_data_ext( &self, image_count: u32, p_images: *const Image, p_datas: *mut HostAddressRangeEXT, ) -> Result<Result, CallError>

Call vkGetImageOpaqueCaptureDataEXT 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 vkGetImageOpaqueCaptureDataEXT 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.

Source§

impl Device

Source

pub unsafe fn get_tensor_opaque_capture_data_arm( &self, tensor_count: u32, p_tensors: *const TensorARM, p_datas: *mut HostAddressRangeEXT, ) -> Result<Result, CallError>

Call vkGetTensorOpaqueCaptureDataARM 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 vkGetTensorOpaqueCaptureDataARM 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_khr( &self, command_buffer: CommandBuffer, p_copy_memory_info: *const CopyDeviceMemoryInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyMemoryKHR 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 vkCmdCopyMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_memory_to_image_khr( &self, command_buffer: CommandBuffer, p_copy_memory_info: *const CopyDeviceMemoryImageInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyMemoryToImageKHR 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 vkCmdCopyMemoryToImageKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_image_to_memory_khr( &self, command_buffer: CommandBuffer, p_copy_memory_info: *const CopyDeviceMemoryImageInfoKHR, ) -> Result<(), CallError>

Call vkCmdCopyImageToMemoryKHR 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 vkCmdCopyImageToMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_update_memory_khr( &self, command_buffer: CommandBuffer, p_dst_range: *const DeviceAddressRangeKHR, dst_flags: AddressCommandFlagsKHR, data_size: DeviceSize, p_data: *const c_void, ) -> Result<(), CallError>

Call vkCmdUpdateMemoryKHR 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 vkCmdUpdateMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_fill_memory_khr( &self, command_buffer: CommandBuffer, p_dst_range: *const DeviceAddressRangeKHR, dst_flags: AddressCommandFlagsKHR, data: u32, ) -> Result<(), CallError>

Call vkCmdFillMemoryKHR 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 vkCmdFillMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_copy_query_pool_results_to_memory_khr( &self, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, p_dst_range: *const StridedDeviceAddressRangeKHR, dst_flags: AddressCommandFlagsKHR, query_result_flags: QueryResultFlags, ) -> Result<(), CallError>

Call vkCmdCopyQueryPoolResultsToMemoryKHR 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 vkCmdCopyQueryPoolResultsToMemoryKHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_conditional_rendering2_ext( &self, command_buffer: CommandBuffer, p_conditional_rendering_begin: *const ConditionalRenderingBeginInfo2EXT, ) -> Result<(), CallError>

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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_transform_feedback_buffers2_ext( &self, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_binding_infos: *const BindTransformFeedbackBuffer2InfoEXT, ) -> Result<(), CallError>

Call vkCmdBindTransformFeedbackBuffers2EXT 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 vkCmdBindTransformFeedbackBuffers2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_begin_transform_feedback2_ext( &self, command_buffer: CommandBuffer, first_counter_range: u32, counter_range_count: u32, p_counter_infos: *const BindTransformFeedbackBuffer2InfoEXT, ) -> Result<(), CallError>

Call vkCmdBeginTransformFeedback2EXT 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 vkCmdBeginTransformFeedback2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_end_transform_feedback2_ext( &self, command_buffer: CommandBuffer, first_counter_range: u32, counter_range_count: u32, p_counter_infos: *const BindTransformFeedbackBuffer2InfoEXT, ) -> Result<(), CallError>

Call vkCmdEndTransformFeedback2EXT 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 vkCmdEndTransformFeedback2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect_byte_count2_ext( &self, command_buffer: CommandBuffer, instance_count: u32, first_instance: u32, p_counter_info: *const BindTransformFeedbackBuffer2InfoEXT, counter_offset: u32, vertex_stride: u32, ) -> Result<(), CallError>

Call vkCmdDrawIndirectByteCount2EXT 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 vkCmdDrawIndirectByteCount2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_write_marker_to_memory_amd( &self, command_buffer: CommandBuffer, p_info: *const MemoryMarkerInfoAMD, ) -> Result<(), CallError>

Call vkCmdWriteMarkerToMemoryAMD 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 vkCmdWriteMarkerToMemoryAMD 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_index_buffer3_khr( &self, command_buffer: CommandBuffer, p_info: *const BindIndexBuffer3InfoKHR, ) -> Result<(), CallError>

Call vkCmdBindIndexBuffer3KHR 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 vkCmdBindIndexBuffer3KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_bind_vertex_buffers3_khr( &self, command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_binding_infos: *const BindVertexBuffer3InfoKHR, ) -> Result<(), CallError>

Call vkCmdBindVertexBuffers3KHR 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 vkCmdBindVertexBuffers3KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect2_khr( &self, command_buffer: CommandBuffer, p_info: *const DrawIndirect2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDrawIndirect2KHR 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 vkCmdDrawIndirect2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed_indirect2_khr( &self, command_buffer: CommandBuffer, p_info: *const DrawIndirect2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDrawIndexedIndirect2KHR 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 vkCmdDrawIndexedIndirect2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indirect_count2_khr( &self, command_buffer: CommandBuffer, p_info: *const DrawIndirectCount2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDrawIndirectCount2KHR 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 vkCmdDrawIndirectCount2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_indexed_indirect_count2_khr( &self, command_buffer: CommandBuffer, p_info: *const DrawIndirectCount2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDrawIndexedIndirectCount2KHR 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 vkCmdDrawIndexedIndirectCount2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_indirect2_ext( &self, command_buffer: CommandBuffer, p_info: *const DrawIndirect2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksIndirect2EXT 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 vkCmdDrawMeshTasksIndirect2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_draw_mesh_tasks_indirect_count2_ext( &self, command_buffer: CommandBuffer, p_info: *const DrawIndirectCount2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDrawMeshTasksIndirectCount2EXT 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 vkCmdDrawMeshTasksIndirectCount2EXT 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.

Source§

impl Device

Source

pub unsafe fn cmd_dispatch_indirect2_khr( &self, command_buffer: CommandBuffer, p_info: *const DispatchIndirect2InfoKHR, ) -> Result<(), CallError>

Call vkCmdDispatchIndirect2KHR 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 vkCmdDispatchIndirect2KHR 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.

Source§

impl Device

Source

pub unsafe fn create_acceleration_structure2_khr( &self, p_create_info: *const AccelerationStructureCreateInfo2KHR, p_allocator: *const AllocationCallbacks, p_acceleration_structure: *mut AccelerationStructureKHR, ) -> Result<Result, CallError>

Call vkCreateAccelerationStructure2KHR 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 vkCreateAccelerationStructure2KHR 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.

Source§

impl Device

Source

pub unsafe fn cmd_set_dispatch_parameters_arm( &self, command_buffer: CommandBuffer, p_dispatch_parameters: *const DispatchParametersARM, ) -> Result<(), CallError>

Call vkCmdSetDispatchParametersARM 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 vkCmdSetDispatchParametersARM 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.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.