pub struct Device { /* private fields */ }Expand description
A Vulkan device.
Implementations§
Source§impl Device
impl Device
Sourcepub unsafe fn from_created(
entry: &Entry,
physical_device: PhysicalDevice,
info: &DeviceCreateInfo,
device: Device,
) -> VkResult<Self>
pub unsafe fn from_created( entry: &Entry, physical_device: PhysicalDevice, info: &DeviceCreateInfo, device: Device, ) -> VkResult<Self>
Loads a Vulkan device from a previously created vk::Device.
Sourcepub fn physical_device(&self) -> PhysicalDevice
pub fn physical_device(&self) -> PhysicalDevice
Gets the physical device for this Vulkan device.
Sourcepub fn extensions(&self) -> &BTreeSet<ExtensionName>
pub fn extensions(&self) -> &BTreeSet<ExtensionName>
Gets the loaded extensions for this Vulkan device.
Sourcepub fn layers(&self) -> &BTreeSet<ExtensionName>
pub fn layers(&self) -> &BTreeSet<ExtensionName>
Gets the loaded layers for this Vulkan device.
Trait Implementations§
Source§impl DeviceV1_0 for Device
impl DeviceV1_0 for Device
fn commands(&self) -> &DeviceCommands
fn handle(&self) -> Device
Source§unsafe fn allocate_command_buffers(
&self,
allocate_info: &CommandBufferAllocateInfo,
) -> VkResult<Vec<CommandBuffer>>
unsafe fn allocate_command_buffers( &self, allocate_info: &CommandBufferAllocateInfo, ) -> VkResult<Vec<CommandBuffer>>
Source§unsafe fn allocate_descriptor_sets(
&self,
allocate_info: &DescriptorSetAllocateInfo,
) -> VkResult<Vec<DescriptorSet>>
unsafe fn allocate_descriptor_sets( &self, allocate_info: &DescriptorSetAllocateInfo, ) -> VkResult<Vec<DescriptorSet>>
Source§unsafe fn allocate_memory(
&self,
allocate_info: &MemoryAllocateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<DeviceMemory>
unsafe fn allocate_memory( &self, allocate_info: &MemoryAllocateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<DeviceMemory>
Source§unsafe fn begin_command_buffer(
&self,
command_buffer: CommandBuffer,
begin_info: &CommandBufferBeginInfo,
) -> VkResult<()>
unsafe fn begin_command_buffer( &self, command_buffer: CommandBuffer, begin_info: &CommandBufferBeginInfo, ) -> VkResult<()>
Source§unsafe fn bind_buffer_memory(
&self,
buffer: Buffer,
memory: DeviceMemory,
memory_offset: DeviceSize,
) -> VkResult<()>
unsafe fn bind_buffer_memory( &self, buffer: Buffer, memory: DeviceMemory, memory_offset: DeviceSize, ) -> VkResult<()>
Source§unsafe fn bind_image_memory(
&self,
image: Image,
memory: DeviceMemory,
memory_offset: DeviceSize,
) -> VkResult<()>
unsafe fn bind_image_memory( &self, image: Image, memory: DeviceMemory, memory_offset: DeviceSize, ) -> VkResult<()>
Source§unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags,
)
unsafe fn cmd_begin_query( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, flags: QueryControlFlags, )
Source§unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
render_pass_begin: &RenderPassBeginInfo,
contents: SubpassContents,
)
unsafe fn cmd_begin_render_pass( &self, command_buffer: CommandBuffer, render_pass_begin: &RenderPassBeginInfo, contents: SubpassContents, )
Source§unsafe fn cmd_bind_descriptor_sets(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
first_set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32],
)
unsafe fn cmd_bind_descriptor_sets( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, layout: PipelineLayout, first_set: u32, descriptor_sets: &[DescriptorSet], dynamic_offsets: &[u32], )
Source§unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType,
)
unsafe fn cmd_bind_index_buffer( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, index_type: IndexType, )
Source§unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline,
)
unsafe fn cmd_bind_pipeline( &self, command_buffer: CommandBuffer, pipeline_bind_point: PipelineBindPoint, pipeline: Pipeline, )
Source§unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize],
)
unsafe fn cmd_bind_vertex_buffers( &self, command_buffer: CommandBuffer, first_binding: u32, buffers: &[Buffer], offsets: &[DeviceSize], )
Source§unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageBlit>],
filter: Filter,
)
unsafe fn cmd_blit_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[impl Cast<Target = ImageBlit>], filter: Filter, )
Source§unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachments: &[impl Cast<Target = ClearAttachment>],
rects: &[impl Cast<Target = ClearRect>],
)
unsafe fn cmd_clear_attachments( &self, command_buffer: CommandBuffer, attachments: &[impl Cast<Target = ClearAttachment>], rects: &[impl Cast<Target = ClearRect>], )
Source§unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
color: &ClearColorValue,
ranges: &[impl Cast<Target = ImageSubresourceRange>],
)
unsafe fn cmd_clear_color_image( &self, command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, color: &ClearColorValue, ranges: &[impl Cast<Target = ImageSubresourceRange>], )
Source§unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
depth_stencil: &ClearDepthStencilValue,
ranges: &[impl Cast<Target = ImageSubresourceRange>],
)
unsafe fn cmd_clear_depth_stencil_image( &self, command_buffer: CommandBuffer, image: Image, image_layout: ImageLayout, depth_stencil: &ClearDepthStencilValue, ranges: &[impl Cast<Target = ImageSubresourceRange>], )
Source§unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
regions: &[impl Cast<Target = BufferCopy>],
)
unsafe fn cmd_copy_buffer( &self, command_buffer: CommandBuffer, src_buffer: Buffer, dst_buffer: Buffer, regions: &[impl Cast<Target = BufferCopy>], )
Source§unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = BufferImageCopy>],
)
unsafe fn cmd_copy_buffer_to_image( &self, command_buffer: CommandBuffer, src_buffer: Buffer, dst_image: Image, dst_image_layout: ImageLayout, regions: &[impl Cast<Target = BufferImageCopy>], )
Source§unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageCopy>],
)
unsafe fn cmd_copy_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[impl Cast<Target = ImageCopy>], )
Source§unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
regions: &[impl Cast<Target = BufferImageCopy>],
)
unsafe fn cmd_copy_image_to_buffer( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_buffer: Buffer, regions: &[impl Cast<Target = BufferImageCopy>], )
Source§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,
)
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, )
Source§unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32,
)
unsafe fn cmd_dispatch( &self, command_buffer: CommandBuffer, group_count_x: u32, group_count_y: u32, group_count_z: u32, )
Source§unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
)
unsafe fn cmd_dispatch_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, )
Source§unsafe fn cmd_draw(
&self,
command_buffer: CommandBuffer,
vertex_count: u32,
instance_count: u32,
first_vertex: u32,
first_instance: u32,
)
unsafe fn cmd_draw( &self, command_buffer: CommandBuffer, vertex_count: u32, instance_count: u32, first_vertex: u32, first_instance: u32, )
Source§unsafe fn cmd_draw_indexed(
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32,
)
unsafe fn cmd_draw_indexed( &self, command_buffer: CommandBuffer, index_count: u32, instance_count: u32, first_index: u32, vertex_offset: i32, first_instance: u32, )
Source§unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32,
)
unsafe fn cmd_draw_indexed_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, )
Source§unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32,
)
unsafe fn cmd_draw_indirect( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, draw_count: u32, stride: u32, )
Source§unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
)
unsafe fn cmd_end_query( &self, command_buffer: CommandBuffer, query_pool: QueryPool, query: u32, )
Source§unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
Source§unsafe fn cmd_execute_commands(
&self,
command_buffer: CommandBuffer,
command_buffers: &[CommandBuffer],
)
unsafe fn cmd_execute_commands( &self, command_buffer: CommandBuffer, command_buffers: &[CommandBuffer], )
Source§unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
size: DeviceSize,
data: u32,
)
unsafe fn cmd_fill_buffer( &self, command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, size: DeviceSize, data: u32, )
Source§unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents,
)
unsafe fn cmd_next_subpass( &self, command_buffer: CommandBuffer, contents: SubpassContents, )
Source§unsafe fn cmd_pipeline_barrier(
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barriers: &[impl Cast<Target = MemoryBarrier>],
buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>],
image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>],
)
unsafe fn cmd_pipeline_barrier( &self, command_buffer: CommandBuffer, src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags, dependency_flags: DependencyFlags, memory_barriers: &[impl Cast<Target = MemoryBarrier>], buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>], image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>], )
Source§unsafe fn cmd_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
values: &[u8],
)
unsafe fn cmd_push_constants( &self, command_buffer: CommandBuffer, layout: PipelineLayout, stage_flags: ShaderStageFlags, offset: u32, values: &[u8], )
Source§unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags,
)
unsafe fn cmd_reset_event( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, )
Source§unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
)
unsafe fn cmd_reset_query_pool( &self, command_buffer: CommandBuffer, query_pool: QueryPool, first_query: u32, query_count: u32, )
Source§unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[impl Cast<Target = ImageResolve>],
)
unsafe fn cmd_resolve_image( &self, command_buffer: CommandBuffer, src_image: Image, src_image_layout: ImageLayout, dst_image: Image, dst_image_layout: ImageLayout, regions: &[impl Cast<Target = ImageResolve>], )
Source§unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: [f32; 4],
)
unsafe fn cmd_set_blend_constants( &self, command_buffer: CommandBuffer, blend_constants: [f32; 4], )
Source§unsafe fn cmd_set_depth_bias(
&self,
command_buffer: CommandBuffer,
depth_bias_constant_factor: f32,
depth_bias_clamp: f32,
depth_bias_slope_factor: f32,
)
unsafe fn cmd_set_depth_bias( &self, command_buffer: CommandBuffer, depth_bias_constant_factor: f32, depth_bias_clamp: f32, depth_bias_slope_factor: f32, )
Source§unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32,
)
unsafe fn cmd_set_depth_bounds( &self, command_buffer: CommandBuffer, min_depth_bounds: f32, max_depth_bounds: f32, )
Source§unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags,
)
unsafe fn cmd_set_event( &self, command_buffer: CommandBuffer, event: Event, stage_mask: PipelineStageFlags, )
Source§unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32,
)
unsafe fn cmd_set_line_width( &self, command_buffer: CommandBuffer, line_width: f32, )
Source§unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissors: &[impl Cast<Target = Rect2D>],
)
unsafe fn cmd_set_scissor( &self, command_buffer: CommandBuffer, first_scissor: u32, scissors: &[impl Cast<Target = Rect2D>], )
Source§unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32,
)
unsafe fn cmd_set_stencil_compare_mask( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, compare_mask: u32, )
Source§unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32,
)
unsafe fn cmd_set_stencil_reference( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, reference: u32, )
Source§unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32,
)
unsafe fn cmd_set_stencil_write_mask( &self, command_buffer: CommandBuffer, face_mask: StencilFaceFlags, write_mask: u32, )
Source§unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewports: &[impl Cast<Target = Viewport>],
)
unsafe fn cmd_set_viewport( &self, command_buffer: CommandBuffer, first_viewport: u32, viewports: &[impl Cast<Target = Viewport>], )
Source§unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
dst_buffer: Buffer,
dst_offset: DeviceSize,
data: &[u8],
)
unsafe fn cmd_update_buffer( &self, command_buffer: CommandBuffer, dst_buffer: Buffer, dst_offset: DeviceSize, data: &[u8], )
Source§unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
events: &[Event],
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barriers: &[impl Cast<Target = MemoryBarrier>],
buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>],
image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>],
)
unsafe fn cmd_wait_events( &self, command_buffer: CommandBuffer, events: &[Event], src_stage_mask: PipelineStageFlags, dst_stage_mask: PipelineStageFlags, memory_barriers: &[impl Cast<Target = MemoryBarrier>], buffer_memory_barriers: &[impl Cast<Target = BufferMemoryBarrier>], image_memory_barriers: &[impl Cast<Target = ImageMemoryBarrier>], )
Source§unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32,
)
unsafe fn cmd_write_timestamp( &self, command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlags, query_pool: QueryPool, query: u32, )
Source§unsafe fn create_buffer(
&self,
create_info: &BufferCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Buffer>
unsafe fn create_buffer( &self, create_info: &BufferCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Buffer>
Source§unsafe fn create_buffer_view(
&self,
create_info: &BufferViewCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<BufferView>
unsafe fn create_buffer_view( &self, create_info: &BufferViewCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<BufferView>
Source§unsafe fn create_command_pool(
&self,
create_info: &CommandPoolCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<CommandPool>
unsafe fn create_command_pool( &self, create_info: &CommandPoolCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<CommandPool>
Source§unsafe fn create_compute_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = ComputePipelineCreateInfo>],
allocator: Option<&AllocationCallbacks>,
) -> VkSuccessResult<Vec<Pipeline>>
unsafe fn create_compute_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[impl Cast<Target = ComputePipelineCreateInfo>], allocator: Option<&AllocationCallbacks>, ) -> VkSuccessResult<Vec<Pipeline>>
Source§unsafe fn create_descriptor_pool(
&self,
create_info: &DescriptorPoolCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<DescriptorPool>
unsafe fn create_descriptor_pool( &self, create_info: &DescriptorPoolCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<DescriptorPool>
Source§unsafe fn create_descriptor_set_layout(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<DescriptorSetLayout>
unsafe fn create_descriptor_set_layout( &self, create_info: &DescriptorSetLayoutCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<DescriptorSetLayout>
Source§unsafe fn create_event(
&self,
create_info: &EventCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Event>
unsafe fn create_event( &self, create_info: &EventCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Event>
Source§unsafe fn create_fence(
&self,
create_info: &FenceCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Fence>
unsafe fn create_fence( &self, create_info: &FenceCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Fence>
Source§unsafe fn create_framebuffer(
&self,
create_info: &FramebufferCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Framebuffer>
unsafe fn create_framebuffer( &self, create_info: &FramebufferCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Framebuffer>
Source§unsafe fn create_graphics_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = GraphicsPipelineCreateInfo>],
allocator: Option<&AllocationCallbacks>,
) -> VkSuccessResult<Vec<Pipeline>>
unsafe fn create_graphics_pipelines( &self, pipeline_cache: PipelineCache, create_infos: &[impl Cast<Target = GraphicsPipelineCreateInfo>], allocator: Option<&AllocationCallbacks>, ) -> VkSuccessResult<Vec<Pipeline>>
Source§unsafe fn create_image(
&self,
create_info: &ImageCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Image>
unsafe fn create_image( &self, create_info: &ImageCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Image>
Source§unsafe fn create_image_view(
&self,
create_info: &ImageViewCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<ImageView>
unsafe fn create_image_view( &self, create_info: &ImageViewCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<ImageView>
Source§unsafe fn create_pipeline_cache(
&self,
create_info: &PipelineCacheCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<PipelineCache>
unsafe fn create_pipeline_cache( &self, create_info: &PipelineCacheCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<PipelineCache>
Source§unsafe fn create_pipeline_layout(
&self,
create_info: &PipelineLayoutCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<PipelineLayout>
unsafe fn create_pipeline_layout( &self, create_info: &PipelineLayoutCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<PipelineLayout>
Source§unsafe fn create_query_pool(
&self,
create_info: &QueryPoolCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<QueryPool>
unsafe fn create_query_pool( &self, create_info: &QueryPoolCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<QueryPool>
Source§unsafe fn create_render_pass(
&self,
create_info: &RenderPassCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<RenderPass>
unsafe fn create_render_pass( &self, create_info: &RenderPassCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<RenderPass>
Source§unsafe fn create_sampler(
&self,
create_info: &SamplerCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Sampler>
unsafe fn create_sampler( &self, create_info: &SamplerCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Sampler>
Source§unsafe fn create_semaphore(
&self,
create_info: &SemaphoreCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<Semaphore>
unsafe fn create_semaphore( &self, create_info: &SemaphoreCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<Semaphore>
Source§unsafe fn create_shader_module(
&self,
create_info: &ShaderModuleCreateInfo,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<ShaderModule>
unsafe fn create_shader_module( &self, create_info: &ShaderModuleCreateInfo, allocator: Option<&AllocationCallbacks>, ) -> VkResult<ShaderModule>
Source§unsafe fn destroy_buffer(
&self,
buffer: Buffer,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_buffer( &self, buffer: Buffer, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_buffer_view(
&self,
buffer_view: BufferView,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_buffer_view( &self, buffer_view: BufferView, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_command_pool(
&self,
command_pool: CommandPool,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_command_pool( &self, command_pool: CommandPool, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_descriptor_pool(
&self,
descriptor_pool: DescriptorPool,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_descriptor_pool( &self, descriptor_pool: DescriptorPool, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_descriptor_set_layout(
&self,
descriptor_set_layout: DescriptorSetLayout,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_descriptor_set_layout( &self, descriptor_set_layout: DescriptorSetLayout, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_device(&self, allocator: Option<&AllocationCallbacks>)
unsafe fn destroy_device(&self, allocator: Option<&AllocationCallbacks>)
Source§unsafe fn destroy_event(
&self,
event: Event,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_event( &self, event: Event, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_fence(
&self,
fence: Fence,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_fence( &self, fence: Fence, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_framebuffer(
&self,
framebuffer: Framebuffer,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_framebuffer( &self, framebuffer: Framebuffer, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_image(
&self,
image: Image,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_image( &self, image: Image, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_image_view(
&self,
image_view: ImageView,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_image_view( &self, image_view: ImageView, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_pipeline(
&self,
pipeline: Pipeline,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_pipeline( &self, pipeline: Pipeline, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_pipeline_cache(
&self,
pipeline_cache: PipelineCache,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_pipeline_cache( &self, pipeline_cache: PipelineCache, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_pipeline_layout(
&self,
pipeline_layout: PipelineLayout,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_pipeline_layout( &self, pipeline_layout: PipelineLayout, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_query_pool(
&self,
query_pool: QueryPool,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_query_pool( &self, query_pool: QueryPool, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_render_pass(
&self,
render_pass: RenderPass,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_render_pass( &self, render_pass: RenderPass, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_sampler(
&self,
sampler: Sampler,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_sampler( &self, sampler: Sampler, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_semaphore(
&self,
semaphore: Semaphore,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_semaphore( &self, semaphore: Semaphore, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_shader_module(
&self,
shader_module: ShaderModule,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_shader_module( &self, shader_module: ShaderModule, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn device_wait_idle(&self) -> VkResult<()>
unsafe fn device_wait_idle(&self) -> VkResult<()>
Source§unsafe fn end_command_buffer(
&self,
command_buffer: CommandBuffer,
) -> VkResult<()>
unsafe fn end_command_buffer( &self, command_buffer: CommandBuffer, ) -> VkResult<()>
Source§unsafe fn flush_mapped_memory_ranges(
&self,
memory_ranges: &[impl Cast<Target = MappedMemoryRange>],
) -> VkResult<()>
unsafe fn flush_mapped_memory_ranges( &self, memory_ranges: &[impl Cast<Target = MappedMemoryRange>], ) -> VkResult<()>
Source§unsafe fn free_command_buffers(
&self,
command_pool: CommandPool,
command_buffers: &[CommandBuffer],
)
unsafe fn free_command_buffers( &self, command_pool: CommandPool, command_buffers: &[CommandBuffer], )
Source§unsafe fn free_descriptor_sets(
&self,
descriptor_pool: DescriptorPool,
descriptor_sets: &[DescriptorSet],
) -> VkResult<()>
unsafe fn free_descriptor_sets( &self, descriptor_pool: DescriptorPool, descriptor_sets: &[DescriptorSet], ) -> VkResult<()>
Source§unsafe fn free_memory(
&self,
memory: DeviceMemory,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn free_memory( &self, memory: DeviceMemory, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn get_buffer_memory_requirements(
&self,
buffer: Buffer,
) -> MemoryRequirements
unsafe fn get_buffer_memory_requirements( &self, buffer: Buffer, ) -> MemoryRequirements
Source§unsafe fn get_device_memory_commitment(
&self,
memory: DeviceMemory,
) -> DeviceSize
unsafe fn get_device_memory_commitment( &self, memory: DeviceMemory, ) -> DeviceSize
Source§unsafe fn get_event_status(&self, event: Event) -> VkResult<SuccessCode>
unsafe fn get_event_status(&self, event: Event) -> VkResult<SuccessCode>
Source§unsafe fn get_fence_status(&self, fence: Fence) -> VkResult<SuccessCode>
unsafe fn get_fence_status(&self, fence: Fence) -> VkResult<SuccessCode>
Source§unsafe fn get_image_memory_requirements(
&self,
image: Image,
) -> MemoryRequirements
unsafe fn get_image_memory_requirements( &self, image: Image, ) -> MemoryRequirements
Source§unsafe fn get_image_sparse_memory_requirements(
&self,
image: Image,
) -> Vec<SparseImageMemoryRequirements>
unsafe fn get_image_sparse_memory_requirements( &self, image: Image, ) -> Vec<SparseImageMemoryRequirements>
Source§unsafe fn get_image_subresource_layout(
&self,
image: Image,
subresource: &ImageSubresource,
) -> SubresourceLayout
unsafe fn get_image_subresource_layout( &self, image: Image, subresource: &ImageSubresource, ) -> SubresourceLayout
Source§unsafe fn get_pipeline_cache_data(
&self,
pipeline_cache: PipelineCache,
) -> VkResult<Vec<u8>>
unsafe fn get_pipeline_cache_data( &self, pipeline_cache: PipelineCache, ) -> VkResult<Vec<u8>>
Source§unsafe fn get_query_pool_results(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data: &mut [u8],
stride: DeviceSize,
flags: QueryResultFlags,
) -> VkResult<SuccessCode>
unsafe fn get_query_pool_results( &self, query_pool: QueryPool, first_query: u32, query_count: u32, data: &mut [u8], stride: DeviceSize, flags: QueryResultFlags, ) -> VkResult<SuccessCode>
Source§unsafe fn get_render_area_granularity(
&self,
render_pass: RenderPass,
) -> Extent2D
unsafe fn get_render_area_granularity( &self, render_pass: RenderPass, ) -> Extent2D
Source§unsafe fn invalidate_mapped_memory_ranges(
&self,
memory_ranges: &[impl Cast<Target = MappedMemoryRange>],
) -> VkResult<()>
unsafe fn invalidate_mapped_memory_ranges( &self, memory_ranges: &[impl Cast<Target = MappedMemoryRange>], ) -> VkResult<()>
Source§unsafe fn map_memory(
&self,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags,
) -> VkResult<*mut c_void>
unsafe fn map_memory( &self, memory: DeviceMemory, offset: DeviceSize, size: DeviceSize, flags: MemoryMapFlags, ) -> VkResult<*mut c_void>
Source§unsafe fn merge_pipeline_caches(
&self,
dst_cache: PipelineCache,
src_caches: &[PipelineCache],
) -> VkResult<()>
unsafe fn merge_pipeline_caches( &self, dst_cache: PipelineCache, src_caches: &[PipelineCache], ) -> VkResult<()>
Source§unsafe fn queue_bind_sparse(
&self,
queue: Queue,
bind_info: &[impl Cast<Target = BindSparseInfo>],
fence: Fence,
) -> VkResult<()>
unsafe fn queue_bind_sparse( &self, queue: Queue, bind_info: &[impl Cast<Target = BindSparseInfo>], fence: Fence, ) -> VkResult<()>
Source§unsafe fn queue_submit(
&self,
queue: Queue,
submits: &[impl Cast<Target = SubmitInfo>],
fence: Fence,
) -> VkResult<()>
unsafe fn queue_submit( &self, queue: Queue, submits: &[impl Cast<Target = SubmitInfo>], fence: Fence, ) -> VkResult<()>
Source§unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags,
) -> VkResult<()>
unsafe fn reset_command_buffer( &self, command_buffer: CommandBuffer, flags: CommandBufferResetFlags, ) -> VkResult<()>
Source§unsafe fn reset_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolResetFlags,
) -> VkResult<()>
unsafe fn reset_command_pool( &self, command_pool: CommandPool, flags: CommandPoolResetFlags, ) -> VkResult<()>
Source§unsafe fn reset_descriptor_pool(
&self,
descriptor_pool: DescriptorPool,
flags: DescriptorPoolResetFlags,
) -> VkResult<()>
unsafe fn reset_descriptor_pool( &self, descriptor_pool: DescriptorPool, flags: DescriptorPoolResetFlags, ) -> VkResult<()>
Source§unsafe fn unmap_memory(&self, memory: DeviceMemory)
unsafe fn unmap_memory(&self, memory: DeviceMemory)
Source§unsafe fn update_descriptor_sets(
&self,
descriptor_writes: &[impl Cast<Target = WriteDescriptorSet>],
descriptor_copies: &[impl Cast<Target = CopyDescriptorSet>],
)
unsafe fn update_descriptor_sets( &self, descriptor_writes: &[impl Cast<Target = WriteDescriptorSet>], descriptor_copies: &[impl Cast<Target = CopyDescriptorSet>], )
Source§unsafe fn wait_for_fences(
&self,
fences: &[Fence],
wait_all: bool,
timeout: u64,
) -> VkResult<SuccessCode>
unsafe fn wait_for_fences( &self, fences: &[Fence], wait_all: bool, timeout: u64, ) -> VkResult<SuccessCode>
impl Send for Device
impl Sync for Device
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations§
Source§impl<C> AmdAntiLagExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AmdAntiLagExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§impl<C> AmdBufferMarkerExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AmdBufferMarkerExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn cmd_write_buffer_marker2_amd(
&self,
command_buffer: CommandBuffer,
stage: PipelineStageFlags2,
dst_buffer: Buffer,
dst_offset: DeviceSize,
marker: u32,
)
unsafe fn cmd_write_buffer_marker2_amd( &self, command_buffer: CommandBuffer, stage: PipelineStageFlags2, dst_buffer: Buffer, dst_offset: DeviceSize, marker: u32, )
Source§unsafe fn cmd_write_buffer_marker_amd(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
dst_buffer: Buffer,
dst_offset: DeviceSize,
marker: u32,
)
unsafe fn cmd_write_buffer_marker_amd( &self, command_buffer: CommandBuffer, pipeline_stage: PipelineStageFlags, dst_buffer: Buffer, dst_offset: DeviceSize, marker: u32, )
Source§impl<C> AmdDisplayNativeHdrExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AmdDisplayNativeHdrExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn set_local_dimming_amd(
&self,
swap_chain: SwapchainKHR,
local_dimming_enable: bool,
)
unsafe fn set_local_dimming_amd( &self, swap_chain: SwapchainKHR, local_dimming_enable: bool, )
Source§impl<C> AmdDrawIndirectCountExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AmdDrawIndirectCountExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn cmd_draw_indexed_indirect_count_amd(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32,
)
unsafe fn cmd_draw_indexed_indirect_count_amd( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, )
Source§unsafe fn cmd_draw_indirect_count_amd(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32,
)
unsafe fn cmd_draw_indirect_count_amd( &self, command_buffer: CommandBuffer, buffer: Buffer, offset: DeviceSize, count_buffer: Buffer, count_buffer_offset: DeviceSize, max_draw_count: u32, stride: u32, )
Source§impl<C> AmdShaderInfoExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AmdShaderInfoExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn get_shader_info_amd(
&self,
pipeline: Pipeline,
shader_stage: ShaderStageFlags,
info_type: ShaderInfoTypeAMD,
) -> VkResult<Vec<u8>>
unsafe fn get_shader_info_amd( &self, pipeline: Pipeline, shader_stage: ShaderStageFlags, info_type: ShaderInfoTypeAMD, ) -> VkResult<Vec<u8>>
Source§impl<C> AmdxShaderEnqueueExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AmdxShaderEnqueueExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn cmd_dispatch_graph_amdx(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
scratch_size: DeviceSize,
count_info: &DispatchGraphCountInfoAMDX,
)
unsafe fn cmd_dispatch_graph_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, scratch_size: DeviceSize, count_info: &DispatchGraphCountInfoAMDX, )
Source§unsafe fn cmd_dispatch_graph_indirect_amdx(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
scratch_size: DeviceSize,
count_info: &DispatchGraphCountInfoAMDX,
)
unsafe fn cmd_dispatch_graph_indirect_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, scratch_size: DeviceSize, count_info: &DispatchGraphCountInfoAMDX, )
Source§unsafe fn cmd_dispatch_graph_indirect_count_amdx(
&self,
command_buffer: CommandBuffer,
scratch: DeviceAddress,
scratch_size: DeviceSize,
count_info: DeviceAddress,
)
unsafe fn cmd_dispatch_graph_indirect_count_amdx( &self, command_buffer: CommandBuffer, scratch: DeviceAddress, scratch_size: DeviceSize, count_info: DeviceAddress, )
Source§unsafe fn cmd_initialize_graph_scratch_memory_amdx(
&self,
command_buffer: CommandBuffer,
execution_graph: Pipeline,
scratch: DeviceAddress,
scratch_size: DeviceSize,
)
unsafe fn cmd_initialize_graph_scratch_memory_amdx( &self, command_buffer: CommandBuffer, execution_graph: Pipeline, scratch: DeviceAddress, scratch_size: DeviceSize, )
Source§unsafe fn create_execution_graph_pipelines_amdx(
&self,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = ExecutionGraphPipelineCreateInfoAMDX>],
allocator: Option<&AllocationCallbacks>,
) -> VkSuccessResult<Vec<Pipeline>>
unsafe fn create_execution_graph_pipelines_amdx( &self, pipeline_cache: PipelineCache, create_infos: &[impl Cast<Target = ExecutionGraphPipelineCreateInfoAMDX>], allocator: Option<&AllocationCallbacks>, ) -> VkSuccessResult<Vec<Pipeline>>
Source§unsafe fn get_execution_graph_pipeline_node_index_amdx(
&self,
execution_graph: Pipeline,
node_info: &PipelineShaderStageNodeCreateInfoAMDX,
) -> VkResult<u32>
unsafe fn get_execution_graph_pipeline_node_index_amdx( &self, execution_graph: Pipeline, node_info: &PipelineShaderStageNodeCreateInfoAMDX, ) -> VkResult<u32>
Source§unsafe fn get_execution_graph_pipeline_scratch_size_amdx(
&self,
execution_graph: Pipeline,
size_info: &mut ExecutionGraphPipelineScratchSizeAMDX,
) -> VkResult<()>
unsafe fn get_execution_graph_pipeline_scratch_size_amdx( &self, execution_graph: Pipeline, size_info: &mut ExecutionGraphPipelineScratchSizeAMDX, ) -> VkResult<()>
Source§impl<C> AndroidExternalMemoryAndroidHardwareBufferExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> AndroidExternalMemoryAndroidHardwareBufferExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn get_android_hardware_buffer_properties_android(
&self,
buffer: *const AHardwareBuffer,
properties: &mut AndroidHardwareBufferPropertiesANDROID,
) -> VkResult<()>
unsafe fn get_android_hardware_buffer_properties_android( &self, buffer: *const AHardwareBuffer, properties: &mut AndroidHardwareBufferPropertiesANDROID, ) -> VkResult<()>
Source§impl<C> ArmDataGraphExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> ArmDataGraphExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn bind_data_graph_pipeline_session_memory_arm(
&self,
bind_infos: &[impl Cast<Target = BindDataGraphPipelineSessionMemoryInfoARM>],
) -> VkResult<()>
unsafe fn bind_data_graph_pipeline_session_memory_arm( &self, bind_infos: &[impl Cast<Target = BindDataGraphPipelineSessionMemoryInfoARM>], ) -> VkResult<()>
Source§unsafe fn cmd_dispatch_data_graph_arm(
&self,
command_buffer: CommandBuffer,
session: DataGraphPipelineSessionARM,
info: Option<&DataGraphPipelineDispatchInfoARM>,
)
unsafe fn cmd_dispatch_data_graph_arm( &self, command_buffer: CommandBuffer, session: DataGraphPipelineSessionARM, info: Option<&DataGraphPipelineDispatchInfoARM>, )
Source§unsafe fn create_data_graph_pipeline_session_arm(
&self,
create_info: &DataGraphPipelineSessionCreateInfoARM,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<DataGraphPipelineSessionARM>
unsafe fn create_data_graph_pipeline_session_arm( &self, create_info: &DataGraphPipelineSessionCreateInfoARM, allocator: Option<&AllocationCallbacks>, ) -> VkResult<DataGraphPipelineSessionARM>
Source§unsafe fn create_data_graph_pipelines_arm(
&self,
deferred_operation: DeferredOperationKHR,
pipeline_cache: PipelineCache,
create_infos: &[impl Cast<Target = DataGraphPipelineCreateInfoARM>],
allocator: Option<&AllocationCallbacks>,
) -> VkSuccessResult<Vec<Pipeline>>
unsafe fn create_data_graph_pipelines_arm( &self, deferred_operation: DeferredOperationKHR, pipeline_cache: PipelineCache, create_infos: &[impl Cast<Target = DataGraphPipelineCreateInfoARM>], allocator: Option<&AllocationCallbacks>, ) -> VkSuccessResult<Vec<Pipeline>>
Source§unsafe fn destroy_data_graph_pipeline_session_arm(
&self,
session: DataGraphPipelineSessionARM,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_data_graph_pipeline_session_arm( &self, session: DataGraphPipelineSessionARM, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn get_data_graph_pipeline_available_properties_arm(
&self,
pipeline_info: &DataGraphPipelineInfoARM,
) -> VkResult<Vec<DataGraphPipelinePropertyARM>>
unsafe fn get_data_graph_pipeline_available_properties_arm( &self, pipeline_info: &DataGraphPipelineInfoARM, ) -> VkResult<Vec<DataGraphPipelinePropertyARM>>
Source§unsafe fn get_data_graph_pipeline_properties_arm(
&self,
pipeline_info: &DataGraphPipelineInfoARM,
properties: &mut [impl Cast<Target = DataGraphPipelinePropertyQueryResultARM>],
) -> VkResult<()>
unsafe fn get_data_graph_pipeline_properties_arm( &self, pipeline_info: &DataGraphPipelineInfoARM, properties: &mut [impl Cast<Target = DataGraphPipelinePropertyQueryResultARM>], ) -> VkResult<()>
Source§unsafe fn get_data_graph_pipeline_session_bind_point_requirements_arm(
&self,
info: &DataGraphPipelineSessionBindPointRequirementsInfoARM,
) -> VkResult<Vec<DataGraphPipelineSessionBindPointRequirementARM>>
unsafe fn get_data_graph_pipeline_session_bind_point_requirements_arm( &self, info: &DataGraphPipelineSessionBindPointRequirementsInfoARM, ) -> VkResult<Vec<DataGraphPipelineSessionBindPointRequirementARM>>
Source§unsafe fn get_data_graph_pipeline_session_memory_requirements_arm(
&self,
info: &DataGraphPipelineSessionMemoryRequirementsInfoARM,
memory_requirements: &mut MemoryRequirements2,
)
unsafe fn get_data_graph_pipeline_session_memory_requirements_arm( &self, info: &DataGraphPipelineSessionMemoryRequirementsInfoARM, memory_requirements: &mut MemoryRequirements2, )
Source§impl<C> ArmTensorsExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
impl<C> ArmTensorsExtensionDeviceCommands for Cwhere
C: DeviceV1_0 + ?Sized,
Source§unsafe fn bind_tensor_memory_arm(
&self,
bind_infos: &[impl Cast<Target = BindTensorMemoryInfoARM>],
) -> VkResult<()>
unsafe fn bind_tensor_memory_arm( &self, bind_infos: &[impl Cast<Target = BindTensorMemoryInfoARM>], ) -> VkResult<()>
Source§unsafe fn cmd_copy_tensor_arm(
&self,
command_buffer: CommandBuffer,
copy_tensor_info: &CopyTensorInfoARM,
)
unsafe fn cmd_copy_tensor_arm( &self, command_buffer: CommandBuffer, copy_tensor_info: &CopyTensorInfoARM, )
Source§unsafe fn create_tensor_arm(
&self,
create_info: &TensorCreateInfoARM,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<TensorARM>
unsafe fn create_tensor_arm( &self, create_info: &TensorCreateInfoARM, allocator: Option<&AllocationCallbacks>, ) -> VkResult<TensorARM>
Source§unsafe fn create_tensor_view_arm(
&self,
create_info: &TensorViewCreateInfoARM,
allocator: Option<&AllocationCallbacks>,
) -> VkResult<TensorViewARM>
unsafe fn create_tensor_view_arm( &self, create_info: &TensorViewCreateInfoARM, allocator: Option<&AllocationCallbacks>, ) -> VkResult<TensorViewARM>
Source§unsafe fn destroy_tensor_arm(
&self,
tensor: TensorARM,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_tensor_arm( &self, tensor: TensorARM, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn destroy_tensor_view_arm(
&self,
tensor_view: TensorViewARM,
allocator: Option<&AllocationCallbacks>,
)
unsafe fn destroy_tensor_view_arm( &self, tensor_view: TensorViewARM, allocator: Option<&AllocationCallbacks>, )
Source§unsafe fn get_device_tensor_memory_requirements_arm(
&self,
info: &DeviceTensorMemoryRequirementsARM,
memory_requirements: &mut MemoryRequirements2,
)
unsafe fn get_device_tensor_memory_requirements_arm( &self, info: &DeviceTensorMemoryRequirementsARM, memory_requirements: &mut MemoryRequirements2, )
Source§unsafe fn get_tensor_memory_requirements_arm(
&self,
info: &TensorMemoryRequirementsInfoARM,
memory_requirements: &mut MemoryRequirements2,
)
unsafe fn get_tensor_memory_requirements_arm( &self, info: &TensorMemoryRequirementsInfoARM, memory_requirements: &mut MemoryRequirements2, )
Source§unsafe fn get_tensor_opaque_capture_descriptor_data_arm(
&self,
info: &TensorCaptureDescriptorDataInfoARM,
) -> VkResult<c_void>
unsafe fn get_tensor_opaque_capture_descriptor_data_arm( &self, info: &TensorCaptureDescriptorDataInfoARM, ) -> VkResult<c_void>
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more