Skip to main content

NativeFloatBuffer

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

Package: JAVARuntime

Category: Buffers

Component: no


public class NativeFloatBuffer

Constructors

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

Attributes

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

Methods

SignatureReturnsDescription
get(int)floatReturns the current value.
get(float[])voidReturns the current value.
get(float[], int)voidReturns the current value.
get(int, float[])voidReturns the current value.
get(int, float[], int, int)voidReturns the current value.
set(int, float)voidSets or updates the the value.
put(float)voidSets or updates the the value.
put(float[])voidSets or updates the the value.
put(short[])voidSets or updates the the value.
put(NativeFloatBuffer)voidExecutes put and returns after the underlying engine call finishes.
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.
set(float[])voidSets or updates the the value.
set(float[], int)voidSets or updates the the value.
set(int, float[])voidSets or updates the the value.
set(int, float[], int, int)voidSets or updates the the value.
getPrecision()PrecisionReturns the current precision.