Chunk

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(ChunkWorldPos position)
Undocumented in source.

Members

Functions

adjacentHasUnappliedChanges
bool adjacentHasUnappliedChanges()
Undocumented in source. Be warned that the author may not have intended to support it.
adjacentUsed
bool adjacentUsed()
Undocumented in source. Be warned that the author may not have intended to support it.
allAdjacentLoaded
bool allAdjacentLoaded()
Undocumented in source. Be warned that the author may not have intended to support it.
canBeMeshed
bool canBeMeshed()
Undocumented in source. Be warned that the author may not have intended to support it.
getBlockType
BlockType getBlockType(int x, int y, int z)
Undocumented in source. Be warned that the author may not have intended to support it.
getBlockType
BlockType getBlockType(BlockChunkIndex blockChunkIndex)
Undocumented in source. Be warned that the author may not have intended to support it.
getReadableSnapshot
BlockDataSnapshot* getReadableSnapshot(TimestampType timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
getWriteableSnapshot
BlockDataSnapshot* getWriteableSnapshot(TimestampType timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
isMarkedForDeletion
bool isMarkedForDeletion()
Undocumented in source. Be warned that the author may not have intended to support it.
isUsed
bool isUsed()
Undocumented in source. Be warned that the author may not have intended to support it.
needsMesh
bool needsMesh()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

adjacent
Chunk*[6] adjacent;
Undocumented in source.
change
ChunkChange change;
Undocumented in source.
hasMesh
bool hasMesh;
Undocumented in source.
hasUnappliedChanges
bool hasUnappliedChanges;
Undocumented in source.
hasWriter
bool hasWriter;
Undocumented in source.
isDirty
bool isDirty;
Undocumented in source.
isLoaded
bool isLoaded;
Undocumented in source.
isMeshing
bool isMeshing;
Undocumented in source.
isVisible
bool isVisible;
Undocumented in source.
mesh
ChunkMesh mesh;
Undocumented in source.
newMeshData
ubyte[] newMeshData;
Undocumented in source.
next
Chunk* next;
Undocumented in source.
numReaders
ushort numReaders;
Undocumented in source.
position
ChunkWorldPos position;
Undocumented in source.
prev
Chunk* prev;
Undocumented in source.
snapshot
BlockDataSnapshot snapshot;
Undocumented in source.

Meta