Struct lava::VkCommandBuffer [−][src]
pub struct VkCommandBuffer { /* fields omitted */ }
Methods
impl VkCommandBuffer
[src]
impl VkCommandBuffer
pub fn handle(&self) -> u64
[src]
pub fn handle(&self) -> u64
pub fn begin(&self, begin_info: &VkCommandBufferBeginInfo) -> VkResult
[src]
pub fn begin(&self, begin_info: &VkCommandBufferBeginInfo) -> VkResult
pub fn end(&self) -> VkResult
[src]
pub fn end(&self) -> VkResult
pub fn reset(&self, flags: VkCommandBufferResetFlags) -> VkResult
[src]
pub fn reset(&self, flags: VkCommandBufferResetFlags) -> VkResult
pub fn cmd_bind_pipeline(
&self,
pipeline_bind_point: VkPipelineBindPoint,
pipeline: &VkPipeline
)
[src]
pub fn cmd_bind_pipeline(
&self,
pipeline_bind_point: VkPipelineBindPoint,
pipeline: &VkPipeline
)
pub fn cmd_set_viewport(&self, first_viewport: usize, viewports: &[VkViewport])
[src]
pub fn cmd_set_viewport(&self, first_viewport: usize, viewports: &[VkViewport])
pub fn cmd_set_scissor(&self, first_scissor: usize, scissors: &[VkRect2D])
[src]
pub fn cmd_set_scissor(&self, first_scissor: usize, scissors: &[VkRect2D])
pub fn cmd_set_line_width(&self, line_width: f32)
[src]
pub fn cmd_set_line_width(&self, line_width: f32)
pub fn cmd_set_depth_bias(
&self,
depth_bias_constant_factor: f32,
depth_bias_clamp: f32,
depth_bias_slope_factor: f32
)
[src]
pub fn cmd_set_depth_bias(
&self,
depth_bias_constant_factor: f32,
depth_bias_clamp: f32,
depth_bias_slope_factor: f32
)
pub fn cmd_set_blend_constants(&self, blend_constants: [f32; 4])
[src]
pub fn cmd_set_blend_constants(&self, blend_constants: [f32; 4])
pub fn cmd_set_depth_bounds(&self, min_depth_bounds: f32, max_depth_bounds: f32)
[src]
pub fn cmd_set_depth_bounds(&self, min_depth_bounds: f32, max_depth_bounds: f32)
pub fn cmd_set_stencil_compare_mask(
&self,
face_mask: VkStencilFaceFlags,
compare_mask: u32
)
[src]
pub fn cmd_set_stencil_compare_mask(
&self,
face_mask: VkStencilFaceFlags,
compare_mask: u32
)
pub fn cmd_set_stencil_write_mask(
&self,
face_mask: VkStencilFaceFlags,
write_mask: u32
)
[src]
pub fn cmd_set_stencil_write_mask(
&self,
face_mask: VkStencilFaceFlags,
write_mask: u32
)
pub fn cmd_set_stencil_reference(
&self,
face_mask: VkStencilFaceFlags,
reference: usize
)
[src]
pub fn cmd_set_stencil_reference(
&self,
face_mask: VkStencilFaceFlags,
reference: usize
)
pub fn cmd_bind_descriptor_sets(
&self,
pipeline_bind_point: VkPipelineBindPoint,
layout: &VkPipelineLayout,
first_set: usize,
descriptor_sets: &[VkDescriptorSet],
dynamic_offsets: &[usize]
)
[src]
pub fn cmd_bind_descriptor_sets(
&self,
pipeline_bind_point: VkPipelineBindPoint,
layout: &VkPipelineLayout,
first_set: usize,
descriptor_sets: &[VkDescriptorSet],
dynamic_offsets: &[usize]
)
pub fn cmd_bind_index_buffer(
&self,
buffer: &VkBuffer,
offset: usize,
index_type: VkIndexType
)
[src]
pub fn cmd_bind_index_buffer(
&self,
buffer: &VkBuffer,
offset: usize,
index_type: VkIndexType
)
pub fn cmd_bind_vertex_buffers(
&self,
first_binding: usize,
buffers: &[VkBuffer],
offsets: &[usize]
)
[src]
pub fn cmd_bind_vertex_buffers(
&self,
first_binding: usize,
buffers: &[VkBuffer],
offsets: &[usize]
)
pub fn cmd_draw(
&self,
vertex_count: usize,
instance_count: usize,
first_vertex: usize,
first_instance: usize
)
[src]
pub fn cmd_draw(
&self,
vertex_count: usize,
instance_count: usize,
first_vertex: usize,
first_instance: usize
)
pub fn cmd_draw_indexed(
&self,
index_count: usize,
instance_count: usize,
first_index: usize,
vertex_offset: isize,
first_instance: usize
)
[src]
pub fn cmd_draw_indexed(
&self,
index_count: usize,
instance_count: usize,
first_index: usize,
vertex_offset: isize,
first_instance: usize
)
pub fn cmd_draw_indirect(
&self,
buffer: &VkBuffer,
offset: usize,
draw_count: usize,
stride: usize
)
[src]
pub fn cmd_draw_indirect(
&self,
buffer: &VkBuffer,
offset: usize,
draw_count: usize,
stride: usize
)
pub fn cmd_draw_indexed_indirect(
&self,
buffer: &VkBuffer,
offset: usize,
draw_count: usize,
stride: usize
)
[src]
pub fn cmd_draw_indexed_indirect(
&self,
buffer: &VkBuffer,
offset: usize,
draw_count: usize,
stride: usize
)
pub fn cmd_dispatch(
&self,
group_count_x: usize,
group_count_y: usize,
group_count_z: usize
)
[src]
pub fn cmd_dispatch(
&self,
group_count_x: usize,
group_count_y: usize,
group_count_z: usize
)
pub fn cmd_dispatch_indirect(&self, buffer: &VkBuffer, offset: usize)
[src]
pub fn cmd_dispatch_indirect(&self, buffer: &VkBuffer, offset: usize)
pub fn cmd_copy_buffer(
&self,
src_buffer: &VkBuffer,
dst_buffer: &VkBuffer,
regions: &[VkBufferCopy]
)
[src]
pub fn cmd_copy_buffer(
&self,
src_buffer: &VkBuffer,
dst_buffer: &VkBuffer,
regions: &[VkBufferCopy]
)
pub fn cmd_copy_image(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkImageCopy]
)
[src]
pub fn cmd_copy_image(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkImageCopy]
)
pub fn cmd_blit_image(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkImageBlit],
filter: VkFilter
)
[src]
pub fn cmd_blit_image(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkImageBlit],
filter: VkFilter
)
pub fn cmd_copy_buffer_to_image(
&self,
src_buffer: &VkBuffer,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkBufferImageCopy]
)
[src]
pub fn cmd_copy_buffer_to_image(
&self,
src_buffer: &VkBuffer,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkBufferImageCopy]
)
pub fn cmd_copy_image_to_buffer(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_buffer: &VkBuffer,
regions: &[VkBufferImageCopy]
)
[src]
pub fn cmd_copy_image_to_buffer(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_buffer: &VkBuffer,
regions: &[VkBufferImageCopy]
)
pub fn cmd_update_buffer(
&self,
dst_buffer: &VkBuffer,
dst_offset: usize,
data: &[u8]
)
[src]
pub fn cmd_update_buffer(
&self,
dst_buffer: &VkBuffer,
dst_offset: usize,
data: &[u8]
)
pub fn cmd_fill_buffer(
&self,
dst_buffer: &VkBuffer,
dst_offset: usize,
size: usize,
data: usize
)
[src]
pub fn cmd_fill_buffer(
&self,
dst_buffer: &VkBuffer,
dst_offset: usize,
size: usize,
data: usize
)
pub fn cmd_clear_color_image(
&self,
image: &VkImage,
image_layout: VkImageLayout,
color: &VkClearColorValue,
ranges: &[VkImageSubresourceRange]
)
[src]
pub fn cmd_clear_color_image(
&self,
image: &VkImage,
image_layout: VkImageLayout,
color: &VkClearColorValue,
ranges: &[VkImageSubresourceRange]
)
pub fn cmd_clear_depth_stencil_image(
&self,
image: &VkImage,
image_layout: VkImageLayout,
depth_stencil: &VkClearDepthStencilValue,
ranges: &[VkImageSubresourceRange]
)
[src]
pub fn cmd_clear_depth_stencil_image(
&self,
image: &VkImage,
image_layout: VkImageLayout,
depth_stencil: &VkClearDepthStencilValue,
ranges: &[VkImageSubresourceRange]
)
pub fn cmd_clear_attachments(
&self,
attachments: &[VkClearAttachment],
rects: &[VkClearRect]
)
[src]
pub fn cmd_clear_attachments(
&self,
attachments: &[VkClearAttachment],
rects: &[VkClearRect]
)
pub fn cmd_resolve_image(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkImageResolve]
)
[src]
pub fn cmd_resolve_image(
&self,
src_image: &VkImage,
src_image_layout: VkImageLayout,
dst_image: &VkImage,
dst_image_layout: VkImageLayout,
regions: &[VkImageResolve]
)
pub fn cmd_set_event(&self, event: &VkEvent, stage_mask: VkPipelineStageFlags)
[src]
pub fn cmd_set_event(&self, event: &VkEvent, stage_mask: VkPipelineStageFlags)
pub fn cmd_reset_event(&self, event: &VkEvent, stage_mask: VkPipelineStageFlags)
[src]
pub fn cmd_reset_event(&self, event: &VkEvent, stage_mask: VkPipelineStageFlags)
pub fn cmd_wait_events(
&self,
events: &[VkEvent],
src_stage_mask: VkPipelineStageFlags,
dst_stage_mask: VkPipelineStageFlags,
memory_barriers: &[VkMemoryBarrier],
buffer_memory_barriers: &[VkBufferMemoryBarrier],
image_memory_barriers: &[VkImageMemoryBarrier]
)
[src]
pub fn cmd_wait_events(
&self,
events: &[VkEvent],
src_stage_mask: VkPipelineStageFlags,
dst_stage_mask: VkPipelineStageFlags,
memory_barriers: &[VkMemoryBarrier],
buffer_memory_barriers: &[VkBufferMemoryBarrier],
image_memory_barriers: &[VkImageMemoryBarrier]
)
pub fn cmd_pipeline_barrier(
&self,
src_stage_mask: VkPipelineStageFlags,
dst_stage_mask: VkPipelineStageFlags,
dependency_flags: VkDependencyFlags,
memory_barriers: &[VkMemoryBarrier],
buffer_memory_barriers: &[VkBufferMemoryBarrier],
image_memory_barriers: &[VkImageMemoryBarrier]
)
[src]
pub fn cmd_pipeline_barrier(
&self,
src_stage_mask: VkPipelineStageFlags,
dst_stage_mask: VkPipelineStageFlags,
dependency_flags: VkDependencyFlags,
memory_barriers: &[VkMemoryBarrier],
buffer_memory_barriers: &[VkBufferMemoryBarrier],
image_memory_barriers: &[VkImageMemoryBarrier]
)
pub fn cmd_begin_query(
&self,
query_pool: &VkQueryPool,
query: usize,
flags: VkQueryControlFlags
)
[src]
pub fn cmd_begin_query(
&self,
query_pool: &VkQueryPool,
query: usize,
flags: VkQueryControlFlags
)
pub fn cmd_end_query(&self, query_pool: &VkQueryPool, query: usize)
[src]
pub fn cmd_end_query(&self, query_pool: &VkQueryPool, query: usize)
pub fn cmd_reset_query_pool(
&self,
query_pool: &VkQueryPool,
first_query: usize,
query_count: usize
)
[src]
pub fn cmd_reset_query_pool(
&self,
query_pool: &VkQueryPool,
first_query: usize,
query_count: usize
)
pub fn cmd_write_timestamp(
&self,
pipeline_stage: VkPipelineStageFlags,
query_pool: &VkQueryPool,
query: usize
)
[src]
pub fn cmd_write_timestamp(
&self,
pipeline_stage: VkPipelineStageFlags,
query_pool: &VkQueryPool,
query: usize
)
pub fn cmd_copy_query_pool_results(
&self,
query_pool: &VkQueryPool,
first_query: usize,
query_count: usize,
dst_buffer: &VkBuffer,
dst_offset: usize,
stride: usize,
flags: VkQueryResultFlags
)
[src]
pub fn cmd_copy_query_pool_results(
&self,
query_pool: &VkQueryPool,
first_query: usize,
query_count: usize,
dst_buffer: &VkBuffer,
dst_offset: usize,
stride: usize,
flags: VkQueryResultFlags
)
pub fn cmd_push_constants(
&self,
layout: &VkPipelineLayout,
stage_flags: VkShaderStageFlags,
offset: usize,
values: &[u8]
)
[src]
pub fn cmd_push_constants(
&self,
layout: &VkPipelineLayout,
stage_flags: VkShaderStageFlags,
offset: usize,
values: &[u8]
)
pub fn cmd_begin_render_pass(
&self,
render_pass_begin: &VkRenderPassBeginInfo,
contents: VkSubpassContents
)
[src]
pub fn cmd_begin_render_pass(
&self,
render_pass_begin: &VkRenderPassBeginInfo,
contents: VkSubpassContents
)
pub fn cmd_next_subpass(&self, contents: VkSubpassContents)
[src]
pub fn cmd_next_subpass(&self, contents: VkSubpassContents)
pub fn cmd_end_render_pass(&self)
[src]
pub fn cmd_end_render_pass(&self)
pub fn cmd_execute_commands(&self, command_buffers: &[VkCommandBuffer])
[src]
pub fn cmd_execute_commands(&self, command_buffers: &[VkCommandBuffer])
pub fn cmd_set_device_mask(&self, device_mask: u32)
[src]
pub fn cmd_set_device_mask(&self, device_mask: u32)
pub fn cmd_dispatch_base(
&self,
base_group_x: usize,
base_group_y: usize,
base_group_z: usize,
group_count_x: usize,
group_count_y: usize,
group_count_z: usize
)
[src]
pub fn cmd_dispatch_base(
&self,
base_group_x: usize,
base_group_y: usize,
base_group_z: usize,
group_count_x: usize,
group_count_y: usize,
group_count_z: usize
)
pub fn cmd_push_descriptor_set(
&self,
pipeline_bind_point: VkPipelineBindPoint,
layout: &VkPipelineLayout,
set: usize,
descriptor_writes: &[VkWriteDescriptorSet]
)
[src]
pub fn cmd_push_descriptor_set(
&self,
pipeline_bind_point: VkPipelineBindPoint,
layout: &VkPipelineLayout,
set: usize,
descriptor_writes: &[VkWriteDescriptorSet]
)
pub fn cmd_push_descriptor_set_with_template(
&self,
descriptor_update_template: &VkDescriptorUpdateTemplate,
layout: &VkPipelineLayout,
set: usize,
data: &u8
)
[src]
pub fn cmd_push_descriptor_set_with_template(
&self,
descriptor_update_template: &VkDescriptorUpdateTemplate,
layout: &VkPipelineLayout,
set: usize,
data: &u8
)
pub fn cmd_begin_render_pass_2(
&self,
render_pass_begin: &VkRenderPassBeginInfo,
subpass_begin_info: &VkSubpassBeginInfo
)
[src]
pub fn cmd_begin_render_pass_2(
&self,
render_pass_begin: &VkRenderPassBeginInfo,
subpass_begin_info: &VkSubpassBeginInfo
)
pub fn cmd_next_subpass_2(
&self,
subpass_begin_info: &VkSubpassBeginInfo,
subpass_end_info: &VkSubpassEndInfo
)
[src]
pub fn cmd_next_subpass_2(
&self,
subpass_begin_info: &VkSubpassBeginInfo,
subpass_end_info: &VkSubpassEndInfo
)
pub fn cmd_end_render_pass_2(&self, subpass_end_info: &VkSubpassEndInfo)
[src]
pub fn cmd_end_render_pass_2(&self, subpass_end_info: &VkSubpassEndInfo)
pub fn cmd_draw_indirect_count(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
[src]
pub fn cmd_draw_indirect_count(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
pub fn cmd_draw_indexed_indirect_count(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
[src]
pub fn cmd_draw_indexed_indirect_count(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
pub fn cmd_debug_marker_begin(&self, marker_info: &VkDebugMarkerMarkerInfo)
[src]
pub fn cmd_debug_marker_begin(&self, marker_info: &VkDebugMarkerMarkerInfo)
pub fn cmd_debug_marker_end(&self)
[src]
pub fn cmd_debug_marker_end(&self)
pub fn cmd_debug_marker_insert(&self, marker_info: &VkDebugMarkerMarkerInfo)
[src]
pub fn cmd_debug_marker_insert(&self, marker_info: &VkDebugMarkerMarkerInfo)
pub fn cmd_draw_indirect_count_amd(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
[src]
pub fn cmd_draw_indirect_count_amd(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
pub fn cmd_draw_indexed_indirect_count_amd(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
[src]
pub fn cmd_draw_indexed_indirect_count_amd(
&self,
buffer: &VkBuffer,
offset: usize,
count_buffer: &VkBuffer,
count_buffer_offset: usize,
max_draw_count: usize,
stride: usize
)
pub fn cmd_begin_conditional_rendering(
&self,
conditional_rendering_begin: &VkConditionalRenderingBeginInfo
)
[src]
pub fn cmd_begin_conditional_rendering(
&self,
conditional_rendering_begin: &VkConditionalRenderingBeginInfo
)
pub fn cmd_end_conditional_rendering(&self)
[src]
pub fn cmd_end_conditional_rendering(&self)
pub fn cmd_process_commands(
&self,
process_commands_info: &VkCmdProcessCommandsInfo
)
[src]
pub fn cmd_process_commands(
&self,
process_commands_info: &VkCmdProcessCommandsInfo
)
pub fn cmd_reserve_space_for_commands(
&self,
reserve_space_info: &VkCmdReserveSpaceForCommandsInfo
)
[src]
pub fn cmd_reserve_space_for_commands(
&self,
reserve_space_info: &VkCmdReserveSpaceForCommandsInfo
)
pub fn cmd_set_viewport_wscaling(
&self,
first_viewport: usize,
viewport_wscalings: &[VkViewportWScaling]
)
[src]
pub fn cmd_set_viewport_wscaling(
&self,
first_viewport: usize,
viewport_wscalings: &[VkViewportWScaling]
)
pub fn cmd_set_discard_rectangle(
&self,
first_discard_rectangle: usize,
discard_rectangles: &[VkRect2D]
)
[src]
pub fn cmd_set_discard_rectangle(
&self,
first_discard_rectangle: usize,
discard_rectangles: &[VkRect2D]
)
pub fn cmd_begin_debug_utils_label(&self, label_info: &VkDebugUtilsLabel)
[src]
pub fn cmd_begin_debug_utils_label(&self, label_info: &VkDebugUtilsLabel)
pub fn cmd_end_debug_utils_label(&self)
[src]
pub fn cmd_end_debug_utils_label(&self)
pub fn cmd_insert_debug_utils_label(&self, label_info: &VkDebugUtilsLabel)
[src]
pub fn cmd_insert_debug_utils_label(&self, label_info: &VkDebugUtilsLabel)
pub fn cmd_set_sample_locations(
&self,
sample_locations_info: &VkSampleLocationsInfo
)
[src]
pub fn cmd_set_sample_locations(
&self,
sample_locations_info: &VkSampleLocationsInfo
)
pub fn cmd_write_buffer_marker(
&self,
pipeline_stage: VkPipelineStageFlags,
dst_buffer: &VkBuffer,
dst_offset: usize,
marker: usize
)
[src]
pub fn cmd_write_buffer_marker(
&self,
pipeline_stage: VkPipelineStageFlags,
dst_buffer: &VkBuffer,
dst_offset: usize,
marker: usize
)
pub fn cmd_set_checkpoint(&self, checkpoint_marker: &u8)
[src]
pub fn cmd_set_checkpoint(&self, checkpoint_marker: &u8)
Trait Implementations
impl Debug for VkCommandBuffer
[src]
impl Debug for VkCommandBuffer
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for VkCommandBuffer
[src]
impl Copy for VkCommandBuffer
impl Clone for VkCommandBuffer
[src]
impl Clone for VkCommandBuffer
fn clone(&self) -> VkCommandBuffer
[src]
fn clone(&self) -> VkCommandBuffer
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for VkCommandBuffer
[src]
impl Default for VkCommandBuffer
fn default() -> VkCommandBuffer
[src]
fn default() -> VkCommandBuffer
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl !Send for VkCommandBuffer
impl !Send for VkCommandBuffer
impl !Sync for VkCommandBuffer
impl !Sync for VkCommandBuffer