Struct ash::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,
}
Expand description

Raw Vulkan 1 device-level function pointers

Fields§

§destroy_device: PFN_vkDestroyDevice§get_device_queue: PFN_vkGetDeviceQueue§queue_submit: PFN_vkQueueSubmit§queue_wait_idle: PFN_vkQueueWaitIdle§device_wait_idle: PFN_vkDeviceWaitIdle§allocate_memory: PFN_vkAllocateMemory§free_memory: PFN_vkFreeMemory§map_memory: PFN_vkMapMemory§unmap_memory: PFN_vkUnmapMemory§flush_mapped_memory_ranges: PFN_vkFlushMappedMemoryRanges§invalidate_mapped_memory_ranges: PFN_vkInvalidateMappedMemoryRanges§get_device_memory_commitment: PFN_vkGetDeviceMemoryCommitment§bind_buffer_memory: PFN_vkBindBufferMemory§bind_image_memory: PFN_vkBindImageMemory§get_buffer_memory_requirements: PFN_vkGetBufferMemoryRequirements§get_image_memory_requirements: PFN_vkGetImageMemoryRequirements§get_image_sparse_memory_requirements: PFN_vkGetImageSparseMemoryRequirements§queue_bind_sparse: PFN_vkQueueBindSparse§create_fence: PFN_vkCreateFence§destroy_fence: PFN_vkDestroyFence§reset_fences: PFN_vkResetFences§get_fence_status: PFN_vkGetFenceStatus§wait_for_fences: PFN_vkWaitForFences§create_semaphore: PFN_vkCreateSemaphore§destroy_semaphore: PFN_vkDestroySemaphore§create_event: PFN_vkCreateEvent§destroy_event: PFN_vkDestroyEvent§get_event_status: PFN_vkGetEventStatus§set_event: PFN_vkSetEvent§reset_event: PFN_vkResetEvent§create_query_pool: PFN_vkCreateQueryPool§destroy_query_pool: PFN_vkDestroyQueryPool§get_query_pool_results: PFN_vkGetQueryPoolResults§create_buffer: PFN_vkCreateBuffer§destroy_buffer: PFN_vkDestroyBuffer§create_buffer_view: PFN_vkCreateBufferView§destroy_buffer_view: PFN_vkDestroyBufferView§create_image: PFN_vkCreateImage§destroy_image: PFN_vkDestroyImage§get_image_subresource_layout: PFN_vkGetImageSubresourceLayout§create_image_view: PFN_vkCreateImageView§destroy_image_view: PFN_vkDestroyImageView§create_shader_module: PFN_vkCreateShaderModule§destroy_shader_module: PFN_vkDestroyShaderModule§create_pipeline_cache: PFN_vkCreatePipelineCache§destroy_pipeline_cache: PFN_vkDestroyPipelineCache§get_pipeline_cache_data: PFN_vkGetPipelineCacheData§merge_pipeline_caches: PFN_vkMergePipelineCaches§create_graphics_pipelines: PFN_vkCreateGraphicsPipelines§create_compute_pipelines: PFN_vkCreateComputePipelines§destroy_pipeline: PFN_vkDestroyPipeline§create_pipeline_layout: PFN_vkCreatePipelineLayout§destroy_pipeline_layout: PFN_vkDestroyPipelineLayout§create_sampler: PFN_vkCreateSampler§destroy_sampler: PFN_vkDestroySampler§create_descriptor_set_layout: PFN_vkCreateDescriptorSetLayout§destroy_descriptor_set_layout: PFN_vkDestroyDescriptorSetLayout§create_descriptor_pool: PFN_vkCreateDescriptorPool§destroy_descriptor_pool: PFN_vkDestroyDescriptorPool§reset_descriptor_pool: PFN_vkResetDescriptorPool§allocate_descriptor_sets: PFN_vkAllocateDescriptorSets§free_descriptor_sets: PFN_vkFreeDescriptorSets§update_descriptor_sets: PFN_vkUpdateDescriptorSets§create_framebuffer: PFN_vkCreateFramebuffer§destroy_framebuffer: PFN_vkDestroyFramebuffer§create_render_pass: PFN_vkCreateRenderPass§destroy_render_pass: PFN_vkDestroyRenderPass§get_render_area_granularity: PFN_vkGetRenderAreaGranularity§create_command_pool: PFN_vkCreateCommandPool§destroy_command_pool: PFN_vkDestroyCommandPool§reset_command_pool: PFN_vkResetCommandPool§allocate_command_buffers: PFN_vkAllocateCommandBuffers§free_command_buffers: PFN_vkFreeCommandBuffers§begin_command_buffer: PFN_vkBeginCommandBuffer§end_command_buffer: PFN_vkEndCommandBuffer§reset_command_buffer: PFN_vkResetCommandBuffer§cmd_bind_pipeline: PFN_vkCmdBindPipeline§cmd_set_viewport: PFN_vkCmdSetViewport§cmd_set_scissor: PFN_vkCmdSetScissor§cmd_set_line_width: PFN_vkCmdSetLineWidth§cmd_set_depth_bias: PFN_vkCmdSetDepthBias§cmd_set_blend_constants: PFN_vkCmdSetBlendConstants§cmd_set_depth_bounds: PFN_vkCmdSetDepthBounds§cmd_set_stencil_compare_mask: PFN_vkCmdSetStencilCompareMask§cmd_set_stencil_write_mask: PFN_vkCmdSetStencilWriteMask§cmd_set_stencil_reference: PFN_vkCmdSetStencilReference§cmd_bind_descriptor_sets: PFN_vkCmdBindDescriptorSets§cmd_bind_index_buffer: PFN_vkCmdBindIndexBuffer§cmd_bind_vertex_buffers: PFN_vkCmdBindVertexBuffers§cmd_draw: PFN_vkCmdDraw§cmd_draw_indexed: PFN_vkCmdDrawIndexed§cmd_draw_indirect: PFN_vkCmdDrawIndirect§cmd_draw_indexed_indirect: PFN_vkCmdDrawIndexedIndirect§cmd_dispatch: PFN_vkCmdDispatch§cmd_dispatch_indirect: PFN_vkCmdDispatchIndirect§cmd_copy_buffer: PFN_vkCmdCopyBuffer§cmd_copy_image: PFN_vkCmdCopyImage§cmd_blit_image: PFN_vkCmdBlitImage§cmd_copy_buffer_to_image: PFN_vkCmdCopyBufferToImage§cmd_copy_image_to_buffer: PFN_vkCmdCopyImageToBuffer§cmd_update_buffer: PFN_vkCmdUpdateBuffer§cmd_fill_buffer: PFN_vkCmdFillBuffer§cmd_clear_color_image: PFN_vkCmdClearColorImage§cmd_clear_depth_stencil_image: PFN_vkCmdClearDepthStencilImage§cmd_clear_attachments: PFN_vkCmdClearAttachments§cmd_resolve_image: PFN_vkCmdResolveImage§cmd_set_event: PFN_vkCmdSetEvent§cmd_reset_event: PFN_vkCmdResetEvent§cmd_wait_events: PFN_vkCmdWaitEvents§cmd_pipeline_barrier: PFN_vkCmdPipelineBarrier§cmd_begin_query: PFN_vkCmdBeginQuery§cmd_end_query: PFN_vkCmdEndQuery§cmd_reset_query_pool: PFN_vkCmdResetQueryPool§cmd_write_timestamp: PFN_vkCmdWriteTimestamp§cmd_copy_query_pool_results: PFN_vkCmdCopyQueryPoolResults§cmd_push_constants: PFN_vkCmdPushConstants§cmd_begin_render_pass: PFN_vkCmdBeginRenderPass§cmd_next_subpass: PFN_vkCmdNextSubpass§cmd_end_render_pass: PFN_vkCmdEndRenderPass§cmd_execute_commands: PFN_vkCmdExecuteCommands

Implementations§

source§

impl DeviceFnV1_0

source

pub fn load<F: FnMut(&CStr) -> *const c_void>(f: F) -> Self

Trait Implementations§

source§

impl Clone for DeviceFnV1_0

source§

fn clone(&self) -> DeviceFnV1_0

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Send for DeviceFnV1_0

source§

impl Sync for DeviceFnV1_0

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.