Contents
Class CountedPixelBuffer<T>
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.engine.bufferbundle.buffers.Buffer
com.hypixel.hytale.builtin.hytalegenerator.engine.bufferbundle.buffers.PixelBuffer<T>
com.hypixel.hytale.builtin.hytalegenerator.engine.bufferbundle.buffers.CountedPixelBuffer<T>
- All Implemented Interfaces:
MemInstrument
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface MemInstrument
MemInstrument.Report -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Bounds3istatic final intstatic final org.joml.Vector3iFields inherited from class PixelBuffer
SIZEFields inherited from interface MemInstrument
ARRAY_HEADER_SIZE, ARRAYLIST_OBJECT_SIZE, BOOLEAN_SIZE, BYTES_IN_MEGABYTES, CLASS_OBJECT_SIZE, DOUBLE_SIZE, HASHMAP_ENTRY_SIZE, INT_SIZE, OBJECT_HEADER_SIZE, OBJECT_REFERENCE_SIZE, VECTOR3I_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopyFrom(CountedPixelBuffer<T> sourceBuffer) getPixelContent(int x, int y, int z) voidsetPixelContent(int x, int y, int z, T value) Methods inherited from class PixelBuffer
getPixelContent, setPixelContent
-
Field Details
-
BUFFER_SIZE_BITS
public static final int BUFFER_SIZE_BITS- See Also:
-
SIZE_VOXEL_GRID
@Nonnull public static final org.joml.Vector3i SIZE_VOXEL_GRID -
BOUNDS_VOXEL_GRID
-
-
Constructor Details
-
CountedPixelBuffer
-
-
Method Details
-
getPixelContent
- Specified by:
getPixelContentin classPixelBuffer<T>
-
setPixelContent
- Specified by:
setPixelContentin classPixelBuffer<T>
-
getPixelType
- Specified by:
getPixelTypein classPixelBuffer<T>
-
getUniqueEntries
-
copyFrom
-
getMemoryUsage
-