pub struct TransferBatch2 { /* private fields */ }
Implementations§
Source§impl TransferBatch2
impl TransferBatch2
pub fn new() -> Self
pub fn has_ops(&self) -> bool
pub fn copy_buffer( &mut self, src: impl TransferrableBufferResource + Clone + 'static, src_offset: u64, dst: impl TransferrableBufferResource + 'static, dst_offset: u64, byte_length: u64, )
pub fn register_before_transition( &mut self, pipeline_stage: VkPipelineStageFlags, res: impl TransferrableBufferResource + 'static, range: Range<u64>, access_mask: VkAccessFlags, )
pub fn register_after_transition( &mut self, pipeline_stage: VkPipelineStageFlags, res: impl TransferrableBufferResource + 'static, range: Range<u64>, access_mask: VkAccessFlags, )
pub fn register_outer_usage( &mut self, pipeline_stage: VkPipelineStageFlags, res: impl TransferrableBufferResource + Clone + 'static, range: Range<u64>, access_mask: VkAccessFlags, )
pub fn generate_commands<'r, Device: Device>( &self, rec: CmdRecord<'r, Device>, ) -> CmdRecord<'r, Device>
Auto Trait Implementations§
impl Freeze for TransferBatch2
impl !RefUnwindSafe for TransferBatch2
impl !Send for TransferBatch2
impl !Sync for TransferBatch2
impl Unpin for TransferBatch2
impl !UnwindSafe for TransferBatch2
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more