public static class AIMemoryInfo.Buffer extends org.lwjgl.system.StructBuffer<AIMemoryInfo,AIMemoryInfo.Buffer> implements org.lwjgl.system.NativeResource
AIMemoryInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
AIMemoryInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
animations()
Returns the value of the
animations field. |
int |
cameras()
Returns the value of the
cameras field. |
int |
lights()
Returns the value of the
lights field. |
int |
materials()
Returns the value of the
materials field. |
int |
meshes()
Returns the value of the
meshes field. |
int |
nodes()
Returns the value of the
nodes field. |
int |
textures()
Returns the value of the
textures field. |
int |
total()
Returns the value of the
total field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
AIMemoryInfo.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 AIMemoryInfo.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 int textures()
textures field.public int materials()
materials field.public int meshes()
meshes field.public int nodes()
nodes field.public int animations()
animations field.public int cameras()
cameras field.public int lights()
lights field.public int total()
total field.Copyright LWJGL. All Rights Reserved. License terms.