sourceQueueLevel must be greater than the sourceQueueLevel of any ChunkSource whose download method depends on chunks from this source. A normal ChunkSource with no other dependencies should have a level of 0.
Helper function for computing the voxel bounds of a chunk based on its chunkGridPosition.
This assumes that the grid of chunk positions starts at this.baseVoxelOffset. Chunks are clipped to lie within upperVoxelBound, but are not clipped to lie within lowerVoxelBound. (The frontend code currently cannot handle chunks clipped at their lower corner, and the chunk layout can generally be chosen so that lowerVoxelBound lies on a chunk boundary.)
This sets chunk.chunkDataSize to a copy of the returned chunkDataSize if it differs from this.spec.chunkDataSize; otherwise, it is set to this.spec.chunkDataSize.
A globally-allocated Vec3 containing the chunk corner position in voxel coordinates. The returned Vec3 will be invalidated by any subsequent call to this method, even on a different VolumeChunkSource instance.
Protected
ownerProtected
refOptional
options: boolean | AddEventListenerOptionsGenerated using TypeDoc
Should be set to a constant specifying the SharedObject type identifier on the prototype of final derived owner classes. It is not used on counterpart (non-owner) classes.