Class: Vector2Buffer
This page documents the methods and fields available in the Vector2Buffer class.
Members
| Signature | Description |
|---|---|
Vector2Buffer(NativeFloatBuffer) | Creates a new instance of Vector2Buffer. |
Vector2Buffer(int) | Creates a new instance of Vector2Buffer. |
array() | Performs the array operation. |
capacity() | Performs the capacity operation. |
copy() | Returns a copy of this Vector2Buffer instance. |
get(int) | Returns the current value. |
getFloatBuffer() | Returns the current float buffer. |
getX(int) | Returns the current x. |
getY(int) | Returns the current y. |
isVboEnabled() | Returns whether vbo enabled is true. |
position(int) | Performs the position operation using the provided parameters (idx). |
put(Vector2) | Sets or updates the the value. |
put(float, float) | Sets or updates the the value. |
set(int, Vector2) | Sets or updates the the value. |
set(int, float, float) | Sets or updates the the value. |
setVboEnabled(boolean) | Sets or updates the vbo enabled. |