pub enum MipmapSource {
Uploaded,
Generated,
}
Expand description
How texture mipmaps get generated.
Variants§
Uploaded
The user will provide all of the mipmaps in the data texture. Upload all mip levels.
Generated
rend3 will generate the mipmaps for you. Upload only mip level 0.
Trait Implementations§
Source§impl Clone for MipmapSource
impl Clone for MipmapSource
Source§fn clone(&self) -> MipmapSource
fn clone(&self) -> MipmapSource
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 moreAuto Trait Implementations§
impl Freeze for MipmapSource
impl RefUnwindSafe for MipmapSource
impl Send for MipmapSource
impl Sync for MipmapSource
impl Unpin for MipmapSource
impl UnwindSafe for MipmapSource
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