Struct ash::vk::SubmitInfo
source · #[repr(C)]pub struct SubmitInfo<'a> {
pub s_type: StructureType,
pub p_next: *const c_void,
pub wait_semaphore_count: u32,
pub p_wait_semaphores: *const Semaphore,
pub p_wait_dst_stage_mask: *const PipelineStageFlags,
pub command_buffer_count: u32,
pub p_command_buffers: *const CommandBuffer,
pub signal_semaphore_count: u32,
pub p_signal_semaphores: *const Semaphore,
pub _marker: PhantomData<&'a ()>,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§wait_semaphore_count: u32
§p_wait_semaphores: *const Semaphore
§p_wait_dst_stage_mask: *const PipelineStageFlags
§command_buffer_count: u32
§p_command_buffers: *const CommandBuffer
§signal_semaphore_count: u32
§p_signal_semaphores: *const Semaphore
§_marker: PhantomData<&'a ()>
Implementations§
source§impl<'a> SubmitInfo<'a>
impl<'a> SubmitInfo<'a>
pub fn wait_semaphores(self, wait_semaphores: &'a [Semaphore]) -> Self
pub fn wait_dst_stage_mask( self, wait_dst_stage_mask: &'a [PipelineStageFlags] ) -> Self
pub fn command_buffers(self, command_buffers: &'a [CommandBuffer]) -> Self
pub fn signal_semaphores(self, signal_semaphores: &'a [Semaphore]) -> Self
sourcepub fn push_next<T: ExtendsSubmitInfo + ?Sized>(self, next: &'a mut T) -> Self
pub fn push_next<T: ExtendsSubmitInfo + ?Sized>(self, next: &'a mut T) -> Self
Prepends the given extension struct between the root and the first pointer. This
method only exists on structs that can be passed to a function directly. Only
valid extension structs can be pushed into the chain.
If the chain looks like A -> B -> C
, and you call x.push_next(&mut D)
, then the
chain will look like A -> D -> B -> C
.
Trait Implementations§
source§impl<'a> Clone for SubmitInfo<'a>
impl<'a> Clone for SubmitInfo<'a>
source§fn clone(&self) -> SubmitInfo<'a>
fn clone(&self) -> SubmitInfo<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for SubmitInfo<'a>
impl<'a> Debug for SubmitInfo<'a>
source§impl Default for SubmitInfo<'_>
impl Default for SubmitInfo<'_>
source§impl<'a> TaggedStructure for SubmitInfo<'a>
impl<'a> TaggedStructure for SubmitInfo<'a>
const STRUCTURE_TYPE: StructureType = StructureType::SUBMIT_INFO
impl<'a> Copy for SubmitInfo<'a>
impl Send for SubmitInfo<'_>
impl Sync for SubmitInfo<'_>
Auto Trait Implementations§
impl<'a> Freeze for SubmitInfo<'a>
impl<'a> RefUnwindSafe for SubmitInfo<'a>
impl<'a> Unpin for SubmitInfo<'a>
impl<'a> UnwindSafe for SubmitInfo<'a>
Blanket Implementations§
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