Struct ash::vk::DeviceFnV1_0 [−][src]
pub struct DeviceFnV1_0 {}Show 120 fields
pub destroy_device: extern "system" fn(device: Device, p_allocator: *const AllocationCallbacks) -> c_void, pub get_device_queue: extern "system" fn(device: Device, queue_family_index: u32, queue_index: u32, p_queue: *mut Queue) -> c_void, pub queue_submit: extern "system" fn(queue: Queue, submit_count: u32, p_submits: *const SubmitInfo, fence: Fence) -> Result, pub queue_wait_idle: extern "system" fn(queue: Queue) -> Result, pub device_wait_idle: extern "system" fn(device: Device) -> Result, pub allocate_memory: extern "system" fn(device: Device, p_allocate_info: *const MemoryAllocateInfo, p_allocator: *const AllocationCallbacks, p_memory: *mut DeviceMemory) -> Result, pub free_memory: extern "system" fn(device: Device, memory: DeviceMemory, p_allocator: *const AllocationCallbacks) -> c_void, pub map_memory: extern "system" fn(device: Device, memory: DeviceMemory, offset: DeviceSize, size: DeviceSize, flags: MemoryMapFlags, pp_data: *mut *mut c_void) -> Result, pub unmap_memory: extern "system" fn(device: Device, memory: DeviceMemory) -> c_void, pub flush_mapped_memory_ranges: extern "system" fn(device: Device, memory_range_count: u32, p_memory_ranges: *const MappedMemoryRange) -> Result, pub invalidate_mapped_memory_ranges: extern "system" fn(device: Device, memory_range_count: u32, p_memory_ranges: *const MappedMemoryRange) -> Result, pub get_device_memory_commitment: extern "system" fn(device: Device, memory: DeviceMemory, p_committed_memory_in_bytes: *mut DeviceSize) -> c_void, pub bind_buffer_memory: extern "system" fn(device: Device, buffer: Buffer, memory: DeviceMemory, memory_offset: DeviceSize) -> Result, pub bind_image_memory: extern "system" fn(device: Device, image: Image, memory: DeviceMemory, memory_offset: DeviceSize) -> Result, pub get_buffer_memory_requirements: extern "system" fn(device: Device, buffer: Buffer, p_memory_requirements: *mut MemoryRequirements) -> c_void, pub get_image_memory_requirements: extern "system" fn(device: Device, image: Image, p_memory_requirements: *mut MemoryRequirements) -> c_void, pub get_image_sparse_memory_requirements: extern "system" fn(device: Device, image: Image, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements) -> c_void, pub queue_bind_sparse: extern "system" fn(queue: Queue, bind_info_count: u32, p_bind_info: *const BindSparseInfo, fence: Fence) -> Result, pub create_fence: extern "system" fn(device: Device, p_create_info: *const FenceCreateInfo, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Result, pub destroy_fence: extern "system" fn(device: Device, fence: Fence, p_allocator: *const AllocationCallbacks) -> c_void, pub reset_fences: extern "system" fn(device: Device, fence_count: u32, p_fences: *const Fence) -> Result, pub get_fence_status: extern "system" fn(device: Device, fence: Fence) -> Result, pub wait_for_fences: extern "system" fn(device: Device, fence_count: u32, p_fences: *const Fence, wait_all: Bool32, timeout: u64) -> Result, pub create_semaphore: extern "system" fn(device: Device, p_create_info: *const SemaphoreCreateInfo, p_allocator: *const AllocationCallbacks, p_semaphore: *mut Semaphore) -> Result, pub destroy_semaphore: extern "system" fn(device: Device, semaphore: Semaphore, p_allocator: *const AllocationCallbacks) -> c_void, pub create_event: extern "system" fn(device: Device, p_create_info: *const EventCreateInfo, p_allocator: *const AllocationCallbacks, p_event: *mut Event) -> Result, pub destroy_event: extern "system" fn(device: Device, event: Event, p_allocator: *const AllocationCallbacks) -> c_void, pub get_event_status: extern "system" fn(device: Device, event: Event) -> Result, pub set_event: extern "system" fn(device: Device, event: Event) -> Result, pub reset_event: extern "system" fn(device: Device, event: Event) -> Result, pub create_query_pool: extern "system" fn(device: Device, p_create_info: *const QueryPoolCreateInfo, p_allocator: *const AllocationCallbacks, p_query_pool: *mut QueryPool) -> Result, pub destroy_query_pool: extern "system" fn(device: Device, query_pool: QueryPool, p_allocator: *const AllocationCallbacks) -> c_void, pub get_query_pool_results: extern "system" fn(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 create_buffer: extern "system" fn(device: Device, p_create_info: *const BufferCreateInfo, p_allocator: *const AllocationCallbacks, p_buffer: *mut Buffer) -> Result, pub destroy_buffer: extern "system" fn(device: Device, buffer: Buffer, p_allocator: *const AllocationCallbacks) -> c_void, pub create_buffer_view: extern "system" fn(device: Device, p_create_info: *const BufferViewCreateInfo, p_allocator: *const AllocationCallbacks, p_view: *mut BufferView) -> Result, pub destroy_buffer_view: extern "system" fn(device: Device, buffer_view: BufferView, p_allocator: *const AllocationCallbacks) -> c_void, pub create_image: extern "system" fn(device: Device, p_create_info: *const ImageCreateInfo, p_allocator: *const AllocationCallbacks, p_image: *mut Image) -> Result, pub destroy_image: extern "system" fn(device: Device, image: Image, p_allocator: *const AllocationCallbacks) -> c_void, pub get_image_subresource_layout: extern "system" fn(device: Device, image: Image, p_subresource: *const ImageSubresource, p_layout: *mut SubresourceLayout) -> c_void, pub create_image_view: extern "system" fn(device: Device, p_create_info: *const ImageViewCreateInfo, p_allocator: *const AllocationCallbacks, p_view: *mut ImageView) -> Result, pub destroy_image_view: extern "system" fn(device: Device, image_view: ImageView, p_allocator: *const AllocationCallbacks) -> c_void, pub create_shader_module: extern "system" fn(device: Device, p_create_info: *const ShaderModuleCreateInfo, p_allocator: *const AllocationCallbacks, p_shader_module: *mut ShaderModule) -> Result, pub destroy_shader_module: extern "system" fn(device: Device, shader_module: ShaderModule, p_allocator: *const AllocationCallbacks) -> c_void, pub create_pipeline_cache: extern "system" fn(device: Device, p_create_info: *const PipelineCacheCreateInfo, p_allocator: *const AllocationCallbacks, p_pipeline_cache: *mut PipelineCache) -> Result, pub destroy_pipeline_cache: extern "system" fn(device: Device, pipeline_cache: PipelineCache, p_allocator: *const AllocationCallbacks) -> c_void, pub get_pipeline_cache_data: extern "system" fn(device: Device, pipeline_cache: PipelineCache, p_data_size: *mut usize, p_data: *mut c_void) -> Result, pub merge_pipeline_caches: extern "system" fn(device: Device, dst_cache: PipelineCache, src_cache_count: u32, p_src_caches: *const PipelineCache) -> Result, pub create_graphics_pipelines: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const GraphicsPipelineCreateInfo, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result, pub create_compute_pipelines: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const ComputePipelineCreateInfo, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result, pub destroy_pipeline: extern "system" fn(device: Device, pipeline: Pipeline, p_allocator: *const AllocationCallbacks) -> c_void, pub create_pipeline_layout: extern "system" fn(device: Device, p_create_info: *const PipelineLayoutCreateInfo, p_allocator: *const AllocationCallbacks, p_pipeline_layout: *mut PipelineLayout) -> Result, pub destroy_pipeline_layout: extern "system" fn(device: Device, pipeline_layout: PipelineLayout, p_allocator: *const AllocationCallbacks) -> c_void, pub create_sampler: extern "system" fn(device: Device, p_create_info: *const SamplerCreateInfo, p_allocator: *const AllocationCallbacks, p_sampler: *mut Sampler) -> Result, pub destroy_sampler: extern "system" fn(device: Device, sampler: Sampler, p_allocator: *const AllocationCallbacks) -> c_void, pub create_descriptor_set_layout: extern "system" fn(device: Device, p_create_info: *const DescriptorSetLayoutCreateInfo, p_allocator: *const AllocationCallbacks, p_set_layout: *mut DescriptorSetLayout) -> Result, pub destroy_descriptor_set_layout: extern "system" fn(device: Device, descriptor_set_layout: DescriptorSetLayout, p_allocator: *const AllocationCallbacks) -> c_void, pub create_descriptor_pool: extern "system" fn(device: Device, p_create_info: *const DescriptorPoolCreateInfo, p_allocator: *const AllocationCallbacks, p_descriptor_pool: *mut DescriptorPool) -> Result, pub destroy_descriptor_pool: extern "system" fn(device: Device, descriptor_pool: DescriptorPool, p_allocator: *const AllocationCallbacks) -> c_void, pub reset_descriptor_pool: extern "system" fn(device: Device, descriptor_pool: DescriptorPool, flags: DescriptorPoolResetFlags) -> Result, pub allocate_descriptor_sets: extern "system" fn(device: Device, p_allocate_info: *const DescriptorSetAllocateInfo, p_descriptor_sets: *mut DescriptorSet) -> Result, pub free_descriptor_sets: extern "system" fn(device: Device, descriptor_pool: DescriptorPool, descriptor_set_count: u32, p_descriptor_sets: *const DescriptorSet) -> Result, pub update_descriptor_sets: extern "system" fn(device: Device, descriptor_write_count: u32, p_descriptor_writes: *const WriteDescriptorSet, descriptor_copy_count: u32, p_descriptor_copies: *const CopyDescriptorSet) -> c_void, pub create_framebuffer: extern "system" fn(device: Device, p_create_info: *const FramebufferCreateInfo, p_allocator: *const AllocationCallbacks, p_framebuffer: *mut Framebuffer) -> Result, pub destroy_framebuffer: extern "system" fn(device: Device, framebuffer: Framebuffer, p_allocator: *const AllocationCallbacks) -> c_void, pub create_render_pass: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo, p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass) -> Result, pub destroy_render_pass: extern "system" fn(device: Device, render_pass: RenderPass, p_allocator: *const AllocationCallbacks) -> c_void, pub get_render_area_granularity: extern "system" fn(device: Device, render_pass: RenderPass, p_granularity: *mut Extent2D) -> c_void, pub create_command_pool: extern "system" fn(device: Device, p_create_info: *const CommandPoolCreateInfo, p_allocator: *const AllocationCallbacks, p_command_pool: *mut CommandPool) -> Result, pub destroy_command_pool: extern "system" fn(device: Device, command_pool: CommandPool, p_allocator: *const AllocationCallbacks) -> c_void, pub reset_command_pool: extern "system" fn(device: Device, command_pool: CommandPool, flags: CommandPoolResetFlags) -> Result, pub allocate_command_buffers: extern "system" fn(device: Device, p_allocate_info: *const CommandBufferAllocateInfo, p_command_buffers: *mut CommandBuffer) -> Result, pub free_command_buffers: extern "system" fn(device: Device, command_pool: CommandPool, command_buffer_count: u32, p_command_buffers: *const CommandBuffer) -> c_void, pub begin_command_buffer: extern "system" fn(command_buffer: CommandBuffer, p_begin_info: *const CommandBufferBeginInfo) -> Result, pub end_command_buffer: extern "system" fn(command_buffer: CommandBuffer) -> Result, pub reset_command_buffer: extern "system" fn(command_buffer: CommandBuffer, flags: CommandBufferResetFlags) -> Result, pub cmd_bind_pipeline: extern "system" fn(command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline) -> c_void, pub cmd_set_viewport: extern "system" fn(command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_viewports: *const Viewport) -> c_void, pub cmd_set_scissor: extern "system" fn(command_buffer: CommandBuffer, first_scissor: u32, scissor_count: u32, p_scissors: *const Rect2D) -> c_void, pub cmd_set_line_width: extern "system" fn(command_buffer: CommandBuffer, line_width: f32) -> c_void, pub cmd_set_depth_bias: extern "system" fn(command_buffer: CommandBuffer, depth_bias_constant_factor: f32, depth_bias_clamp: f32, depth_bias_slope_factor: f32) -> c_void, pub cmd_set_blend_constants: extern "system" fn(command_buffer: CommandBuffer, blend_constants: &[f32; 4]) -> c_void, pub cmd_set_depth_bounds: extern "system" fn(command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32) -> c_void, pub cmd_set_stencil_compare_mask: extern "system" fn(command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32) -> c_void, pub cmd_set_stencil_write_mask: extern "system" fn(command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32) -> c_void, pub cmd_set_stencil_reference: extern "system" fn(command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32) -> c_void, pub cmd_bind_descriptor_sets: extern "system" fn(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) -> c_void, pub cmd_bind_index_buffer: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, index_type: IndexType) -> c_void, pub cmd_bind_vertex_buffers: extern "system" fn(command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize) -> c_void, pub cmd_draw: extern "system" fn(command_buffer: CommandBuffer, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32) -> c_void, pub cmd_draw_indexed: extern "system" fn(command_buffer: CommandBuffer, index_count: u32, instance_count: u32, first_index: u32, vertex_offset: i32, first_instance: u32) -> c_void, pub cmd_draw_indirect: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32) -> c_void, pub cmd_draw_indexed_indirect: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32) -> c_void, pub cmd_dispatch: extern "system" fn(command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32) -> c_void, pub cmd_dispatch_indirect: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize) -> c_void, pub cmd_copy_buffer: extern "system" fn(command_buffer: CommandBuffer, src_buffer: Buffer, dst_buffer: Buffer, region_count: u32, p_regions: *const BufferCopy) -> c_void, pub cmd_copy_image: extern "system" fn(command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, region_count: u32, p_regions: *const ImageCopy) -> c_void, pub cmd_blit_image: extern "system" fn(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) -> c_void, pub cmd_copy_buffer_to_image: extern "system" fn(command_buffer: CommandBuffer, src_buffer: Buffer, dst_image: Image, dst_image_layout: ImageLayout, region_count: u32, p_regions: *const BufferImageCopy) -> c_void, pub cmd_copy_image_to_buffer: extern "system" fn(command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_buffer: Buffer, region_count: u32, p_regions: *const BufferImageCopy) -> c_void, pub cmd_update_buffer: extern "system" fn(command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, data_size: DeviceSize, p_data: *const c_void) -> c_void, pub cmd_fill_buffer: extern "system" fn(command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, size: DeviceSize, data: u32) -> c_void, pub cmd_clear_color_image: extern "system" fn(command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, p_color: *const ClearColorValue, range_count: u32, p_ranges: *const ImageSubresourceRange) -> c_void, pub cmd_clear_depth_stencil_image: extern "system" fn(command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, p_depth_stencil: *const ClearDepthStencilValue, range_count: u32, p_ranges: *const ImageSubresourceRange) -> c_void, pub cmd_clear_attachments: extern "system" fn(command_buffer: CommandBuffer, attachment_count: u32, p_attachments: *const ClearAttachment, rect_count: u32, p_rects: *const ClearRect) -> c_void, pub cmd_resolve_image: extern "system" fn(command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, region_count: u32, p_regions: *const ImageResolve) -> c_void, pub cmd_set_event: extern "system" fn(command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags) -> c_void, pub cmd_reset_event: extern "system" fn(command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags) -> c_void, pub cmd_wait_events: extern "system" fn(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) -> c_void, pub cmd_pipeline_barrier: extern "system" fn(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) -> c_void, pub cmd_begin_query: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags) -> c_void, pub cmd_end_query: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, query: u32) -> c_void, pub cmd_reset_query_pool: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32) -> c_void, pub cmd_write_timestamp: extern "system" fn(command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlags, query_pool: QueryPool, query: u32) -> c_void, pub cmd_copy_query_pool_results: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, dst_buffer: Buffer, dst_offset: DeviceSize, stride: DeviceSize, flags: QueryResultFlags) -> c_void, pub cmd_push_constants: extern "system" fn(command_buffer: CommandBuffer, layout: PipelineLayout, stage_flags: ShaderStageFlags, offset: u32, size: u32, p_values: *const c_void) -> c_void, pub cmd_begin_render_pass: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, contents: SubpassContents) -> c_void, pub cmd_next_subpass: extern "system" fn(command_buffer: CommandBuffer, contents: SubpassContents) -> c_void, pub cmd_end_render_pass: extern "system" fn(command_buffer: CommandBuffer) -> c_void, pub cmd_execute_commands: extern "system" fn(command_buffer: CommandBuffer, command_buffer_count: u32, p_command_buffers: *const CommandBuffer) -> c_void,
Fields
destroy_device: extern "system" fn(device: Device, p_allocator: *const AllocationCallbacks) -> c_void
get_device_queue: extern "system" fn(device: Device, queue_family_index: u32, queue_index: u32, p_queue: *mut Queue) -> c_void
queue_submit: extern "system" fn(queue: Queue, submit_count: u32, p_submits: *const SubmitInfo, fence: Fence) -> Result
queue_wait_idle: extern "system" fn(queue: Queue) -> Result
device_wait_idle: extern "system" fn(device: Device) -> Result
allocate_memory: extern "system" fn(device: Device, p_allocate_info: *const MemoryAllocateInfo, p_allocator: *const AllocationCallbacks, p_memory: *mut DeviceMemory) -> Result
free_memory: extern "system" fn(device: Device, memory: DeviceMemory, p_allocator: *const AllocationCallbacks) -> c_void
map_memory: extern "system" fn(device: Device, memory: DeviceMemory, offset: DeviceSize, size: DeviceSize, flags: MemoryMapFlags, pp_data: *mut *mut c_void) -> Result
unmap_memory: extern "system" fn(device: Device, memory: DeviceMemory) -> c_void
flush_mapped_memory_ranges: extern "system" fn(device: Device, memory_range_count: u32, p_memory_ranges: *const MappedMemoryRange) -> Result
invalidate_mapped_memory_ranges: extern "system" fn(device: Device, memory_range_count: u32, p_memory_ranges: *const MappedMemoryRange) -> Result
get_device_memory_commitment: extern "system" fn(device: Device, memory: DeviceMemory, p_committed_memory_in_bytes: *mut DeviceSize) -> c_void
bind_buffer_memory: extern "system" fn(device: Device, buffer: Buffer, memory: DeviceMemory, memory_offset: DeviceSize) -> Result
bind_image_memory: extern "system" fn(device: Device, image: Image, memory: DeviceMemory, memory_offset: DeviceSize) -> Result
get_buffer_memory_requirements: extern "system" fn(device: Device, buffer: Buffer, p_memory_requirements: *mut MemoryRequirements) -> c_void
get_image_memory_requirements: extern "system" fn(device: Device, image: Image, p_memory_requirements: *mut MemoryRequirements) -> c_void
get_image_sparse_memory_requirements: extern "system" fn(device: Device, image: Image, p_sparse_memory_requirement_count: *mut u32, p_sparse_memory_requirements: *mut SparseImageMemoryRequirements) -> c_void
queue_bind_sparse: extern "system" fn(queue: Queue, bind_info_count: u32, p_bind_info: *const BindSparseInfo, fence: Fence) -> Result
create_fence: extern "system" fn(device: Device, p_create_info: *const FenceCreateInfo, p_allocator: *const AllocationCallbacks, p_fence: *mut Fence) -> Result
destroy_fence: extern "system" fn(device: Device, fence: Fence, p_allocator: *const AllocationCallbacks) -> c_void
reset_fences: extern "system" fn(device: Device, fence_count: u32, p_fences: *const Fence) -> Result
get_fence_status: extern "system" fn(device: Device, fence: Fence) -> Result
wait_for_fences: extern "system" fn(device: Device, fence_count: u32, p_fences: *const Fence, wait_all: Bool32, timeout: u64) -> Result
create_semaphore: extern "system" fn(device: Device, p_create_info: *const SemaphoreCreateInfo, p_allocator: *const AllocationCallbacks, p_semaphore: *mut Semaphore) -> Result
destroy_semaphore: extern "system" fn(device: Device, semaphore: Semaphore, p_allocator: *const AllocationCallbacks) -> c_void
create_event: extern "system" fn(device: Device, p_create_info: *const EventCreateInfo, p_allocator: *const AllocationCallbacks, p_event: *mut Event) -> Result
destroy_event: extern "system" fn(device: Device, event: Event, p_allocator: *const AllocationCallbacks) -> c_void
get_event_status: extern "system" fn(device: Device, event: Event) -> Result
set_event: extern "system" fn(device: Device, event: Event) -> Result
reset_event: extern "system" fn(device: Device, event: Event) -> Result
create_query_pool: extern "system" fn(device: Device, p_create_info: *const QueryPoolCreateInfo, p_allocator: *const AllocationCallbacks, p_query_pool: *mut QueryPool) -> Result
destroy_query_pool: extern "system" fn(device: Device, query_pool: QueryPool, p_allocator: *const AllocationCallbacks) -> c_void
get_query_pool_results: extern "system" fn(device: Device, query_pool: QueryPool, first_query: u32, query_count: u32, data_size: usize, p_data: *mut c_void, stride: DeviceSize, flags: QueryResultFlags) -> Result
create_buffer: extern "system" fn(device: Device, p_create_info: *const BufferCreateInfo, p_allocator: *const AllocationCallbacks, p_buffer: *mut Buffer) -> Result
destroy_buffer: extern "system" fn(device: Device, buffer: Buffer, p_allocator: *const AllocationCallbacks) -> c_void
create_buffer_view: extern "system" fn(device: Device, p_create_info: *const BufferViewCreateInfo, p_allocator: *const AllocationCallbacks, p_view: *mut BufferView) -> Result
destroy_buffer_view: extern "system" fn(device: Device, buffer_view: BufferView, p_allocator: *const AllocationCallbacks) -> c_void
create_image: extern "system" fn(device: Device, p_create_info: *const ImageCreateInfo, p_allocator: *const AllocationCallbacks, p_image: *mut Image) -> Result
destroy_image: extern "system" fn(device: Device, image: Image, p_allocator: *const AllocationCallbacks) -> c_void
get_image_subresource_layout: extern "system" fn(device: Device, image: Image, p_subresource: *const ImageSubresource, p_layout: *mut SubresourceLayout) -> c_void
create_image_view: extern "system" fn(device: Device, p_create_info: *const ImageViewCreateInfo, p_allocator: *const AllocationCallbacks, p_view: *mut ImageView) -> Result
destroy_image_view: extern "system" fn(device: Device, image_view: ImageView, p_allocator: *const AllocationCallbacks) -> c_void
create_shader_module: extern "system" fn(device: Device, p_create_info: *const ShaderModuleCreateInfo, p_allocator: *const AllocationCallbacks, p_shader_module: *mut ShaderModule) -> Result
destroy_shader_module: extern "system" fn(device: Device, shader_module: ShaderModule, p_allocator: *const AllocationCallbacks) -> c_void
create_pipeline_cache: extern "system" fn(device: Device, p_create_info: *const PipelineCacheCreateInfo, p_allocator: *const AllocationCallbacks, p_pipeline_cache: *mut PipelineCache) -> Result
destroy_pipeline_cache: extern "system" fn(device: Device, pipeline_cache: PipelineCache, p_allocator: *const AllocationCallbacks) -> c_void
get_pipeline_cache_data: extern "system" fn(device: Device, pipeline_cache: PipelineCache, p_data_size: *mut usize, p_data: *mut c_void) -> Result
merge_pipeline_caches: extern "system" fn(device: Device, dst_cache: PipelineCache, src_cache_count: u32, p_src_caches: *const PipelineCache) -> Result
create_graphics_pipelines: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const GraphicsPipelineCreateInfo, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result
create_compute_pipelines: extern "system" fn(device: Device, pipeline_cache: PipelineCache, create_info_count: u32, p_create_infos: *const ComputePipelineCreateInfo, p_allocator: *const AllocationCallbacks, p_pipelines: *mut Pipeline) -> Result
destroy_pipeline: extern "system" fn(device: Device, pipeline: Pipeline, p_allocator: *const AllocationCallbacks) -> c_void
create_pipeline_layout: extern "system" fn(device: Device, p_create_info: *const PipelineLayoutCreateInfo, p_allocator: *const AllocationCallbacks, p_pipeline_layout: *mut PipelineLayout) -> Result
destroy_pipeline_layout: extern "system" fn(device: Device, pipeline_layout: PipelineLayout, p_allocator: *const AllocationCallbacks) -> c_void
create_sampler: extern "system" fn(device: Device, p_create_info: *const SamplerCreateInfo, p_allocator: *const AllocationCallbacks, p_sampler: *mut Sampler) -> Result
destroy_sampler: extern "system" fn(device: Device, sampler: Sampler, p_allocator: *const AllocationCallbacks) -> c_void
create_descriptor_set_layout: extern "system" fn(device: Device, p_create_info: *const DescriptorSetLayoutCreateInfo, p_allocator: *const AllocationCallbacks, p_set_layout: *mut DescriptorSetLayout) -> Result
destroy_descriptor_set_layout: extern "system" fn(device: Device, descriptor_set_layout: DescriptorSetLayout, p_allocator: *const AllocationCallbacks) -> c_void
create_descriptor_pool: extern "system" fn(device: Device, p_create_info: *const DescriptorPoolCreateInfo, p_allocator: *const AllocationCallbacks, p_descriptor_pool: *mut DescriptorPool) -> Result
destroy_descriptor_pool: extern "system" fn(device: Device, descriptor_pool: DescriptorPool, p_allocator: *const AllocationCallbacks) -> c_void
reset_descriptor_pool: extern "system" fn(device: Device, descriptor_pool: DescriptorPool, flags: DescriptorPoolResetFlags) -> Result
allocate_descriptor_sets: extern "system" fn(device: Device, p_allocate_info: *const DescriptorSetAllocateInfo, p_descriptor_sets: *mut DescriptorSet) -> Result
free_descriptor_sets: extern "system" fn(device: Device, descriptor_pool: DescriptorPool, descriptor_set_count: u32, p_descriptor_sets: *const DescriptorSet) -> Result
update_descriptor_sets: extern "system" fn(device: Device, descriptor_write_count: u32, p_descriptor_writes: *const WriteDescriptorSet, descriptor_copy_count: u32, p_descriptor_copies: *const CopyDescriptorSet) -> c_void
create_framebuffer: extern "system" fn(device: Device, p_create_info: *const FramebufferCreateInfo, p_allocator: *const AllocationCallbacks, p_framebuffer: *mut Framebuffer) -> Result
destroy_framebuffer: extern "system" fn(device: Device, framebuffer: Framebuffer, p_allocator: *const AllocationCallbacks) -> c_void
create_render_pass: extern "system" fn(device: Device, p_create_info: *const RenderPassCreateInfo, p_allocator: *const AllocationCallbacks, p_render_pass: *mut RenderPass) -> Result
destroy_render_pass: extern "system" fn(device: Device, render_pass: RenderPass, p_allocator: *const AllocationCallbacks) -> c_void
get_render_area_granularity: extern "system" fn(device: Device, render_pass: RenderPass, p_granularity: *mut Extent2D) -> c_void
create_command_pool: extern "system" fn(device: Device, p_create_info: *const CommandPoolCreateInfo, p_allocator: *const AllocationCallbacks, p_command_pool: *mut CommandPool) -> Result
destroy_command_pool: extern "system" fn(device: Device, command_pool: CommandPool, p_allocator: *const AllocationCallbacks) -> c_void
reset_command_pool: extern "system" fn(device: Device, command_pool: CommandPool, flags: CommandPoolResetFlags) -> Result
allocate_command_buffers: extern "system" fn(device: Device, p_allocate_info: *const CommandBufferAllocateInfo, p_command_buffers: *mut CommandBuffer) -> Result
free_command_buffers: extern "system" fn(device: Device, command_pool: CommandPool, command_buffer_count: u32, p_command_buffers: *const CommandBuffer) -> c_void
begin_command_buffer: extern "system" fn(command_buffer: CommandBuffer, p_begin_info: *const CommandBufferBeginInfo) -> Result
end_command_buffer: extern "system" fn(command_buffer: CommandBuffer) -> Result
reset_command_buffer: extern "system" fn(command_buffer: CommandBuffer, flags: CommandBufferResetFlags) -> Result
cmd_bind_pipeline: extern "system" fn(command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline) -> c_void
cmd_set_viewport: extern "system" fn(command_buffer: CommandBuffer, first_viewport: u32, viewport_count: u32, p_viewports: *const Viewport) -> c_void
cmd_set_scissor: extern "system" fn(command_buffer: CommandBuffer, first_scissor: u32, scissor_count: u32, p_scissors: *const Rect2D) -> c_void
cmd_set_line_width: extern "system" fn(command_buffer: CommandBuffer, line_width: f32) -> c_void
cmd_set_depth_bias: extern "system" fn(command_buffer: CommandBuffer, depth_bias_constant_factor: f32, depth_bias_clamp: f32, depth_bias_slope_factor: f32) -> c_void
cmd_set_blend_constants: extern "system" fn(command_buffer: CommandBuffer, blend_constants: &[f32; 4]) -> c_void
cmd_set_depth_bounds: extern "system" fn(command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32) -> c_void
cmd_set_stencil_compare_mask: extern "system" fn(command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32) -> c_void
cmd_set_stencil_write_mask: extern "system" fn(command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32) -> c_void
cmd_set_stencil_reference: extern "system" fn(command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32) -> c_void
cmd_bind_descriptor_sets: extern "system" fn(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) -> c_void
cmd_bind_index_buffer: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, index_type: IndexType) -> c_void
cmd_bind_vertex_buffers: extern "system" fn(command_buffer: CommandBuffer, first_binding: u32, binding_count: u32, p_buffers: *const Buffer, p_offsets: *const DeviceSize) -> c_void
cmd_draw: extern "system" fn(command_buffer: CommandBuffer, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32) -> c_void
cmd_draw_indexed: extern "system" fn(command_buffer: CommandBuffer, index_count: u32, instance_count: u32, first_index: u32, vertex_offset: i32, first_instance: u32) -> c_void
cmd_draw_indirect: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32) -> c_void
cmd_draw_indexed_indirect: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32) -> c_void
cmd_dispatch: extern "system" fn(command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32) -> c_void
cmd_dispatch_indirect: extern "system" fn(command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize) -> c_void
cmd_copy_buffer: extern "system" fn(command_buffer: CommandBuffer, src_buffer: Buffer, dst_buffer: Buffer, region_count: u32, p_regions: *const BufferCopy) -> c_void
cmd_copy_image: extern "system" fn(command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, region_count: u32, p_regions: *const ImageCopy) -> c_void
cmd_blit_image: extern "system" fn(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) -> c_void
cmd_copy_buffer_to_image: extern "system" fn(command_buffer: CommandBuffer, src_buffer: Buffer, dst_image: Image, dst_image_layout: ImageLayout, region_count: u32, p_regions: *const BufferImageCopy) -> c_void
cmd_copy_image_to_buffer: extern "system" fn(command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_buffer: Buffer, region_count: u32, p_regions: *const BufferImageCopy) -> c_void
cmd_update_buffer: extern "system" fn(command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, data_size: DeviceSize, p_data: *const c_void) -> c_void
cmd_fill_buffer: extern "system" fn(command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, size: DeviceSize, data: u32) -> c_void
cmd_clear_color_image: extern "system" fn(command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, p_color: *const ClearColorValue, range_count: u32, p_ranges: *const ImageSubresourceRange) -> c_void
cmd_clear_depth_stencil_image: extern "system" fn(command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, p_depth_stencil: *const ClearDepthStencilValue, range_count: u32, p_ranges: *const ImageSubresourceRange) -> c_void
cmd_clear_attachments: extern "system" fn(command_buffer: CommandBuffer, attachment_count: u32, p_attachments: *const ClearAttachment, rect_count: u32, p_rects: *const ClearRect) -> c_void
cmd_resolve_image: extern "system" fn(command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, region_count: u32, p_regions: *const ImageResolve) -> c_void
cmd_set_event: extern "system" fn(command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags) -> c_void
cmd_reset_event: extern "system" fn(command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags) -> c_void
cmd_wait_events: extern "system" fn(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) -> c_void
cmd_pipeline_barrier: extern "system" fn(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) -> c_void
cmd_begin_query: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags) -> c_void
cmd_end_query: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, query: u32) -> c_void
cmd_reset_query_pool: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32) -> c_void
cmd_write_timestamp: extern "system" fn(command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlags, query_pool: QueryPool, query: u32) -> c_void
cmd_copy_query_pool_results: extern "system" fn(command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, dst_buffer: Buffer, dst_offset: DeviceSize, stride: DeviceSize, flags: QueryResultFlags) -> c_void
cmd_push_constants: extern "system" fn(command_buffer: CommandBuffer, layout: PipelineLayout, stage_flags: ShaderStageFlags, offset: u32, size: u32, p_values: *const c_void) -> c_void
cmd_begin_render_pass: extern "system" fn(command_buffer: CommandBuffer, p_render_pass_begin: *const RenderPassBeginInfo, contents: SubpassContents) -> c_void
cmd_next_subpass: extern "system" fn(command_buffer: CommandBuffer, contents: SubpassContents) -> c_void
cmd_end_render_pass: extern "system" fn(command_buffer: CommandBuffer) -> c_void
cmd_execute_commands: extern "system" fn(command_buffer: CommandBuffer, command_buffer_count: u32, p_command_buffers: *const CommandBuffer) -> c_void
Implementations
pub unsafe fn destroy_device(
&self,
device: Device,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_device(
&self,
device: Device,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub 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
pub unsafe fn free_memory(
&self,
device: Device,
memory: DeviceMemory,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn free_memory(
&self,
device: Device,
memory: DeviceMemory,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub 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
pub 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
pub unsafe fn get_device_memory_commitment(
&self,
device: Device,
memory: DeviceMemory,
p_committed_memory_in_bytes: *mut DeviceSize
) -> c_void
pub unsafe fn get_device_memory_commitment(
&self,
device: Device,
memory: DeviceMemory,
p_committed_memory_in_bytes: *mut DeviceSize
) -> c_void
pub 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
pub 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
pub unsafe fn get_buffer_memory_requirements(
&self,
device: Device,
buffer: Buffer,
p_memory_requirements: *mut MemoryRequirements
) -> c_void
pub unsafe fn get_buffer_memory_requirements(
&self,
device: Device,
buffer: Buffer,
p_memory_requirements: *mut MemoryRequirements
) -> c_void
pub unsafe fn get_image_memory_requirements(
&self,
device: Device,
image: Image,
p_memory_requirements: *mut MemoryRequirements
) -> c_void
pub unsafe fn get_image_memory_requirements(
&self,
device: Device,
image: Image,
p_memory_requirements: *mut MemoryRequirements
) -> c_void
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
) -> c_void
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
) -> c_void
pub 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
pub 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
pub unsafe fn destroy_fence(
&self,
device: Device,
fence: Fence,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_fence(
&self,
device: Device,
fence: Fence,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_semaphore(
&self,
device: Device,
semaphore: Semaphore,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_semaphore(
&self,
device: Device,
semaphore: Semaphore,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_event(
&self,
device: Device,
event: Event,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_event(
&self,
device: Device,
event: Event,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_query_pool(
&self,
device: Device,
query_pool: QueryPool,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_query_pool(
&self,
device: Device,
query_pool: QueryPool,
p_allocator: *const AllocationCallbacks
) -> c_void
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
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
pub 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
pub unsafe fn destroy_buffer(
&self,
device: Device,
buffer: Buffer,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_buffer(
&self,
device: Device,
buffer: Buffer,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_buffer_view(
&self,
device: Device,
buffer_view: BufferView,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_buffer_view(
&self,
device: Device,
buffer_view: BufferView,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_image(
&self,
device: Device,
image: Image,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_image(
&self,
device: Device,
image: Image,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn get_image_subresource_layout(
&self,
device: Device,
image: Image,
p_subresource: *const ImageSubresource,
p_layout: *mut SubresourceLayout
) -> c_void
pub unsafe fn get_image_subresource_layout(
&self,
device: Device,
image: Image,
p_subresource: *const ImageSubresource,
p_layout: *mut SubresourceLayout
) -> c_void
pub 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
pub unsafe fn destroy_image_view(
&self,
device: Device,
image_view: ImageView,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_image_view(
&self,
device: Device,
image_view: ImageView,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_shader_module(
&self,
device: Device,
shader_module: ShaderModule,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_shader_module(
&self,
device: Device,
shader_module: ShaderModule,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_pipeline_cache(
&self,
device: Device,
pipeline_cache: PipelineCache,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_pipeline_cache(
&self,
device: Device,
pipeline_cache: PipelineCache,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub 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
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
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
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
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
pub unsafe fn destroy_pipeline(
&self,
device: Device,
pipeline: Pipeline,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_pipeline(
&self,
device: Device,
pipeline: Pipeline,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_pipeline_layout(
&self,
device: Device,
pipeline_layout: PipelineLayout,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_pipeline_layout(
&self,
device: Device,
pipeline_layout: PipelineLayout,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_sampler(
&self,
device: Device,
sampler: Sampler,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_sampler(
&self,
device: Device,
sampler: Sampler,
p_allocator: *const AllocationCallbacks
) -> c_void
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
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
pub unsafe fn destroy_descriptor_set_layout(
&self,
device: Device,
descriptor_set_layout: DescriptorSetLayout,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_descriptor_set_layout(
&self,
device: Device,
descriptor_set_layout: DescriptorSetLayout,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_descriptor_pool(
&self,
device: Device,
descriptor_pool: DescriptorPool,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_descriptor_pool(
&self,
device: Device,
descriptor_pool: DescriptorPool,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub 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
pub 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
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
) -> c_void
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
) -> c_void
pub 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
pub unsafe fn destroy_framebuffer(
&self,
device: Device,
framebuffer: Framebuffer,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_framebuffer(
&self,
device: Device,
framebuffer: Framebuffer,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub unsafe fn destroy_render_pass(
&self,
device: Device,
render_pass: RenderPass,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_render_pass(
&self,
device: Device,
render_pass: RenderPass,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn get_render_area_granularity(
&self,
device: Device,
render_pass: RenderPass,
p_granularity: *mut Extent2D
) -> c_void
pub unsafe fn get_render_area_granularity(
&self,
device: Device,
render_pass: RenderPass,
p_granularity: *mut Extent2D
) -> c_void
pub 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
pub unsafe fn destroy_command_pool(
&self,
device: Device,
command_pool: CommandPool,
p_allocator: *const AllocationCallbacks
) -> c_void
pub unsafe fn destroy_command_pool(
&self,
device: Device,
command_pool: CommandPool,
p_allocator: *const AllocationCallbacks
) -> c_void
pub 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
pub 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
pub unsafe fn free_command_buffers(
&self,
device: Device,
command_pool: CommandPool,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
) -> c_void
pub unsafe fn free_command_buffers(
&self,
device: Device,
command_pool: CommandPool,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
) -> c_void
pub 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
pub 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
pub unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
) -> c_void
pub unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
) -> c_void
pub unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewport_count: u32,
p_viewports: *const Viewport
) -> c_void
pub unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewport_count: u32,
p_viewports: *const Viewport
) -> c_void
pub unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissor_count: u32,
p_scissors: *const Rect2D
) -> c_void
pub unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissor_count: u32,
p_scissors: *const Rect2D
) -> c_void
pub unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32
) -> c_void
pub unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32
) -> c_void
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
) -> c_void
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
) -> c_void
pub unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: &[f32; 4]
) -> c_void
pub unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: &[f32; 4]
) -> c_void
pub unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
) -> c_void
pub unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
) -> c_void
pub unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
) -> c_void
pub unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
) -> c_void
pub unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
) -> c_void
pub unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
) -> c_void
pub unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
) -> c_void
pub unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
) -> c_void
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
) -> c_void
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
) -> c_void
pub unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
) -> c_void
pub unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
pub unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
) -> c_void
pub unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
) -> c_void
pub unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
) -> c_void
pub unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
) -> c_void
pub unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
) -> c_void
pub unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
) -> c_void
pub unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
) -> c_void
pub unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
) -> c_void
pub unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
region_count: u32,
p_regions: *const BufferCopy
) -> c_void
pub unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
region_count: u32,
p_regions: *const BufferCopy
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> 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
) -> 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
) -> c_void
pub unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32
) -> c_void
pub unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
pub unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachment_count: u32,
p_attachments: *const ClearAttachment,
rect_count: u32,
p_rects: *const ClearRect
) -> c_void
pub unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachment_count: u32,
p_attachments: *const ClearAttachment,
rect_count: u32,
p_rects: *const ClearRect
) -> c_void
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
) -> c_void
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
) -> c_void
pub unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
) -> c_void
pub unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
) -> c_void
pub unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
) -> c_void
pub unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
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
) -> c_void
pub unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
) -> c_void
pub unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
) -> c_void
pub unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
) -> c_void
pub unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
) -> c_void
pub unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32
) -> c_void
pub unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32
) -> c_void
pub unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
) -> c_void
pub unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
) -> c_void
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
) -> c_void
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
) -> 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
) -> 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
) -> c_void
pub unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
p_render_pass_begin: *const RenderPassBeginInfo,
contents: SubpassContents
) -> c_void
pub unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
p_render_pass_begin: *const RenderPassBeginInfo,
contents: SubpassContents
) -> c_void
pub unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents
) -> c_void
pub unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents
) -> c_void
pub unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
) -> c_void
pub unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffer_count: u32,
p_command_buffers: *const CommandBuffer
) -> c_void
Trait Implementations
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more