#[repr(u32)]pub enum Tiling {
Optimal = 0,
Linear = 1,
}Expand description
Image tiling modes.
Variants§
Optimal = 0
Optimal tiling for GPU memory access. Implementation-dependent.
Linear = 1
Optimal for CPU read/write. Texels are laid out in row-major order, possibly with some padding on each row.
Trait Implementations§
impl Copy for Tiling
impl Eq for Tiling
Source§impl Ord for Tiling
impl Ord for Tiling
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Tiling
impl PartialOrd for Tiling
impl StructuralPartialEq for Tiling
Auto Trait Implementations§
impl Freeze for Tiling
impl RefUnwindSafe for Tiling
impl Send for Tiling
impl Sync for Tiling
impl Unpin for Tiling
impl UnsafeUnpin for Tiling
impl UnwindSafe for Tiling
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