pub struct AtlasKindStats {
pub pages: u32,
pub bytes: u64,
pub tiles: u32,
pub tile_pixels: u64,
}Expand description
vue-native fork: one AtlasTextureKind’s pages in a sprite atlas.
Fields§
§pages: u32Live texture pages of this kind.
bytes: u64Their GPU bytes: width × height × bytes per pixel, one mip level.
tiles: u32Tiles allocated in them.
tile_pixels: u64The pixels those tiles cover, padding included — against bytes, how
full the pages are.
Trait Implementations§
Source§impl Clone for AtlasKindStats
impl Clone for AtlasKindStats
impl Copy for AtlasKindStats
Source§impl Debug for AtlasKindStats
impl Debug for AtlasKindStats
Auto Trait Implementations§
impl Forget for AtlasKindStats
impl Freeze for AtlasKindStats
impl Move for AtlasKindStats
impl RefUnwindSafe for AtlasKindStats
impl Send for AtlasKindStats
impl Sync for AtlasKindStats
impl Unpin for AtlasKindStats
impl UnsafeUnpin for AtlasKindStats
impl UnwindSafe for AtlasKindStats
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
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