pub struct TextureCacheAllocInfo {
    pub width: i32,
    pub height: i32,
    pub format: ImageFormat,
    pub filter: TextureFilter,
    pub target: ImageBufferKind,
    pub is_shared_cache: bool,
    pub has_depth: bool,
    pub category: TextureCacheCategory,
}Expand description
Information used when allocating / reallocating.
Fields§
§width: i32§height: i32§format: ImageFormat§filter: TextureFilter§target: ImageBufferKindIndicates whether this corresponds to one of the shared texture caches.
has_depth: boolIf true, this texture requires a depth target.
category: TextureCacheCategoryTrait Implementations§
Source§impl Clone for TextureCacheAllocInfo
 
impl Clone for TextureCacheAllocInfo
Source§fn clone(&self) -> TextureCacheAllocInfo
 
fn clone(&self) -> TextureCacheAllocInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 TextureCacheAllocInfo
 
impl Debug for TextureCacheAllocInfo
Source§impl PartialEq for TextureCacheAllocInfo
 
impl PartialEq for TextureCacheAllocInfo
impl Copy for TextureCacheAllocInfo
impl Eq for TextureCacheAllocInfo
impl StructuralPartialEq for TextureCacheAllocInfo
Auto Trait Implementations§
impl Freeze for TextureCacheAllocInfo
impl RefUnwindSafe for TextureCacheAllocInfo
impl Send for TextureCacheAllocInfo
impl Sync for TextureCacheAllocInfo
impl Unpin for TextureCacheAllocInfo
impl UnwindSafe for TextureCacheAllocInfo
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,
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