pub struct BoundFrame { /* private fields */ }Implementations§
Source§impl BoundFrame
impl BoundFrame
pub fn new() -> Self
pub fn write_buffer( &mut self, id: BufferId, offset: u64, data: impl Into<Vec<u8>>, )
pub fn write_texture_rgba8( &mut self, id: TextureId, data: impl Into<Vec<u8>>, bytes_per_row: u32, rows_per_image: u32, )
pub fn write_texture_rgba8_region( &mut self, id: TextureId, data: impl Into<Vec<u8>>, origin: [u32; 3], size: Size, bytes_per_row: u32, rows_per_image: u32, )
pub fn write_texture_rgba16_float( &mut self, id: TextureId, data: impl Into<Vec<u16>>, bytes_per_row: u32, rows_per_image: u32, )
pub fn use_media_texture( &mut self, texture: TextureId, key: MediaTextureKey, frame: MediaFrame, size: Size, )
pub fn media_textures(&self) -> &[MediaTextureUpload]
pub fn buffer_upload_count(&self) -> usize
pub fn texture_upload_count(&self) -> usize
pub fn frame_update(&self) -> FrameUpdate<'_>
Trait Implementations§
Source§impl Clone for BoundFrame
impl Clone for BoundFrame
Source§impl Debug for BoundFrame
impl Debug for BoundFrame
Auto Trait Implementations§
impl !RefUnwindSafe for BoundFrame
impl !UnwindSafe for BoundFrame
impl Freeze for BoundFrame
impl Send for BoundFrame
impl Sync for BoundFrame
impl Unpin for BoundFrame
impl UnsafeUnpin for BoundFrame
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