pub struct Atlas {
pub columns: u32,
pub cells: u32,
pub cell: Value,
pub blend_cells: bool,
}Expand description
A texture atlas cut into cells.
Fields§
§columns: u32Cells per row.
cells: u32Cells in use.
cell: ValueThe cell shown (a fractional value blends two when blend_cells), a function of the particle’s age.
blend_cells: boolWhether neighbouring cells are cross-faded.
Trait Implementations§
impl StructuralPartialEq for Atlas
Auto Trait Implementations§
impl Forget for Atlas
impl Freeze for Atlas
impl RefUnwindSafe for Atlas
impl Send for Atlas
impl Sync for Atlas
impl Unpin for Atlas
impl UnsafeUnpin for Atlas
impl UnwindSafe for Atlas
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