pub struct TilePageBatches {
pub opaque: Option<TileBatch>,
pub translucent: Option<TileBatch>,
}Expand description
Per-page tile draw buffers split by depth behavior.
Opaque tiles (full opacity) are drawn first with depth writes enabled. Translucent tiles (fade transitions and fallback softening) are drawn afterward with depth writes disabled so same-plane cross-fades do not self-occlude.
Fields§
§opaque: Option<TileBatch>Full-opacity tiles for this atlas page.
translucent: Option<TileBatch>Fading or fallback tiles for this atlas page.
Auto Trait Implementations§
impl Freeze for TilePageBatches
impl !RefUnwindSafe for TilePageBatches
impl Send for TilePageBatches
impl Sync for TilePageBatches
impl Unpin for TilePageBatches
impl UnsafeUnpin for TilePageBatches
impl !UnwindSafe for TilePageBatches
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