public class NSimplePixelBuffer
Class NSimplePixelBuffer. Provides nsimplepixelbuffer functionality for the Hytale server.
java.lang.Object > NSimplePixelBuffer
Field Summary
state
private
State
state
Field state.
arrayContents
private
ArrayContents
arrayContents
Field arrayContents.
singleValue
private
T
singleValue
Field singleValue.
size_bytes
final
long
size_bytes
Field size_bytes.
Method Detail
NSimplePixelBuffer
public
public
NSimplePixelBuffer
(@Nonnull final Class pixelType)
Method NSimplePixelBuffer.
- Parameters:
@Nonnull final ClasspixelType
switch
public
return
switch
(this.state.ordinal()
Method switch.
- Parameters:
this.state.ordinal(this.state.ordinal(
setPixelContent
Method setPixelContent.
- Parameters:
@Nonnull final Vector3iposition@Nullable final Tvalue
getPixelType
public
Class
getPixelType
()
Method getPixelType.
getMemoryUsage
public
MemInstrument.Report
getMemoryUsage
()
Method getMemoryUsage.
ensureContents
private
void
ensureContents
()
Method ensureContents.
switchFromSingleValueToArray
private
void
switchFromSingleValueToArray
()
Method switchFromSingleValueToArray.
ArrayContents
public
public
ArrayContents
()
Method ArrayContents.