pub struct MipMapGenerator;Expand description
Generates box-filtered mip-maps for ImageAsset data.
Each mip level is half the size of the previous, stopping at 1x1. Only RGBA8 images are supported; others pass through unchanged.
Trait Implementations§
Source§impl AssetProcessor<ImageAsset> for MipMapGenerator
impl AssetProcessor<ImageAsset> for MipMapGenerator
Auto Trait Implementations§
impl Freeze for MipMapGenerator
impl RefUnwindSafe for MipMapGenerator
impl Send for MipMapGenerator
impl Sync for MipMapGenerator
impl Unpin for MipMapGenerator
impl UnsafeUnpin for MipMapGenerator
impl UnwindSafe for MipMapGenerator
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