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§fn clone(&self) -> BoundFrame
fn clone(&self) -> BoundFrame
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 Debug for BoundFrame
impl Debug for BoundFrame
Source§impl Default for BoundFrame
impl Default for BoundFrame
Source§fn default() -> BoundFrame
fn default() -> BoundFrame
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BoundFrame
impl !RefUnwindSafe for BoundFrame
impl Send for BoundFrame
impl Sync for BoundFrame
impl Unpin for BoundFrame
impl UnsafeUnpin for BoundFrame
impl !UnwindSafe 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