[−][src]Trait fastanvil::ChunkRender
ChunkRender objects can render a given chunk. What they render to is entirely up to the implementation.
Required methods
pub fn draw(&mut self, xc_rel: usize, zc_rel: usize, chunk: &mut Chunk<'_>)
[src]
Draw the given chunk.
pub fn draw_invalid(&mut self, xc_rel: usize, zc_rel: usize)
[src]
Draw the invalid chunk. This means that the chunk was not of an expected form and couldn't be deserialized into a chunk object.