#[repr(C)]pub enum AtlasAlgorithm {
Offline = 0,
Online = 1,
}Available on crate feature
image only.Expand description
The packing algorithm used for texture atlas generation.
Variants§
Offline = 0
Offline packing algorithm (default). produces a more optimal layout.
Online = 1
Online packing algorithm. Faster than the offline algorithm, but the resulting layout may not be optimal.
Trait Implementations§
Source§impl Clone for AtlasAlgorithm
impl Clone for AtlasAlgorithm
impl Copy for AtlasAlgorithm
Source§impl Debug for AtlasAlgorithm
impl Debug for AtlasAlgorithm
Source§impl Default for AtlasAlgorithm
impl Default for AtlasAlgorithm
Source§impl<'de> Deserialize<'de> for AtlasAlgorithm
impl<'de> Deserialize<'de> for AtlasAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AtlasAlgorithm
Source§impl Hash for AtlasAlgorithm
impl Hash for AtlasAlgorithm
Source§impl PartialEq for AtlasAlgorithm
impl PartialEq for AtlasAlgorithm
Source§impl Serialize for AtlasAlgorithm
impl Serialize for AtlasAlgorithm
impl StructuralPartialEq for AtlasAlgorithm
Auto Trait Implementations§
impl Forget for AtlasAlgorithm
impl Freeze for AtlasAlgorithm
impl Move for AtlasAlgorithm
impl RefUnwindSafe for AtlasAlgorithm
impl Send for AtlasAlgorithm
impl Sync for AtlasAlgorithm
impl Unpin for AtlasAlgorithm
impl UnsafeUnpin for AtlasAlgorithm
impl UnwindSafe for AtlasAlgorithm
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