NativeFloatBuffer
Complete API reference for NativeFloatBuffer, including constructors, attributes, virtual attributes, and methods.
Package: JAVARuntime
Category: Buffers
Component: no
public class NativeFloatBuffer
Constructors
| Signature | Description |
|---|---|
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
| Name | Type | Description |
|---|---|---|
buffer | NativeFloatBuffer | Represents the buffer value stored on this instance. Read or assign to update the property. |
Methods
| Signature | Returns | Description |
|---|---|---|
get(int) | float | Returns the current value. |
get(float[]) | void | Returns the current value. |
get(float[], int) | void | Returns the current value. |
get(int, float[]) | void | Returns the current value. |
get(int, float[], int, int) | void | Returns the current value. |
set(int, float) | void | Sets or updates the the value. |
put(float) | void | Sets or updates the the value. |
put(float[]) | void | Sets or updates the the value. |
put(short[]) | void | Sets or updates the the value. |
put(NativeFloatBuffer) | void | Executes put and returns after the underlying engine call finishes. |
capacity() | int | Executes capacity and returns after the underlying engine call finishes. |
getPosition() | int | Returns the current position. |
position(int) | int | Performs the position operation using the provided parameters (idx). |
setPosition(int) | void | Sets or updates the position. |
set(float[]) | void | Sets or updates the the value. |
set(float[], int) | void | Sets or updates the the value. |
set(int, float[]) | void | Sets or updates the the value. |
set(int, float[], int, int) | void | Sets or updates the the value. |
getPrecision() | Precision | Returns the current precision. |