Skip to main content

NativeShortBuffer

Complete API reference for NativeShortBuffer, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Buffers

Component: no


public class NativeShortBuffer

Constructors

SignatureDescription
NativeShortBuffer(NativeShortBuffer)Executes NativeShortBuffer and returns after the underlying engine call finishes.
NativeShortBuffer(Engine)Executes NativeShortBuffer and returns after the underlying engine call finishes.
NativeShortBuffer(int)Creates a new instance of NativeShortBuffer.

Attributes

NameTypeDescription
bufferNativeShortBufferRepresents the buffer value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
vboEnabledbooleanget/setVirtual attribute exposed by isVboEnabled. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
get(int)shortReturns the current value.
set(int, short)voidSets or updates the the value.
put(short)voidSets or updates the the value.
capacity()intExecutes capacity and returns after the underlying engine call finishes.
getPosition()intReturns the current position.
position(int)intPerforms the position operation using the provided parameters (idx).
setPosition(int)voidSets or updates the position.