Struct ash::vk::DeviceFnV1_0
source · [−]pub struct DeviceFnV1_0 {Show 120 fields
pub destroy_device: PFN_vkDestroyDevice,
pub get_device_queue: PFN_vkGetDeviceQueue,
pub queue_submit: PFN_vkQueueSubmit,
pub queue_wait_idle: PFN_vkQueueWaitIdle,
pub device_wait_idle: PFN_vkDeviceWaitIdle,
pub allocate_memory: PFN_vkAllocateMemory,
pub free_memory: PFN_vkFreeMemory,
pub map_memory: PFN_vkMapMemory,
pub unmap_memory: PFN_vkUnmapMemory,
pub flush_mapped_memory_ranges: PFN_vkFlushMappedMemoryRanges,
pub invalidate_mapped_memory_ranges: PFN_vkInvalidateMappedMemoryRanges,
pub get_device_memory_commitment: PFN_vkGetDeviceMemoryCommitment,
pub bind_buffer_memory: PFN_vkBindBufferMemory,
pub bind_image_memory: PFN_vkBindImageMemory,
pub get_buffer_memory_requirements: PFN_vkGetBufferMemoryRequirements,
pub get_image_memory_requirements: PFN_vkGetImageMemoryRequirements,
pub get_image_sparse_memory_requirements: PFN_vkGetImageSparseMemoryRequirements,
pub queue_bind_sparse: PFN_vkQueueBindSparse,
pub create_fence: PFN_vkCreateFence,
pub destroy_fence: PFN_vkDestroyFence,
pub reset_fences: PFN_vkResetFences,
pub get_fence_status: PFN_vkGetFenceStatus,
pub wait_for_fences: PFN_vkWaitForFences,
pub create_semaphore: PFN_vkCreateSemaphore,
pub destroy_semaphore: PFN_vkDestroySemaphore,
pub create_event: PFN_vkCreateEvent,
pub destroy_event: PFN_vkDestroyEvent,
pub get_event_status: PFN_vkGetEventStatus,
pub set_event: PFN_vkSetEvent,
pub reset_event: PFN_vkResetEvent,
pub create_query_pool: PFN_vkCreateQueryPool,
pub destroy_query_pool: PFN_vkDestroyQueryPool,
pub get_query_pool_results: PFN_vkGetQueryPoolResults,
pub create_buffer: PFN_vkCreateBuffer,
pub destroy_buffer: PFN_vkDestroyBuffer,
pub create_buffer_view: PFN_vkCreateBufferView,
pub destroy_buffer_view: PFN_vkDestroyBufferView,
pub create_image: PFN_vkCreateImage,
pub destroy_image: PFN_vkDestroyImage,
pub get_image_subresource_layout: PFN_vkGetImageSubresourceLayout,
pub create_image_view: PFN_vkCreateImageView,
pub destroy_image_view: PFN_vkDestroyImageView,
pub create_shader_module: PFN_vkCreateShaderModule,
pub destroy_shader_module: PFN_vkDestroyShaderModule,
pub create_pipeline_cache: PFN_vkCreatePipelineCache,
pub destroy_pipeline_cache: PFN_vkDestroyPipelineCache,
pub get_pipeline_cache_data: PFN_vkGetPipelineCacheData,
pub merge_pipeline_caches: PFN_vkMergePipelineCaches,
pub create_graphics_pipelines: PFN_vkCreateGraphicsPipelines,
pub create_compute_pipelines: PFN_vkCreateComputePipelines,
pub destroy_pipeline: PFN_vkDestroyPipeline,
pub create_pipeline_layout: PFN_vkCreatePipelineLayout,
pub destroy_pipeline_layout: PFN_vkDestroyPipelineLayout,
pub create_sampler: PFN_vkCreateSampler,
pub destroy_sampler: PFN_vkDestroySampler,
pub create_descriptor_set_layout: PFN_vkCreateDescriptorSetLayout,
pub destroy_descriptor_set_layout: PFN_vkDestroyDescriptorSetLayout,
pub create_descriptor_pool: PFN_vkCreateDescriptorPool,
pub destroy_descriptor_pool: PFN_vkDestroyDescriptorPool,
pub reset_descriptor_pool: PFN_vkResetDescriptorPool,
pub allocate_descriptor_sets: PFN_vkAllocateDescriptorSets,
pub free_descriptor_sets: PFN_vkFreeDescriptorSets,
pub update_descriptor_sets: PFN_vkUpdateDescriptorSets,
pub create_framebuffer: PFN_vkCreateFramebuffer,
pub destroy_framebuffer: PFN_vkDestroyFramebuffer,
pub create_render_pass: PFN_vkCreateRenderPass,
pub destroy_render_pass: PFN_vkDestroyRenderPass,
pub get_render_area_granularity: PFN_vkGetRenderAreaGranularity,
pub create_command_pool: PFN_vkCreateCommandPool,
pub destroy_command_pool: PFN_vkDestroyCommandPool,
pub reset_command_pool: PFN_vkResetCommandPool,
pub allocate_command_buffers: PFN_vkAllocateCommandBuffers,
pub free_command_buffers: PFN_vkFreeCommandBuffers,
pub begin_command_buffer: PFN_vkBeginCommandBuffer,
pub end_command_buffer: PFN_vkEndCommandBuffer,
pub reset_command_buffer: PFN_vkResetCommandBuffer,
pub cmd_bind_pipeline: PFN_vkCmdBindPipeline,
pub cmd_set_viewport: PFN_vkCmdSetViewport,
pub cmd_set_scissor: PFN_vkCmdSetScissor,
pub cmd_set_line_width: PFN_vkCmdSetLineWidth,
pub cmd_set_depth_bias: PFN_vkCmdSetDepthBias,
pub cmd_set_blend_constants: PFN_vkCmdSetBlendConstants,
pub cmd_set_depth_bounds: PFN_vkCmdSetDepthBounds,
pub cmd_set_stencil_compare_mask: PFN_vkCmdSetStencilCompareMask,
pub cmd_set_stencil_write_mask: PFN_vkCmdSetStencilWriteMask,
pub cmd_set_stencil_reference: PFN_vkCmdSetStencilReference,
pub cmd_bind_descriptor_sets: PFN_vkCmdBindDescriptorSets,
pub cmd_bind_index_buffer: PFN_vkCmdBindIndexBuffer,
pub cmd_bind_vertex_buffers: PFN_vkCmdBindVertexBuffers,
pub cmd_draw: PFN_vkCmdDraw,
pub cmd_draw_indexed: PFN_vkCmdDrawIndexed,
pub cmd_draw_indirect: PFN_vkCmdDrawIndirect,
pub cmd_draw_indexed_indirect: PFN_vkCmdDrawIndexedIndirect,
pub cmd_dispatch: PFN_vkCmdDispatch,
pub cmd_dispatch_indirect: PFN_vkCmdDispatchIndirect,
pub cmd_copy_buffer: PFN_vkCmdCopyBuffer,
pub cmd_copy_image: PFN_vkCmdCopyImage,
pub cmd_blit_image: PFN_vkCmdBlitImage,
pub cmd_copy_buffer_to_image: PFN_vkCmdCopyBufferToImage,
pub cmd_copy_image_to_buffer: PFN_vkCmdCopyImageToBuffer,
pub cmd_update_buffer: PFN_vkCmdUpdateBuffer,
pub cmd_fill_buffer: PFN_vkCmdFillBuffer,
pub cmd_clear_color_image: PFN_vkCmdClearColorImage,
pub cmd_clear_depth_stencil_image: PFN_vkCmdClearDepthStencilImage,
pub cmd_clear_attachments: PFN_vkCmdClearAttachments,
pub cmd_resolve_image: PFN_vkCmdResolveImage,
pub cmd_set_event: PFN_vkCmdSetEvent,
pub cmd_reset_event: PFN_vkCmdResetEvent,
pub cmd_wait_events: PFN_vkCmdWaitEvents,
pub cmd_pipeline_barrier: PFN_vkCmdPipelineBarrier,
pub cmd_begin_query: PFN_vkCmdBeginQuery,
pub cmd_end_query: PFN_vkCmdEndQuery,
pub cmd_reset_query_pool: PFN_vkCmdResetQueryPool,
pub cmd_write_timestamp: PFN_vkCmdWriteTimestamp,
pub cmd_copy_query_pool_results: PFN_vkCmdCopyQueryPoolResults,
pub cmd_push_constants: PFN_vkCmdPushConstants,
pub cmd_begin_render_pass: PFN_vkCmdBeginRenderPass,
pub cmd_next_subpass: PFN_vkCmdNextSubpass,
pub cmd_end_render_pass: PFN_vkCmdEndRenderPass,
pub cmd_execute_commands: PFN_vkCmdExecuteCommands,
}Fields
destroy_device: PFN_vkDestroyDeviceget_device_queue: PFN_vkGetDeviceQueuequeue_submit: PFN_vkQueueSubmitqueue_wait_idle: PFN_vkQueueWaitIdledevice_wait_idle: PFN_vkDeviceWaitIdleallocate_memory: PFN_vkAllocateMemoryfree_memory: PFN_vkFreeMemorymap_memory: PFN_vkMapMemoryunmap_memory: PFN_vkUnmapMemoryflush_mapped_memory_ranges: PFN_vkFlushMappedMemoryRangesinvalidate_mapped_memory_ranges: PFN_vkInvalidateMappedMemoryRangesget_device_memory_commitment: PFN_vkGetDeviceMemoryCommitmentbind_buffer_memory: PFN_vkBindBufferMemorybind_image_memory: PFN_vkBindImageMemoryget_buffer_memory_requirements: PFN_vkGetBufferMemoryRequirementsget_image_memory_requirements: PFN_vkGetImageMemoryRequirementsget_image_sparse_memory_requirements: PFN_vkGetImageSparseMemoryRequirementsqueue_bind_sparse: PFN_vkQueueBindSparsecreate_fence: PFN_vkCreateFencedestroy_fence: PFN_vkDestroyFencereset_fences: PFN_vkResetFencesget_fence_status: PFN_vkGetFenceStatuswait_for_fences: PFN_vkWaitForFencescreate_semaphore: PFN_vkCreateSemaphoredestroy_semaphore: PFN_vkDestroySemaphorecreate_event: PFN_vkCreateEventdestroy_event: PFN_vkDestroyEventget_event_status: PFN_vkGetEventStatusset_event: PFN_vkSetEventreset_event: PFN_vkResetEventcreate_query_pool: PFN_vkCreateQueryPooldestroy_query_pool: PFN_vkDestroyQueryPoolget_query_pool_results: PFN_vkGetQueryPoolResultscreate_buffer: PFN_vkCreateBufferdestroy_buffer: PFN_vkDestroyBuffercreate_buffer_view: PFN_vkCreateBufferViewdestroy_buffer_view: PFN_vkDestroyBufferViewcreate_image: PFN_vkCreateImagedestroy_image: PFN_vkDestroyImageget_image_subresource_layout: PFN_vkGetImageSubresourceLayoutcreate_image_view: PFN_vkCreateImageViewdestroy_image_view: PFN_vkDestroyImageViewcreate_shader_module: PFN_vkCreateShaderModuledestroy_shader_module: PFN_vkDestroyShaderModulecreate_pipeline_cache: PFN_vkCreatePipelineCachedestroy_pipeline_cache: PFN_vkDestroyPipelineCacheget_pipeline_cache_data: PFN_vkGetPipelineCacheDatamerge_pipeline_caches: PFN_vkMergePipelineCachescreate_graphics_pipelines: PFN_vkCreateGraphicsPipelinescreate_compute_pipelines: PFN_vkCreateComputePipelinesdestroy_pipeline: PFN_vkDestroyPipelinecreate_pipeline_layout: PFN_vkCreatePipelineLayoutdestroy_pipeline_layout: PFN_vkDestroyPipelineLayoutcreate_sampler: PFN_vkCreateSamplerdestroy_sampler: PFN_vkDestroySamplercreate_descriptor_set_layout: PFN_vkCreateDescriptorSetLayoutdestroy_descriptor_set_layout: PFN_vkDestroyDescriptorSetLayoutcreate_descriptor_pool: PFN_vkCreateDescriptorPooldestroy_descriptor_pool: PFN_vkDestroyDescriptorPoolreset_descriptor_pool: PFN_vkResetDescriptorPoolallocate_descriptor_sets: PFN_vkAllocateDescriptorSetsfree_descriptor_sets: PFN_vkFreeDescriptorSetsupdate_descriptor_sets: PFN_vkUpdateDescriptorSetscreate_framebuffer: PFN_vkCreateFramebufferdestroy_framebuffer: PFN_vkDestroyFramebuffercreate_render_pass: PFN_vkCreateRenderPassdestroy_render_pass: PFN_vkDestroyRenderPassget_render_area_granularity: PFN_vkGetRenderAreaGranularitycreate_command_pool: PFN_vkCreateCommandPooldestroy_command_pool: PFN_vkDestroyCommandPoolreset_command_pool: PFN_vkResetCommandPoolallocate_command_buffers: PFN_vkAllocateCommandBuffersfree_command_buffers: PFN_vkFreeCommandBuffersbegin_command_buffer: PFN_vkBeginCommandBufferend_command_buffer: PFN_vkEndCommandBufferreset_command_buffer: PFN_vkResetCommandBuffercmd_bind_pipeline: PFN_vkCmdBindPipelinecmd_set_viewport: PFN_vkCmdSetViewportcmd_set_scissor: PFN_vkCmdSetScissorcmd_set_line_width: PFN_vkCmdSetLineWidthcmd_set_depth_bias: PFN_vkCmdSetDepthBiascmd_set_blend_constants: PFN_vkCmdSetBlendConstantscmd_set_depth_bounds: PFN_vkCmdSetDepthBoundscmd_set_stencil_compare_mask: PFN_vkCmdSetStencilCompareMaskcmd_set_stencil_write_mask: PFN_vkCmdSetStencilWriteMaskcmd_set_stencil_reference: PFN_vkCmdSetStencilReferencecmd_bind_descriptor_sets: PFN_vkCmdBindDescriptorSetscmd_bind_index_buffer: PFN_vkCmdBindIndexBuffercmd_bind_vertex_buffers: PFN_vkCmdBindVertexBufferscmd_draw: PFN_vkCmdDrawcmd_draw_indexed: PFN_vkCmdDrawIndexedcmd_draw_indirect: PFN_vkCmdDrawIndirectcmd_draw_indexed_indirect: PFN_vkCmdDrawIndexedIndirectcmd_dispatch: PFN_vkCmdDispatchcmd_dispatch_indirect: PFN_vkCmdDispatchIndirectcmd_copy_buffer: PFN_vkCmdCopyBuffercmd_copy_image: PFN_vkCmdCopyImagecmd_blit_image: PFN_vkCmdBlitImagecmd_copy_buffer_to_image: PFN_vkCmdCopyBufferToImagecmd_copy_image_to_buffer: PFN_vkCmdCopyImageToBuffercmd_update_buffer: PFN_vkCmdUpdateBuffercmd_fill_buffer: PFN_vkCmdFillBuffercmd_clear_color_image: PFN_vkCmdClearColorImagecmd_clear_depth_stencil_image: PFN_vkCmdClearDepthStencilImagecmd_clear_attachments: PFN_vkCmdClearAttachmentscmd_resolve_image: PFN_vkCmdResolveImagecmd_set_event: PFN_vkCmdSetEventcmd_reset_event: PFN_vkCmdResetEventcmd_wait_events: PFN_vkCmdWaitEventscmd_pipeline_barrier: PFN_vkCmdPipelineBarriercmd_begin_query: PFN_vkCmdBeginQuerycmd_end_query: PFN_vkCmdEndQuerycmd_reset_query_pool: PFN_vkCmdResetQueryPoolcmd_write_timestamp: PFN_vkCmdWriteTimestampcmd_copy_query_pool_results: PFN_vkCmdCopyQueryPoolResultscmd_push_constants: PFN_vkCmdPushConstantscmd_begin_render_pass: PFN_vkCmdBeginRenderPasscmd_next_subpass: PFN_vkCmdNextSubpasscmd_end_render_pass: PFN_vkCmdEndRenderPasscmd_execute_commands: PFN_vkCmdExecuteCommandsImplementations
sourceimpl DeviceFnV1_0
impl DeviceFnV1_0
pub fn load<F>(_f: F) -> Self where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn destroy_device(
&self,
device: Device,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_device(
&self,
device: Device,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn get_device_queue(
&self,
device: Device,
queue_family_index: u32,
queue_index: u32,
p_queue: *mut Queue
)
pub unsafe fn get_device_queue(
&self,
device: Device,
queue_family_index: u32,
queue_index: u32,
p_queue: *mut Queue
)
sourcepub unsafe fn queue_submit(
&self,
queue: Queue,
submit_count: u32,
p_submits: *const SubmitInfo,
fence: Fence
) -> Result
pub unsafe fn queue_submit(
&self,
queue: Queue,
submit_count: u32,
p_submits: *const SubmitInfo,
fence: Fence
) -> Result
sourcepub unsafe fn queue_wait_idle(&self, queue: Queue) -> Result
pub unsafe fn queue_wait_idle(&self, queue: Queue) -> Result
sourcepub unsafe fn device_wait_idle(&self, device: Device) -> Result
pub unsafe fn device_wait_idle(&self, device: Device) -> Result
sourcepub unsafe fn allocate_memory(
&self,
device: Device,
p_allocate_info: *const MemoryAllocateInfo,
p_allocator: *const AllocationCallbacks,
p_memory: *mut DeviceMemory
) -> Result
pub unsafe fn allocate_memory(
&self,
device: Device,
p_allocate_info: *const MemoryAllocateInfo,
p_allocator: *const AllocationCallbacks,
p_memory: *mut DeviceMemory
) -> Result
sourcepub unsafe fn free_memory(
&self,
device: Device,
memory: DeviceMemory,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn free_memory(
&self,
device: Device,
memory: DeviceMemory,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn map_memory(
&self,
device: Device,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags,
pp_data: *mut *mut c_void
) -> Result
pub unsafe fn map_memory(
&self,
device: Device,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags,
pp_data: *mut *mut c_void
) -> Result
sourcepub unsafe fn unmap_memory(&self, device: Device, memory: DeviceMemory)
pub unsafe fn unmap_memory(&self, device: Device, memory: DeviceMemory)
sourcepub unsafe fn flush_mapped_memory_ranges(
&self,
device: Device,
memory_range_count: u32,
p_memory_ranges: *const MappedMemoryRange
) -> Result
pub unsafe fn flush_mapped_memory_ranges(
&self,
device: Device,
memory_range_count: u32,
p_memory_ranges: *const MappedMemoryRange
) -> Result
sourcepub unsafe fn invalidate_mapped_memory_ranges(
&self,
device: Device,
memory_range_count: u32,
p_memory_ranges: *const MappedMemoryRange
) -> Result
pub unsafe fn invalidate_mapped_memory_ranges(
&self,
device: Device,
memory_range_count: u32,
p_memory_ranges: *const MappedMemoryRange
) -> Result
sourcepub unsafe fn get_device_memory_commitment(
&self,
device: Device,
memory: DeviceMemory,
p_committed_memory_in_bytes: *mut DeviceSize
)
pub unsafe fn get_device_memory_commitment(
&self,
device: Device,
memory: DeviceMemory,
p_committed_memory_in_bytes: *mut DeviceSize
)
sourcepub unsafe fn bind_buffer_memory(
&self,
device: Device,
buffer: Buffer,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> Result
pub unsafe fn bind_buffer_memory(
&self,
device: Device,
buffer: Buffer,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> Result
sourcepub unsafe fn bind_image_memory(
&self,
device: Device,
image: Image,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> Result
pub unsafe fn bind_image_memory(
&self,
device: Device,
image: Image,
memory: DeviceMemory,
memory_offset: DeviceSize
) -> Result
sourcepub unsafe fn get_buffer_memory_requirements(
&self,
device: Device,
buffer: Buffer,
p_memory_requirements: *mut MemoryRequirements
)
pub unsafe fn get_buffer_memory_requirements(
&self,
device: Device,
buffer: Buffer,
p_memory_requirements: *mut MemoryRequirements
)
sourcepub unsafe fn get_image_memory_requirements(
&self,
device: Device,
image: Image,
p_memory_requirements: *mut MemoryRequirements
)
pub unsafe fn get_image_memory_requirements(
&self,
device: Device,
image: Image,
p_memory_requirements: *mut MemoryRequirements
)
sourcepub unsafe fn get_image_sparse_memory_requirements(
&self,
device: Device,
image: Image,
p_sparse_memory_requirement_count: *mut u32,
p_sparse_memory_requirements: *mut SparseImageMemoryRequirements
)
pub unsafe fn get_image_sparse_memory_requirements(
&self,
device: Device,
image: Image,
p_sparse_memory_requirement_count: *mut u32,
p_sparse_memory_requirements: *mut SparseImageMemoryRequirements
)
sourcepub unsafe fn queue_bind_sparse(
&self,
queue: Queue,
bind_info_count: u32,
p_bind_info: *const BindSparseInfo,
fence: Fence
) -> Result
pub unsafe fn queue_bind_sparse(
&self,
queue: Queue,
bind_info_count: u32,
p_bind_info: *const BindSparseInfo,
fence: Fence
) -> Result
sourcepub unsafe fn create_fence(
&self,
device: Device,
p_create_info: *const FenceCreateInfo,
p_allocator: *const AllocationCallbacks,
p_fence: *mut Fence
) -> Result
pub unsafe fn create_fence(
&self,
device: Device,
p_create_info: *const FenceCreateInfo,
p_allocator: *const AllocationCallbacks,
p_fence: *mut Fence
) -> Result
sourcepub unsafe fn destroy_fence(
&self,
device: Device,
fence: Fence,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_fence(
&self,
device: Device,
fence: Fence,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn reset_fences(
&self,
device: Device,
fence_count: u32,
p_fences: *const Fence
) -> Result
pub unsafe fn reset_fences(
&self,
device: Device,
fence_count: u32,
p_fences: *const Fence
) -> Result
sourcepub unsafe fn get_fence_status(&self, device: Device, fence: Fence) -> Result
pub unsafe fn get_fence_status(&self, device: Device, fence: Fence) -> Result
sourcepub unsafe fn wait_for_fences(
&self,
device: Device,
fence_count: u32,
p_fences: *const Fence,
wait_all: Bool32,
timeout: u64
) -> Result
pub unsafe fn wait_for_fences(
&self,
device: Device,
fence_count: u32,
p_fences: *const Fence,
wait_all: Bool32,
timeout: u64
) -> Result
sourcepub unsafe fn create_semaphore(
&self,
device: Device,
p_create_info: *const SemaphoreCreateInfo,
p_allocator: *const AllocationCallbacks,
p_semaphore: *mut Semaphore
) -> Result
pub unsafe fn create_semaphore(
&self,
device: Device,
p_create_info: *const SemaphoreCreateInfo,
p_allocator: *const AllocationCallbacks,
p_semaphore: *mut Semaphore
) -> Result
sourcepub unsafe fn destroy_semaphore(
&self,
device: Device,
semaphore: Semaphore,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_semaphore(
&self,
device: Device,
semaphore: Semaphore,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_event(
&self,
device: Device,
p_create_info: *const EventCreateInfo,
p_allocator: *const AllocationCallbacks,
p_event: *mut Event
) -> Result
pub unsafe fn create_event(
&self,
device: Device,
p_create_info: *const EventCreateInfo,
p_allocator: *const AllocationCallbacks,
p_event: *mut Event
) -> Result
sourcepub unsafe fn destroy_event(
&self,
device: Device,
event: Event,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_event(
&self,
device: Device,
event: Event,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn get_event_status(&self, device: Device, event: Event) -> Result
pub unsafe fn get_event_status(&self, device: Device, event: Event) -> Result
sourcepub unsafe fn reset_event(&self, device: Device, event: Event) -> Result
pub unsafe fn reset_event(&self, device: Device, event: Event) -> Result
sourcepub unsafe fn create_query_pool(
&self,
device: Device,
p_create_info: *const QueryPoolCreateInfo,
p_allocator: *const AllocationCallbacks,
p_query_pool: *mut QueryPool
) -> Result
pub unsafe fn create_query_pool(
&self,
device: Device,
p_create_info: *const QueryPoolCreateInfo,
p_allocator: *const AllocationCallbacks,
p_query_pool: *mut QueryPool
) -> Result
sourcepub unsafe fn destroy_query_pool(
&self,
device: Device,
query_pool: QueryPool,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_query_pool(
&self,
device: Device,
query_pool: QueryPool,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn get_query_pool_results(
&self,
device: Device,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data_size: usize,
p_data: *mut c_void,
stride: DeviceSize,
flags: QueryResultFlags
) -> Result
pub unsafe fn get_query_pool_results(
&self,
device: Device,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data_size: usize,
p_data: *mut c_void,
stride: DeviceSize,
flags: QueryResultFlags
) -> Result
sourcepub unsafe fn create_buffer(
&self,
device: Device,
p_create_info: *const BufferCreateInfo,
p_allocator: *const AllocationCallbacks,
p_buffer: *mut Buffer
) -> Result
pub unsafe fn create_buffer(
&self,
device: Device,
p_create_info: *const BufferCreateInfo,
p_allocator: *const AllocationCallbacks,
p_buffer: *mut Buffer
) -> Result
sourcepub unsafe fn destroy_buffer(
&self,
device: Device,
buffer: Buffer,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_buffer(
&self,
device: Device,
buffer: Buffer,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_buffer_view(
&self,
device: Device,
p_create_info: *const BufferViewCreateInfo,
p_allocator: *const AllocationCallbacks,
p_view: *mut BufferView
) -> Result
pub unsafe fn create_buffer_view(
&self,
device: Device,
p_create_info: *const BufferViewCreateInfo,
p_allocator: *const AllocationCallbacks,
p_view: *mut BufferView
) -> Result
sourcepub unsafe fn destroy_buffer_view(
&self,
device: Device,
buffer_view: BufferView,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_buffer_view(
&self,
device: Device,
buffer_view: BufferView,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_image(
&self,
device: Device,
p_create_info: *const ImageCreateInfo,
p_allocator: *const AllocationCallbacks,
p_image: *mut Image
) -> Result
pub unsafe fn create_image(
&self,
device: Device,
p_create_info: *const ImageCreateInfo,
p_allocator: *const AllocationCallbacks,
p_image: *mut Image
) -> Result
sourcepub unsafe fn destroy_image(
&self,
device: Device,
image: Image,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_image(
&self,
device: Device,
image: Image,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn get_image_subresource_layout(
&self,
device: Device,
image: Image,
p_subresource: *const ImageSubresource,
p_layout: *mut SubresourceLayout
)
pub unsafe fn get_image_subresource_layout(
&self,
device: Device,
image: Image,
p_subresource: *const ImageSubresource,
p_layout: *mut SubresourceLayout
)
sourcepub unsafe fn create_image_view(
&self,
device: Device,
p_create_info: *const ImageViewCreateInfo,
p_allocator: *const AllocationCallbacks,
p_view: *mut ImageView
) -> Result
pub unsafe fn create_image_view(
&self,
device: Device,
p_create_info: *const ImageViewCreateInfo,
p_allocator: *const AllocationCallbacks,
p_view: *mut ImageView
) -> Result
sourcepub unsafe fn destroy_image_view(
&self,
device: Device,
image_view: ImageView,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_image_view(
&self,
device: Device,
image_view: ImageView,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_shader_module(
&self,
device: Device,
p_create_info: *const ShaderModuleCreateInfo,
p_allocator: *const AllocationCallbacks,
p_shader_module: *mut ShaderModule
) -> Result
pub unsafe fn create_shader_module(
&self,
device: Device,
p_create_info: *const ShaderModuleCreateInfo,
p_allocator: *const AllocationCallbacks,
p_shader_module: *mut ShaderModule
) -> Result
sourcepub unsafe fn destroy_shader_module(
&self,
device: Device,
shader_module: ShaderModule,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_shader_module(
&self,
device: Device,
shader_module: ShaderModule,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_pipeline_cache(
&self,
device: Device,
p_create_info: *const PipelineCacheCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipeline_cache: *mut PipelineCache
) -> Result
pub unsafe fn create_pipeline_cache(
&self,
device: Device,
p_create_info: *const PipelineCacheCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipeline_cache: *mut PipelineCache
) -> Result
sourcepub unsafe fn destroy_pipeline_cache(
&self,
device: Device,
pipeline_cache: PipelineCache,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_pipeline_cache(
&self,
device: Device,
pipeline_cache: PipelineCache,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn get_pipeline_cache_data(
&self,
device: Device,
pipeline_cache: PipelineCache,
p_data_size: *mut usize,
p_data: *mut c_void
) -> Result
pub unsafe fn get_pipeline_cache_data(
&self,
device: Device,
pipeline_cache: PipelineCache,
p_data_size: *mut usize,
p_data: *mut c_void
) -> Result
sourcepub unsafe fn merge_pipeline_caches(
&self,
device: Device,
dst_cache: PipelineCache,
src_cache_count: u32,
p_src_caches: *const PipelineCache
) -> Result
pub unsafe fn merge_pipeline_caches(
&self,
device: Device,
dst_cache: PipelineCache,
src_cache_count: u32,
p_src_caches: *const PipelineCache
) -> Result
sourcepub unsafe fn create_graphics_pipelines(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const GraphicsPipelineCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
pub unsafe fn create_graphics_pipelines(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const GraphicsPipelineCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
sourcepub unsafe fn create_compute_pipelines(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const ComputePipelineCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
pub unsafe fn create_compute_pipelines(
&self,
device: Device,
pipeline_cache: PipelineCache,
create_info_count: u32,
p_create_infos: *const ComputePipelineCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipelines: *mut Pipeline
) -> Result
sourcepub unsafe fn destroy_pipeline(
&self,
device: Device,
pipeline: Pipeline,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_pipeline(
&self,
device: Device,
pipeline: Pipeline,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_pipeline_layout(
&self,
device: Device,
p_create_info: *const PipelineLayoutCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipeline_layout: *mut PipelineLayout
) -> Result
pub unsafe fn create_pipeline_layout(
&self,
device: Device,
p_create_info: *const PipelineLayoutCreateInfo,
p_allocator: *const AllocationCallbacks,
p_pipeline_layout: *mut PipelineLayout
) -> Result
sourcepub unsafe fn destroy_pipeline_layout(
&self,
device: Device,
pipeline_layout: PipelineLayout,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_pipeline_layout(
&self,
device: Device,
pipeline_layout: PipelineLayout,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_sampler(
&self,
device: Device,
p_create_info: *const SamplerCreateInfo,
p_allocator: *const AllocationCallbacks,
p_sampler: *mut Sampler
) -> Result
pub unsafe fn create_sampler(
&self,
device: Device,
p_create_info: *const SamplerCreateInfo,
p_allocator: *const AllocationCallbacks,
p_sampler: *mut Sampler
) -> Result
sourcepub unsafe fn destroy_sampler(
&self,
device: Device,
sampler: Sampler,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_sampler(
&self,
device: Device,
sampler: Sampler,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_descriptor_set_layout(
&self,
device: Device,
p_create_info: *const DescriptorSetLayoutCreateInfo,
p_allocator: *const AllocationCallbacks,
p_set_layout: *mut DescriptorSetLayout
) -> Result
pub unsafe fn create_descriptor_set_layout(
&self,
device: Device,
p_create_info: *const DescriptorSetLayoutCreateInfo,
p_allocator: *const AllocationCallbacks,
p_set_layout: *mut DescriptorSetLayout
) -> Result
sourcepub unsafe fn destroy_descriptor_set_layout(
&self,
device: Device,
descriptor_set_layout: DescriptorSetLayout,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_descriptor_set_layout(
&self,
device: Device,
descriptor_set_layout: DescriptorSetLayout,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_descriptor_pool(
&self,
device: Device,
p_create_info: *const DescriptorPoolCreateInfo,
p_allocator: *const AllocationCallbacks,
p_descriptor_pool: *mut DescriptorPool
) -> Result
pub unsafe fn create_descriptor_pool(
&self,
device: Device,
p_create_info: *const DescriptorPoolCreateInfo,
p_allocator: *const AllocationCallbacks,
p_descriptor_pool: *mut DescriptorPool
) -> Result
sourcepub unsafe fn destroy_descriptor_pool(
&self,
device: Device,
descriptor_pool: DescriptorPool,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_descriptor_pool(
&self,
device: Device,
descriptor_pool: DescriptorPool,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn reset_descriptor_pool(
&self,
device: Device,
descriptor_pool: DescriptorPool,
flags: DescriptorPoolResetFlags
) -> Result
pub unsafe fn reset_descriptor_pool(
&self,
device: Device,
descriptor_pool: DescriptorPool,
flags: DescriptorPoolResetFlags
) -> Result
sourcepub unsafe fn allocate_descriptor_sets(
&self,
device: Device,
p_allocate_info: *const DescriptorSetAllocateInfo,
p_descriptor_sets: *mut DescriptorSet
) -> Result
pub unsafe fn allocate_descriptor_sets(
&self,
device: Device,
p_allocate_info: *const DescriptorSetAllocateInfo,
p_descriptor_sets: *mut DescriptorSet
) -> Result
sourcepub unsafe fn free_descriptor_sets(
&self,
device: Device,
descriptor_pool: DescriptorPool,
descriptor_set_count: u32,
p_descriptor_sets: *const DescriptorSet
) -> Result
pub unsafe fn free_descriptor_sets(
&self,
device: Device,
descriptor_pool: DescriptorPool,
descriptor_set_count: u32,
p_descriptor_sets: *const DescriptorSet
) -> Result
sourcepub unsafe fn update_descriptor_sets(
&self,
device: Device,
descriptor_write_count: u32,
p_descriptor_writes: *const WriteDescriptorSet,
descriptor_copy_count: u32,
p_descriptor_copies: *const CopyDescriptorSet
)
pub unsafe fn update_descriptor_sets(
&self,
device: Device,
descriptor_write_count: u32,
p_descriptor_writes: *const WriteDescriptorSet,
descriptor_copy_count: u32,
p_descriptor_copies: *const CopyDescriptorSet
)
sourcepub unsafe fn create_framebuffer(
&self,
device: Device,
p_create_info: *const FramebufferCreateInfo,
p_allocator: *const AllocationCallbacks,
p_framebuffer: *mut Framebuffer
) -> Result
pub unsafe fn create_framebuffer(
&self,
device: Device,
p_create_info: *const FramebufferCreateInfo,
p_allocator: *const AllocationCallbacks,
p_framebuffer: *mut Framebuffer
) -> Result
sourcepub unsafe fn destroy_framebuffer(
&self,
device: Device,
framebuffer: Framebuffer,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_framebuffer(
&self,
device: Device,
framebuffer: Framebuffer,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn create_render_pass(
&self,
device: Device,
p_create_info: *const RenderPassCreateInfo,
p_allocator: *const AllocationCallbacks,
p_render_pass: *mut RenderPass
) -> Result
pub unsafe fn create_render_pass(
&self,
device: Device,
p_create_info: *const RenderPassCreateInfo,
p_allocator: *const AllocationCallbacks,
p_render_pass: *mut RenderPass
) -> Result
sourcepub unsafe fn destroy_render_pass(
&self,
device: Device,
render_pass: RenderPass,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_render_pass(
&self,
device: Device,
render_pass: RenderPass,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn get_render_area_granularity(
&self,
device: Device,
render_pass: RenderPass,
p_granularity: *mut Extent2D
)
pub unsafe fn get_render_area_granularity(
&self,
device: Device,
render_pass: RenderPass,
p_granularity: *mut Extent2D
)
sourcepub unsafe fn create_command_pool(
&self,
device: Device,
p_create_info: *const CommandPoolCreateInfo,
p_allocator: *const AllocationCallbacks,
p_command_pool: *mut CommandPool
) -> Result
pub unsafe fn create_command_pool(
&self,
device: Device,
p_create_info: *const CommandPoolCreateInfo,
p_allocator: *const AllocationCallbacks,
p_command_pool: *mut CommandPool
) -> Result
sourcepub unsafe fn destroy_command_pool(
&self,
device: Device,
command_pool: CommandPool,
p_allocator: *const AllocationCallbacks
)
pub unsafe fn destroy_command_pool(
&self,
device: Device,
command_pool: CommandPool,
p_allocator: *const AllocationCallbacks
)
sourcepub unsafe fn reset_command_pool(
&self,
device: Device,
command_pool: CommandPool,
flags: CommandPoolResetFlags
) -> Result
pub unsafe fn reset_command_pool(
&self,
device: Device,
command_pool: CommandPool,
flags: CommandPoolResetFlags
) -> Result
sourcepub unsafe fn allocate_command_buffers(
&self,
device: Device,
p_allocate_info: *const CommandBufferAllocateInfo,
p_command_buffers: *mut CommandBuffer
) -> Result
pub unsafe fn allocate_command_buffers(
&self,
device: Device,
p_allocate_info: *const CommandBufferAllocateInfo,
p_command_buffers: *mut CommandBuffer
) -> Result
sourcepub unsafe fn free_command_buffers(
&self,
device: Device,
command_pool: CommandPool,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
)
pub unsafe fn free_command_buffers(
&self,
device: Device,
command_pool: CommandPool,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
)
sourcepub unsafe fn begin_command_buffer(
&self,
command_buffer: CommandBuffer,
p_begin_info: *const CommandBufferBeginInfo
) -> Result
pub unsafe fn begin_command_buffer(
&self,
command_buffer: CommandBuffer,
p_begin_info: *const CommandBufferBeginInfo
) -> Result
sourcepub unsafe fn end_command_buffer(&self, command_buffer: CommandBuffer) -> Result
pub unsafe fn end_command_buffer(&self, command_buffer: CommandBuffer) -> Result
sourcepub unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags
) -> Result
pub unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags
) -> Result
sourcepub unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
)
pub unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
)
sourcepub unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewport_count: u32,
p_viewports: *const Viewport
)
pub unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewport_count: u32,
p_viewports: *const Viewport
)
sourcepub unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissor_count: u32,
p_scissors: *const Rect2D
)
pub unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissor_count: u32,
p_scissors: *const Rect2D
)
sourcepub unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32
)
pub unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32
)
sourcepub unsafe fn cmd_set_depth_bias(
&self,
command_buffer: CommandBuffer,
depth_bias_constant_factor: f32,
depth_bias_clamp: f32,
depth_bias_slope_factor: f32
)
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
)
sourcepub unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: *const [f32; 4]
)
pub unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: *const [f32; 4]
)
sourcepub unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
)
pub unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
)
sourcepub unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
)
pub unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
)
sourcepub unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
)
pub unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
)
sourcepub unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
)
pub unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
)
sourcepub unsafe fn cmd_bind_descriptor_sets(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
first_set: u32,
descriptor_set_count: u32,
p_descriptor_sets: *const DescriptorSet,
dynamic_offset_count: u32,
p_dynamic_offsets: *const u32
)
pub unsafe fn cmd_bind_descriptor_sets(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
first_set: u32,
descriptor_set_count: u32,
p_descriptor_sets: *const DescriptorSet,
dynamic_offset_count: u32,
p_dynamic_offsets: *const u32
)
sourcepub unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
pub unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
sourcepub unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
binding_count: u32,
p_buffers: *const Buffer,
p_offsets: *const DeviceSize
)
pub unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
binding_count: u32,
p_buffers: *const Buffer,
p_offsets: *const DeviceSize
)
sourcepub unsafe fn cmd_draw(
&self,
command_buffer: CommandBuffer,
vertex_count: u32,
instance_count: u32,
first_vertex: u32,
first_instance: u32
)
pub unsafe fn cmd_draw(
&self,
command_buffer: CommandBuffer,
vertex_count: u32,
instance_count: u32,
first_vertex: u32,
first_instance: u32
)
sourcepub unsafe fn cmd_draw_indexed(
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32
)
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
)
sourcepub unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
pub unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
sourcepub unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
pub unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
sourcepub unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
pub unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
sourcepub unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
)
pub unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
)
sourcepub unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
region_count: u32,
p_regions: *const BufferCopy
)
pub unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
region_count: u32,
p_regions: *const BufferCopy
)
sourcepub unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const ImageCopy
)
pub unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const ImageCopy
)
sourcepub unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const ImageBlit,
filter: Filter
)
pub unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const ImageBlit,
filter: Filter
)
sourcepub unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const BufferImageCopy
)
pub unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const BufferImageCopy
)
sourcepub unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
region_count: u32,
p_regions: *const BufferImageCopy
)
pub unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
region_count: u32,
p_regions: *const BufferImageCopy
)
sourcepub unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
data_size: DeviceSize,
p_data: *const c_void
)
pub unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
data_size: DeviceSize,
p_data: *const c_void
)
sourcepub unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32
)
pub unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32
)
sourcepub unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
p_color: *const ClearColorValue,
range_count: u32,
p_ranges: *const ImageSubresourceRange
)
pub unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
p_color: *const ClearColorValue,
range_count: u32,
p_ranges: *const ImageSubresourceRange
)
sourcepub unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
p_depth_stencil: *const ClearDepthStencilValue,
range_count: u32,
p_ranges: *const ImageSubresourceRange
)
pub unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
p_depth_stencil: *const ClearDepthStencilValue,
range_count: u32,
p_ranges: *const ImageSubresourceRange
)
sourcepub unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachment_count: u32,
p_attachments: *const ClearAttachment,
rect_count: u32,
p_rects: *const ClearRect
)
pub unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachment_count: u32,
p_attachments: *const ClearAttachment,
rect_count: u32,
p_rects: *const ClearRect
)
sourcepub unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const ImageResolve
)
pub unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
region_count: u32,
p_regions: *const ImageResolve
)
sourcepub unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
pub unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
sourcepub unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
pub unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
sourcepub unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
event_count: u32,
p_events: *const Event,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barrier_count: u32,
p_memory_barriers: *const MemoryBarrier,
buffer_memory_barrier_count: u32,
p_buffer_memory_barriers: *const BufferMemoryBarrier,
image_memory_barrier_count: u32,
p_image_memory_barriers: *const ImageMemoryBarrier
)
pub unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
event_count: u32,
p_events: *const Event,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barrier_count: u32,
p_memory_barriers: *const MemoryBarrier,
buffer_memory_barrier_count: u32,
p_buffer_memory_barriers: *const BufferMemoryBarrier,
image_memory_barrier_count: u32,
p_image_memory_barriers: *const ImageMemoryBarrier
)
sourcepub unsafe fn cmd_pipeline_barrier(
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barrier_count: u32,
p_memory_barriers: *const MemoryBarrier,
buffer_memory_barrier_count: u32,
p_buffer_memory_barriers: *const BufferMemoryBarrier,
image_memory_barrier_count: u32,
p_image_memory_barriers: *const ImageMemoryBarrier
)
pub unsafe fn cmd_pipeline_barrier(
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barrier_count: u32,
p_memory_barriers: *const MemoryBarrier,
buffer_memory_barrier_count: u32,
p_buffer_memory_barriers: *const BufferMemoryBarrier,
image_memory_barrier_count: u32,
p_image_memory_barriers: *const ImageMemoryBarrier
)
sourcepub unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
)
pub unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
)
sourcepub unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
)
pub unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
)
sourcepub unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
pub unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
sourcepub unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
)
pub unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
)
sourcepub 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
)
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
)
sourcepub unsafe fn cmd_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
size: u32,
p_values: *const c_void
)
pub unsafe fn cmd_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
size: u32,
p_values: *const c_void
)
sourcepub unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
p_render_pass_begin: *const RenderPassBeginInfo,
contents: SubpassContents
)
pub unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
p_render_pass_begin: *const RenderPassBeginInfo,
contents: SubpassContents
)
sourcepub unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents
)
pub unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents
)
sourcepub unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
pub unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
sourcepub unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
)
pub unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
)
Trait Implementations
sourceimpl Clone for DeviceFnV1_0
impl Clone for DeviceFnV1_0
sourcefn clone(&self) -> DeviceFnV1_0
fn clone(&self) -> DeviceFnV1_0
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for DeviceFnV1_0
impl Sync for DeviceFnV1_0
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more