public class NVoxelBuffer
Class NVoxelBuffer. Provides nvoxelbuffer functionality for the Hytale server.
java.lang.Object > NVoxelBuffer
Field Summary
state
private
State
state
Field state.
arrayContents
private
ArrayContents
arrayContents
Field arrayContents.
singleValue
private
T
singleValue
Field singleValue.
referenceBuffer
private
NVoxelBuffer
referenceBuffer
Field referenceBuffer.
size_bytes
final
long
size_bytes
Field size_bytes.
Method Detail
NVoxelBuffer
public
public
NVoxelBuffer
(@Nonnull final Class voxelType)
Method NVoxelBuffer.
- Parameters:
@Nonnull final ClassvoxelType
switch
public
return
switch
(this.state.ordinal()
Method switch.
- Parameters:
this.state.ordinal(this.state.ordinal(
getVoxelType
public
Class
getVoxelType
()
Method getVoxelType.
setVoxelContent
Method setVoxelContent.
- Parameters:
@Nonnull final Vector3iposition@Nullable final Tvalue
getMemoryUsage
public
MemInstrument.Report
getMemoryUsage
()
Method getMemoryUsage.
switchFromSingleValueToArray
private
void
switchFromSingleValueToArray
()
Method switchFromSingleValueToArray.
dereference
private
void
dereference
()
Method dereference.
ArrayContents
public
public
ArrayContents
()
Method ArrayContents.