[−][src]Struct ash::Device
Methods
impl Device
[src]
pub unsafe fn load(instance_fn: &InstanceFnV1_0, device: Device) -> Self
[src]
impl Device
[src]
Trait Implementations
impl Clone for Device
[src]
impl DeviceV1_0 for Device
[src]
fn handle(&self) -> Device
[src]
fn fp_v1_0(&self) -> &DeviceFnV1_0
[src]
unsafe fn destroy_device(
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_sampler(
&self,
sampler: Sampler,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
sampler: Sampler,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn free_memory(
&self,
memory: DeviceMemory,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
memory: DeviceMemory,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn free_command_buffers(
&self,
command_pool: CommandPool,
command_buffers: &[CommandBuffer]
)
[src]
&self,
command_pool: CommandPool,
command_buffers: &[CommandBuffer]
)
unsafe fn create_event(
&self,
create_info: &EventCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Event>
[src]
&self,
create_info: &EventCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Event>
unsafe fn get_event_status(&self, event: Event) -> VkResult<bool>
[src]
unsafe fn set_event(&self, event: Event) -> VkResult<()>
[src]
unsafe fn reset_event(&self, event: Event) -> VkResult<()>
[src]
unsafe fn cmd_set_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
[src]
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
unsafe fn cmd_reset_event(
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
[src]
&self,
command_buffer: CommandBuffer,
event: Event,
stage_mask: PipelineStageFlags
)
unsafe fn cmd_wait_events(
&self,
command_buffer: CommandBuffer,
events: &[Event],
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barriers: &[MemoryBarrier],
buffer_memory_barriers: &[BufferMemoryBarrier],
image_memory_barriers: &[ImageMemoryBarrier]
)
[src]
&self,
command_buffer: CommandBuffer,
events: &[Event],
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
memory_barriers: &[MemoryBarrier],
buffer_memory_barriers: &[BufferMemoryBarrier],
image_memory_barriers: &[ImageMemoryBarrier]
)
unsafe fn destroy_fence(
&self,
fence: Fence,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
fence: Fence,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_event(
&self,
event: Event,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
event: Event,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_image(
&self,
image: Image,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
image: Image,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_command_pool(
&self,
pool: CommandPool,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
pool: CommandPool,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_image_view(
&self,
image_view: ImageView,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
image_view: ImageView,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_render_pass(
&self,
renderpass: RenderPass,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
renderpass: RenderPass,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_framebuffer(
&self,
framebuffer: Framebuffer,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
framebuffer: Framebuffer,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline_layout(
&self,
pipeline_layout: PipelineLayout,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
pipeline_layout: PipelineLayout,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline_cache(
&self,
pipeline_cache: PipelineCache,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
pipeline_cache: PipelineCache,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_buffer(
&self,
buffer: Buffer,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
buffer: Buffer,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_shader_module(
&self,
shader: ShaderModule,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
shader: ShaderModule,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_pipeline(
&self,
pipeline: Pipeline,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
pipeline: Pipeline,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_semaphore(
&self,
semaphore: Semaphore,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
semaphore: Semaphore,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_pool(
&self,
pool: DescriptorPool,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
pool: DescriptorPool,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_query_pool(
&self,
pool: QueryPool,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
pool: QueryPool,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn destroy_descriptor_set_layout(
&self,
layout: DescriptorSetLayout,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
layout: DescriptorSetLayout,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn free_descriptor_sets(
&self,
pool: DescriptorPool,
descriptor_sets: &[DescriptorSet]
)
[src]
&self,
pool: DescriptorPool,
descriptor_sets: &[DescriptorSet]
)
unsafe fn update_descriptor_sets(
&self,
descriptor_writes: &[WriteDescriptorSet],
descriptor_copies: &[CopyDescriptorSet]
)
[src]
&self,
descriptor_writes: &[WriteDescriptorSet],
descriptor_copies: &[CopyDescriptorSet]
)
unsafe fn create_sampler(
&self,
create_info: &SamplerCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Sampler>
[src]
&self,
create_info: &SamplerCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Sampler>
unsafe fn cmd_blit_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageBlit],
filter: Filter
)
[src]
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageBlit],
filter: Filter
)
unsafe fn cmd_resolve_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageResolve]
)
[src]
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageResolve]
)
unsafe fn cmd_fill_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
size: DeviceSize,
data: u32
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
size: DeviceSize,
data: u32
)
unsafe fn cmd_update_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
data: &[u8]
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
data: &[u8]
)
unsafe fn cmd_copy_buffer(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
regions: &[BufferCopy]
)
[src]
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_buffer: Buffer,
regions: &[BufferCopy]
)
unsafe fn cmd_copy_image_to_buffer(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
regions: &[BufferImageCopy]
)
[src]
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_buffer: Buffer,
regions: &[BufferImageCopy]
)
unsafe fn cmd_copy_buffer_to_image(
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[BufferImageCopy]
)
[src]
&self,
command_buffer: CommandBuffer,
src_buffer: Buffer,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[BufferImageCopy]
)
unsafe fn cmd_copy_image(
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageCopy]
)
[src]
&self,
command_buffer: CommandBuffer,
src_image: Image,
src_image_layout: ImageLayout,
dst_image: Image,
dst_image_layout: ImageLayout,
regions: &[ImageCopy]
)
unsafe fn allocate_descriptor_sets(
&self,
create_info: &DescriptorSetAllocateInfo
) -> VkResult<Vec<DescriptorSet>>
[src]
&self,
create_info: &DescriptorSetAllocateInfo
) -> VkResult<Vec<DescriptorSet>>
unsafe fn create_descriptor_set_layout(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DescriptorSetLayout>
[src]
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DescriptorSetLayout>
unsafe fn device_wait_idle(&self) -> VkResult<()>
[src]
unsafe fn create_descriptor_pool(
&self,
create_info: &DescriptorPoolCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DescriptorPool>
[src]
&self,
create_info: &DescriptorPoolCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DescriptorPool>
unsafe fn reset_descriptor_pool(
&self,
pool: DescriptorPool,
flags: DescriptorPoolResetFlags
) -> VkResult<()>
[src]
&self,
pool: DescriptorPool,
flags: DescriptorPoolResetFlags
) -> VkResult<()>
unsafe fn reset_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolResetFlags
) -> VkResult<()>
[src]
&self,
command_pool: CommandPool,
flags: CommandPoolResetFlags
) -> VkResult<()>
unsafe fn reset_command_buffer(
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags
) -> VkResult<()>
[src]
&self,
command_buffer: CommandBuffer,
flags: CommandBufferResetFlags
) -> VkResult<()>
unsafe fn reset_fences(&self, fences: &[Fence]) -> VkResult<()>
[src]
unsafe fn cmd_bind_index_buffer(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
index_type: IndexType
)
unsafe fn cmd_clear_color_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
clear_color_value: &ClearColorValue,
ranges: &[ImageSubresourceRange]
)
[src]
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
clear_color_value: &ClearColorValue,
ranges: &[ImageSubresourceRange]
)
unsafe fn cmd_clear_depth_stencil_image(
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
clear_depth_stencil_value: &ClearDepthStencilValue,
ranges: &[ImageSubresourceRange]
)
[src]
&self,
command_buffer: CommandBuffer,
image: Image,
image_layout: ImageLayout,
clear_depth_stencil_value: &ClearDepthStencilValue,
ranges: &[ImageSubresourceRange]
)
unsafe fn cmd_clear_attachments(
&self,
command_buffer: CommandBuffer,
attachments: &[ClearAttachment],
rects: &[ClearRect]
)
[src]
&self,
command_buffer: CommandBuffer,
attachments: &[ClearAttachment],
rects: &[ClearRect]
)
unsafe fn cmd_draw_indexed(
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32
)
[src]
&self,
command_buffer: CommandBuffer,
index_count: u32,
instance_count: u32,
first_index: u32,
vertex_offset: i32,
first_instance: u32
)
unsafe fn cmd_draw_indexed_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_execute_commands(
&self,
primary_command_buffer: CommandBuffer,
secondary_command_buffers: &[CommandBuffer]
)
[src]
&self,
primary_command_buffer: CommandBuffer,
secondary_command_buffers: &[CommandBuffer]
)
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]
)
[src]
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
layout: PipelineLayout,
first_set: u32,
descriptor_sets: &[DescriptorSet],
dynamic_offsets: &[u32]
)
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
)
[src]
&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_push_constants(
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8]
)
[src]
&self,
command_buffer: CommandBuffer,
layout: PipelineLayout,
stage_flags: ShaderStageFlags,
offset: u32,
constants: &[u8]
)
unsafe fn cmd_begin_render_pass(
&self,
command_buffer: CommandBuffer,
create_info: &RenderPassBeginInfo,
contents: SubpassContents
)
[src]
&self,
command_buffer: CommandBuffer,
create_info: &RenderPassBeginInfo,
contents: SubpassContents
)
unsafe fn cmd_next_subpass(
&self,
command_buffer: CommandBuffer,
contents: SubpassContents
)
[src]
&self,
command_buffer: CommandBuffer,
contents: SubpassContents
)
unsafe fn cmd_bind_pipeline(
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
)
[src]
&self,
command_buffer: CommandBuffer,
pipeline_bind_point: PipelineBindPoint,
pipeline: Pipeline
)
unsafe fn cmd_set_scissor(
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissors: &[Rect2D]
)
[src]
&self,
command_buffer: CommandBuffer,
first_scissor: u32,
scissors: &[Rect2D]
)
unsafe fn cmd_set_line_width(
&self,
command_buffer: CommandBuffer,
line_width: f32
)
[src]
&self,
command_buffer: CommandBuffer,
line_width: f32
)
unsafe fn cmd_bind_vertex_buffers(
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize]
)
[src]
&self,
command_buffer: CommandBuffer,
first_binding: u32,
buffers: &[Buffer],
offsets: &[DeviceSize]
)
unsafe fn cmd_end_render_pass(&self, command_buffer: CommandBuffer)
[src]
unsafe fn cmd_draw(
&self,
command_buffer: CommandBuffer,
vertex_count: u32,
instance_count: u32,
first_vertex: u32,
first_instance: u32
)
[src]
&self,
command_buffer: CommandBuffer,
vertex_count: u32,
instance_count: u32,
first_vertex: u32,
first_instance: u32
)
unsafe fn cmd_draw_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
draw_count: u32,
stride: u32
)
unsafe fn cmd_dispatch(
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
[src]
&self,
command_buffer: CommandBuffer,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn cmd_dispatch_indirect(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize
)
unsafe fn cmd_set_viewport(
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewports: &[Viewport]
)
[src]
&self,
command_buffer: CommandBuffer,
first_viewport: u32,
viewports: &[Viewport]
)
unsafe fn cmd_set_depth_bias(
&self,
command_buffer: CommandBuffer,
constant_factor: f32,
clamp: f32,
slope_factor: f32
)
[src]
&self,
command_buffer: CommandBuffer,
constant_factor: f32,
clamp: f32,
slope_factor: f32
)
unsafe fn cmd_set_blend_constants(
&self,
command_buffer: CommandBuffer,
blend_constants: &[f32; 4]
)
[src]
&self,
command_buffer: CommandBuffer,
blend_constants: &[f32; 4]
)
unsafe fn cmd_set_depth_bounds(
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
)
[src]
&self,
command_buffer: CommandBuffer,
min_depth_bounds: f32,
max_depth_bounds: f32
)
unsafe fn cmd_set_stencil_compare_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
)
[src]
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
compare_mask: u32
)
unsafe fn cmd_set_stencil_write_mask(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
)
[src]
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
write_mask: u32
)
unsafe fn cmd_set_stencil_reference(
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
)
[src]
&self,
command_buffer: CommandBuffer,
face_mask: StencilFaceFlags,
reference: u32
)
unsafe fn get_query_pool_results<T>(
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data: &mut [T],
flags: QueryResultFlags
) -> VkResult<()>
[src]
&self,
query_pool: QueryPool,
first_query: u32,
query_count: u32,
data: &mut [T],
flags: QueryResultFlags
) -> VkResult<()>
unsafe fn cmd_begin_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
)
[src]
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32,
flags: QueryControlFlags
)
unsafe fn cmd_end_query(
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
)
[src]
&self,
command_buffer: CommandBuffer,
query_pool: QueryPool,
query: u32
)
unsafe fn cmd_reset_query_pool(
&self,
command_buffer: CommandBuffer,
pool: QueryPool,
first_query: u32,
query_count: u32
)
[src]
&self,
command_buffer: CommandBuffer,
pool: QueryPool,
first_query: u32,
query_count: u32
)
unsafe fn cmd_write_timestamp(
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
)
[src]
&self,
command_buffer: CommandBuffer,
pipeline_stage: PipelineStageFlags,
query_pool: QueryPool,
query: u32
)
unsafe fn create_semaphore(
&self,
create_info: &SemaphoreCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Semaphore>
[src]
&self,
create_info: &SemaphoreCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Semaphore>
unsafe fn create_graphics_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[GraphicsPipelineCreateInfo],
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
[src]
&self,
pipeline_cache: PipelineCache,
create_infos: &[GraphicsPipelineCreateInfo],
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
unsafe fn create_compute_pipelines(
&self,
pipeline_cache: PipelineCache,
create_infos: &[ComputePipelineCreateInfo],
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
[src]
&self,
pipeline_cache: PipelineCache,
create_infos: &[ComputePipelineCreateInfo],
allocation_callbacks: Option<&AllocationCallbacks>
) -> Result<Vec<Pipeline>, (Vec<Pipeline>, Result)>
unsafe fn create_buffer(
&self,
create_info: &BufferCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Buffer>
[src]
&self,
create_info: &BufferCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Buffer>
unsafe fn create_pipeline_layout(
&self,
create_info: &PipelineLayoutCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<PipelineLayout>
[src]
&self,
create_info: &PipelineLayoutCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<PipelineLayout>
unsafe fn create_pipeline_cache(
&self,
create_info: &PipelineCacheCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<PipelineCache>
[src]
&self,
create_info: &PipelineCacheCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<PipelineCache>
unsafe fn get_pipeline_cache_data(
&self,
pipeline_cache: PipelineCache
) -> VkResult<Vec<u8>>
[src]
&self,
pipeline_cache: PipelineCache
) -> VkResult<Vec<u8>>
unsafe fn map_memory(
&self,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags
) -> VkResult<*mut c_void>
[src]
&self,
memory: DeviceMemory,
offset: DeviceSize,
size: DeviceSize,
flags: MemoryMapFlags
) -> VkResult<*mut c_void>
unsafe fn unmap_memory(&self, memory: DeviceMemory)
[src]
unsafe fn invalidate_mapped_memory_ranges(
&self,
ranges: &[MappedMemoryRange]
) -> VkResult<()>
[src]
&self,
ranges: &[MappedMemoryRange]
) -> VkResult<()>
unsafe fn flush_mapped_memory_ranges(
&self,
ranges: &[MappedMemoryRange]
) -> VkResult<()>
[src]
&self,
ranges: &[MappedMemoryRange]
) -> VkResult<()>
unsafe fn create_framebuffer(
&self,
create_info: &FramebufferCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Framebuffer>
[src]
&self,
create_info: &FramebufferCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Framebuffer>
unsafe fn get_device_queue(
&self,
queue_family_index: u32,
queue_index: u32
) -> Queue
[src]
&self,
queue_family_index: u32,
queue_index: u32
) -> Queue
unsafe fn cmd_pipeline_barrier(
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barriers: &[MemoryBarrier],
buffer_memory_barriers: &[BufferMemoryBarrier],
image_memory_barriers: &[ImageMemoryBarrier]
)
[src]
&self,
command_buffer: CommandBuffer,
src_stage_mask: PipelineStageFlags,
dst_stage_mask: PipelineStageFlags,
dependency_flags: DependencyFlags,
memory_barriers: &[MemoryBarrier],
buffer_memory_barriers: &[BufferMemoryBarrier],
image_memory_barriers: &[ImageMemoryBarrier]
)
unsafe fn create_render_pass(
&self,
create_info: &RenderPassCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
[src]
&self,
create_info: &RenderPassCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn begin_command_buffer(
&self,
command_buffer: CommandBuffer,
begin_info: &CommandBufferBeginInfo
) -> VkResult<()>
[src]
&self,
command_buffer: CommandBuffer,
begin_info: &CommandBufferBeginInfo
) -> VkResult<()>
unsafe fn end_command_buffer(
&self,
command_buffer: CommandBuffer
) -> VkResult<()>
[src]
&self,
command_buffer: CommandBuffer
) -> VkResult<()>
unsafe fn wait_for_fences(
&self,
fences: &[Fence],
wait_all: bool,
timeout: u64
) -> VkResult<()>
[src]
&self,
fences: &[Fence],
wait_all: bool,
timeout: u64
) -> VkResult<()>
unsafe fn get_fence_status(&self, fence: Fence) -> VkResult<bool>
[src]
unsafe fn queue_wait_idle(&self, queue: Queue) -> VkResult<()>
[src]
unsafe fn queue_submit(
&self,
queue: Queue,
submits: &[SubmitInfo],
fence: Fence
) -> VkResult<()>
[src]
&self,
queue: Queue,
submits: &[SubmitInfo],
fence: Fence
) -> VkResult<()>
unsafe fn create_buffer_view(
&self,
create_info: &BufferViewCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<BufferView>
[src]
&self,
create_info: &BufferViewCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<BufferView>
unsafe fn destroy_buffer_view(
&self,
buffer_view: BufferView,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
buffer_view: BufferView,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn create_image_view(
&self,
create_info: &ImageViewCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<ImageView>
[src]
&self,
create_info: &ImageViewCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<ImageView>
unsafe fn allocate_command_buffers(
&self,
create_info: &CommandBufferAllocateInfo
) -> VkResult<Vec<CommandBuffer>>
[src]
&self,
create_info: &CommandBufferAllocateInfo
) -> VkResult<Vec<CommandBuffer>>
unsafe fn create_command_pool(
&self,
create_info: &CommandPoolCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<CommandPool>
[src]
&self,
create_info: &CommandPoolCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<CommandPool>
unsafe fn create_query_pool(
&self,
create_info: &QueryPoolCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<QueryPool>
[src]
&self,
create_info: &QueryPoolCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<QueryPool>
unsafe fn create_image(
&self,
create_info: &ImageCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Image>
[src]
&self,
create_info: &ImageCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Image>
unsafe fn get_image_subresource_layout(
&self,
image: Image,
subresource: ImageSubresource
) -> SubresourceLayout
[src]
&self,
image: Image,
subresource: ImageSubresource
) -> SubresourceLayout
unsafe fn get_image_memory_requirements(
&self,
image: Image
) -> MemoryRequirements
[src]
&self,
image: Image
) -> MemoryRequirements
unsafe fn get_buffer_memory_requirements(
&self,
buffer: Buffer
) -> MemoryRequirements
[src]
&self,
buffer: Buffer
) -> MemoryRequirements
unsafe fn allocate_memory(
&self,
create_info: &MemoryAllocateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DeviceMemory>
[src]
&self,
create_info: &MemoryAllocateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DeviceMemory>
unsafe fn create_shader_module(
&self,
create_info: &ShaderModuleCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<ShaderModule>
[src]
&self,
create_info: &ShaderModuleCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<ShaderModule>
unsafe fn create_fence(
&self,
create_info: &FenceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Fence>
[src]
&self,
create_info: &FenceCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<Fence>
unsafe fn bind_buffer_memory(
&self,
buffer: Buffer,
device_memory: DeviceMemory,
offset: DeviceSize
) -> VkResult<()>
[src]
&self,
buffer: Buffer,
device_memory: DeviceMemory,
offset: DeviceSize
) -> VkResult<()>
unsafe fn bind_image_memory(
&self,
image: Image,
device_memory: DeviceMemory,
offset: DeviceSize
) -> VkResult<()>
[src]
&self,
image: Image,
device_memory: DeviceMemory,
offset: DeviceSize
) -> VkResult<()>
impl DeviceV1_1 for Device
[src]
fn fp_v1_1(&self) -> &DeviceFnV1_1
[src]
unsafe fn bind_buffer_memory2(
&self,
bind_infos: &[BindBufferMemoryInfo]
) -> VkResult<()>
[src]
&self,
bind_infos: &[BindBufferMemoryInfo]
) -> VkResult<()>
unsafe fn bind_image_memory2(
&self,
bind_infos: &[BindImageMemoryInfo]
) -> VkResult<()>
[src]
&self,
bind_infos: &[BindImageMemoryInfo]
) -> VkResult<()>
unsafe fn get_device_group_peer_memory_features(
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32
) -> PeerMemoryFeatureFlags
[src]
&self,
heap_index: u32,
local_device_index: u32,
remote_device_index: u32
) -> PeerMemoryFeatureFlags
unsafe fn cmd_set_device_mask(
&self,
command_buffer: CommandBuffer,
device_mask: u32
)
[src]
&self,
command_buffer: CommandBuffer,
device_mask: u32
)
unsafe fn cmd_dispatch_base(
&self,
command_buffer: CommandBuffer,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
[src]
&self,
command_buffer: CommandBuffer,
base_group_x: u32,
base_group_y: u32,
base_group_z: u32,
group_count_x: u32,
group_count_y: u32,
group_count_z: u32
)
unsafe fn get_image_memory_requirements2(
&self,
info: &ImageMemoryRequirementsInfo2,
out: &mut MemoryRequirements2
)
[src]
&self,
info: &ImageMemoryRequirementsInfo2,
out: &mut MemoryRequirements2
)
unsafe fn get_buffer_memory_requirements2(
&self,
info: &BufferMemoryRequirementsInfo2,
out: &mut MemoryRequirements2
)
[src]
&self,
info: &BufferMemoryRequirementsInfo2,
out: &mut MemoryRequirements2
)
unsafe fn get_image_sparse_memory_requirements2_len(
&self,
info: &ImageSparseMemoryRequirementsInfo2
) -> usize
[src]
&self,
info: &ImageSparseMemoryRequirementsInfo2
) -> usize
unsafe fn get_image_sparse_memory_requirements2(
&self,
info: &ImageSparseMemoryRequirementsInfo2,
out: &mut [SparseImageMemoryRequirements2]
)
[src]
&self,
info: &ImageSparseMemoryRequirementsInfo2,
out: &mut [SparseImageMemoryRequirements2]
)
unsafe fn trim_command_pool(
&self,
command_pool: CommandPool,
flags: CommandPoolTrimFlags
)
[src]
&self,
command_pool: CommandPool,
flags: CommandPoolTrimFlags
)
unsafe fn create_sampler_ycbcr_conversion(
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
[src]
&self,
create_info: &SamplerYcbcrConversionCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<SamplerYcbcrConversion>
unsafe fn destroy_sampler_ycbcr_conversion(
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
ycbcr_conversion: SamplerYcbcrConversion,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn create_descriptor_update_template(
&self,
create_info: &DescriptorUpdateTemplateCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DescriptorUpdateTemplate>
[src]
&self,
create_info: &DescriptorUpdateTemplateCreateInfo,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<DescriptorUpdateTemplate>
unsafe fn destroy_descriptor_update_template(
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocation_callbacks: Option<&AllocationCallbacks>
)
[src]
&self,
descriptor_update_template: DescriptorUpdateTemplate,
allocation_callbacks: Option<&AllocationCallbacks>
)
unsafe fn update_descriptor_set_with_template(
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: *const c_void
)
[src]
&self,
descriptor_set: DescriptorSet,
descriptor_update_template: DescriptorUpdateTemplate,
data: *const c_void
)
unsafe fn get_descriptor_set_layout_support(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
out: &mut DescriptorSetLayoutSupport
)
[src]
&self,
create_info: &DescriptorSetLayoutCreateInfo,
out: &mut DescriptorSetLayoutSupport
)
impl DeviceV1_2 for Device
[src]
fn fp_v1_2(&self) -> &DeviceFnV1_2
[src]
unsafe fn cmd_draw_indirect_count(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
[src]
&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(
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
[src]
&self,
command_buffer: CommandBuffer,
buffer: Buffer,
offset: DeviceSize,
count_buffer: Buffer,
count_buffer_offset: DeviceSize,
max_draw_count: u32,
stride: u32
)
unsafe fn create_render_pass2(
&self,
create_info: &RenderPassCreateInfo2,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
[src]
&self,
create_info: &RenderPassCreateInfo2,
allocation_callbacks: Option<&AllocationCallbacks>
) -> VkResult<RenderPass>
unsafe fn cmd_begin_render_pass2(
&self,
command_buffer: CommandBuffer,
render_pass_begin_info: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo
)
[src]
&self,
command_buffer: CommandBuffer,
render_pass_begin_info: &RenderPassBeginInfo,
subpass_begin_info: &SubpassBeginInfo
)
unsafe fn cmd_next_subpass2(
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo
)
[src]
&self,
command_buffer: CommandBuffer,
subpass_begin_info: &SubpassBeginInfo,
subpass_end_info: &SubpassEndInfo
)
unsafe fn cmd_end_render_pass2(
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo
)
[src]
&self,
command_buffer: CommandBuffer,
subpass_end_info: &SubpassEndInfo
)
unsafe fn reset_query_pool(
&self,
device: Device,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
[src]
&self,
device: Device,
query_pool: QueryPool,
first_query: u32,
query_count: u32
)
unsafe fn get_semaphore_counter_value(
&self,
device: Device,
semaphore: Semaphore
) -> VkResult<u64>
[src]
&self,
device: Device,
semaphore: Semaphore
) -> VkResult<u64>
unsafe fn wait_semaphores(
&self,
device: Device,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<()>
[src]
&self,
device: Device,
wait_info: &SemaphoreWaitInfo,
timeout: u64
) -> VkResult<()>
unsafe fn signal_semaphore(
&self,
device: Device,
signal_info: &SemaphoreSignalInfo
) -> VkResult<()>
[src]
&self,
device: Device,
signal_info: &SemaphoreSignalInfo
) -> VkResult<()>
unsafe fn get_buffer_device_address(
&self,
device: Device,
info: &BufferDeviceAddressInfo
) -> DeviceAddress
[src]
&self,
device: Device,
info: &BufferDeviceAddressInfo
) -> DeviceAddress
unsafe fn get_buffer_opaque_capture_address(
&self,
device: Device,
info: &BufferDeviceAddressInfo
) -> u64
[src]
&self,
device: Device,
info: &BufferDeviceAddressInfo
) -> u64
unsafe fn get_device_memory_opaque_capture_address(
&self,
device: Device,
info: &DeviceMemoryOpaqueCaptureAddressInfo
) -> u64
[src]
&self,
device: Device,
info: &DeviceMemoryOpaqueCaptureAddressInfo
) -> u64
Auto Trait Implementations
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,