public static class AIAABB.Buffer extends org.lwjgl.system.StructBuffer<AIAABB,AIAABB.Buffer> implements org.lwjgl.system.NativeResource
AIAABB structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIAABB.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
AIVector3D |
mMax()
Returns a
AIVector3D view of the mMax field. |
AIAABB.Buffer |
mMax(AIVector3D value)
Copies the specified
AIVector3D to the mMax field. |
AIAABB.Buffer |
mMax(java.util.function.Consumer<AIVector3D> consumer)
Passes the
mMax field to the specified Consumer. |
AIVector3D |
mMin()
Returns a
AIVector3D view of the mMin field. |
AIAABB.Buffer |
mMin(AIVector3D value)
Copies the specified
AIVector3D to the mMin field. |
AIAABB.Buffer |
mMin(java.util.function.Consumer<AIVector3D> consumer)
Passes the
mMin field to the specified Consumer. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIAABB.Buffer instance backed by the specified container.
Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by AIAABB.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public AIVector3D mMin()
AIVector3D view of the mMin field.public AIVector3D mMax()
AIVector3D view of the mMax field.public AIAABB.Buffer mMin(AIVector3D value)
AIVector3D to the mMin field.public AIAABB.Buffer mMin(java.util.function.Consumer<AIVector3D> consumer)
mMin field to the specified Consumer.public AIAABB.Buffer mMax(AIVector3D value)
AIVector3D to the mMax field.public AIAABB.Buffer mMax(java.util.function.Consumer<AIVector3D> consumer)
mMax field to the specified Consumer.Copyright LWJGL. All Rights Reserved. License terms.