pub struct TileMapChunkBatch { /* private fields */ }Expand description
Cached static 16x16 tilemap chunk storing merged horizontal TileRunBatch spans for fast frustum-culled rendering.
Implementations§
Source§impl TileMapChunkBatch
impl TileMapChunkBatch
pub fn get_chunk_col(&self) -> usize
pub fn get_mut_chunk_col(&mut self) -> &mut usize
pub fn set_chunk_col(&mut self, val: usize) -> &mut Self
pub fn get_chunk_row(&self) -> usize
pub fn get_mut_chunk_row(&mut self) -> &mut usize
pub fn set_chunk_row(&mut self, val: usize) -> &mut Self
pub fn get_min_col(&self) -> usize
pub fn get_mut_min_col(&mut self) -> &mut usize
pub fn set_min_col(&mut self, val: usize) -> &mut Self
pub fn get_max_col(&self) -> usize
pub fn get_mut_max_col(&mut self) -> &mut usize
pub fn set_max_col(&mut self, val: usize) -> &mut Self
pub fn get_min_row(&self) -> usize
pub fn get_mut_min_row(&mut self) -> &mut usize
pub fn set_min_row(&mut self, val: usize) -> &mut Self
pub fn get_max_row(&self) -> usize
pub fn get_mut_max_row(&mut self) -> &mut usize
pub fn set_max_row(&mut self, val: usize) -> &mut Self
pub fn get_runs(&self) -> &Vec<TileRunBatch>
pub fn get_mut_runs(&mut self) -> &mut Vec<TileRunBatch>
pub fn set_runs(&mut self, val: Vec<TileRunBatch>) -> &mut Self
Trait Implementations§
Source§impl Clone for TileMapChunkBatch
impl Clone for TileMapChunkBatch
Source§impl Debug for TileMapChunkBatch
impl Debug for TileMapChunkBatch
Source§impl Default for TileMapChunkBatch
impl Default for TileMapChunkBatch
Source§impl PartialEq for TileMapChunkBatch
impl PartialEq for TileMapChunkBatch
impl StructuralPartialEq for TileMapChunkBatch
Auto Trait Implementations§
impl Forget for TileMapChunkBatch
impl Freeze for TileMapChunkBatch
impl Move for TileMapChunkBatch
impl RefUnwindSafe for TileMapChunkBatch
impl Send for TileMapChunkBatchwhere
RawVecInner: Send,
impl Sync for TileMapChunkBatchwhere
RawVecInner: Sync,
impl Unpin for TileMapChunkBatch
impl UnsafeUnpin for TileMapChunkBatch
impl UnwindSafe for TileMapChunkBatchwhere
RawVecInner: UnwindSafe,
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