public class DynamicBuffer
extends java.lang.Object
| Constructor and Description |
|---|
DynamicBuffer()
Constructs a new instance of
DynamicBuffer. |
| Modifier and Type | Method and Description |
|---|---|
java.nio.FloatBuffer |
getBuffer()
Returns a
FloatBuffer that contains all the data. |
int |
getLength()
Returns the buffer size.
|
DynamicBuffer |
put(float f)
Writes the given float into this buffer at the current position.
|
public DynamicBuffer put(float f)
f - the float to be writtenpublic java.nio.FloatBuffer getBuffer()
FloatBuffer that contains all the data.FloatBufferpublic int getLength()