pub struct FrameUpdate<'a> { /* private fields */ }Implementations§
Source§impl<'a> FrameUpdate<'a>
impl<'a> FrameUpdate<'a>
pub fn new() -> Self
pub fn uploads(&self) -> &[Upload<'a>]
pub fn write_buffer( &mut self, id: BufferId, offset: u64, data: &'a [u8], ) -> &mut Self
pub fn write_texture_rgba8( &mut self, id: TextureId, data: &'a [u8], bytes_per_row: u32, rows_per_image: u32, ) -> &mut Self
pub fn write_texture_rgba8_region( &mut self, id: TextureId, data: &'a [u8], origin: [u32; 3], size: Size, bytes_per_row: u32, rows_per_image: u32, ) -> &mut Self
pub fn write_texture_rgba16_float( &mut self, id: TextureId, data: &'a [u16], bytes_per_row: u32, rows_per_image: u32, ) -> &mut Self
Trait Implementations§
Source§impl<'a> Clone for FrameUpdate<'a>
impl<'a> Clone for FrameUpdate<'a>
Source§fn clone(&self) -> FrameUpdate<'a>
fn clone(&self) -> FrameUpdate<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FrameUpdate<'a>
impl<'a> Debug for FrameUpdate<'a>
Source§impl<'a> Default for FrameUpdate<'a>
impl<'a> Default for FrameUpdate<'a>
Source§fn default() -> FrameUpdate<'a>
fn default() -> FrameUpdate<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for FrameUpdate<'a>
impl<'a> RefUnwindSafe for FrameUpdate<'a>
impl<'a> Send for FrameUpdate<'a>
impl<'a> Sync for FrameUpdate<'a>
impl<'a> Unpin for FrameUpdate<'a>
impl<'a> UnsafeUnpin for FrameUpdate<'a>
impl<'a> UnwindSafe for FrameUpdate<'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