|
|
MCAPI | SubChunkStoragePaletted (IDataInput &stream, RuntimeDeserializationLookup< T > const &lookUp) |
|
MCAPI | SubChunkStoragePaletted (IDataInput &stream, PersistentDeserializationLookup< T > const &lookUp) |
|
MCAPI | SubChunkStoragePaletted (SubChunkStorage< T > const &upgradeFrom) |
|
MCAPI | SubChunkStoragePaletted (T const &uniformElement) |
|
MCAPI | SubChunkStoragePaletted (VolumeView const &view, GenericPalette const &palette) |
|
template<unsigned long IN_CAPACITY> |
| MCAPI | SubChunkStoragePaletted (SubChunkStorage< T > const &toPrune, std::bitset< IN_CAPACITY > const &usedIndices) |
| MCAPI bool | isUniform (T const &) const override |
| MCAPI bool | isPaletteUniform (T const &) const override |
| MCAPI T const & | getElement (uint16) const override |
| MCAPI bool | trySetElement (uint16, T const &) override |
| MCAPI size_t | getElementTypeCapacity () const override |
| MCAPI bool | hasAvailableElementTypeCapacity () const override |
| MCAPI SubChunkStorageUnit::Type | getType () const override |
| MCAPI size_t | getMemoryEstimate () const override |
| MCAPI std::unique_ptr< SubChunkStorage< T > > | makePrunedCopy (SubChunkStorageUnit::PruneType) const override |
| MCAPI void | fetchElementInCylinder (BlockPos const &, BlockPos const &, uint32, uint32, brstd::function_ref< bool(T const &), bool(T const &)> const &, std::vector< BlockDataFetchResult< T > > &) const override |
| MCAPI void | fetchElementInBox (BlockPos const &, BoundingBox const &, brstd::function_ref< bool(T const &), bool(T const &)> const &, std::vector< BlockDataFetchResult< T > > &) const override |
| MCAPI bool | hasAnyElementInBox (BlockPos const &, BoundingBox const &, brstd::function_ref< bool(T const &), bool(T const &)> const &) const override |
| MCAPI bool | hasAnyElementMatchingFilterInPalette (std::function< bool(T const &)> const &) const override |
| MCAPI void | _serialize (IDataOutput &, RuntimeSerializationLookup< T > const &) const override |
| MCAPI void | _serialize (IDataOutput &, PersistentSerializationLookup< T > const &) const override |
| MCAPI gsl::span< unsigned int const > | getPackedElement () const override |
| MCAPI size_t | getBitsPerElement () const override |
| MCAPI gsl::span< T const *const > | getPaletteSnapshot () const override |
|
MCAPI void | _zeroIndicesGreaterEqualThan (uint16 max) |
|
virtual gsl::span< unsigned int > | getPackedElement ()=0 |
|
virtual ISubChunkStoragePaletted< T > & | asPalettedStorage ()=0 |
|
virtual ISubChunkStoragePaletted< T > const & | asPalettedStorage () const =0 |