struct aiMemoryInfo {
unsigned int textures;
unsigned int materials;
unsigned int meshes;
unsigned int nodes;
unsigned int animations;
unsigned int cameras;
unsigned int lights;
unsigned int total;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AIMemoryInfo.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | ANIMATIONS
The struct member offsets. |
| public static final int | CAMERAS
The struct member offsets. |
| public static final int | LIGHTS
The struct member offsets. |
| public static final int | MATERIALS
The struct member offsets. |
| public static final int | MESHES
The struct member offsets. |
| public static final int | NODES
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TEXTURES
The struct member offsets. |
| public static final int | TOTAL
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AIMemoryInfo(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public static AIMemoryInfo | |
| public static AIMemoryInfo. | calloc(int
the buffer capacity capacity)Returns a new |
| public static AIMemoryInfo | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIMemoryInfo. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIMemoryInfo | |
| public static AIMemoryInfo | |
| public static AIMemoryInfo. | |
| public static AIMemoryInfo. | |
| public int | |
| protected AIMemoryInfo | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static AIMemoryInfo | |
| public static AIMemoryInfo | |
| public static AIMemoryInfo. | create(int
the buffer capacity capacity)Returns a new |
| public static AIMemoryInfo. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AIMemoryInfo | |
| public static AIMemoryInfo. | |
| public int | |
| public static AIMemoryInfo | |
| public static AIMemoryInfo. | malloc(int
the buffer capacity capacity)Returns a new |
| public static AIMemoryInfo | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIMemoryInfo. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIMemoryInfo | |
| public static AIMemoryInfo | |
| public static AIMemoryInfo. | |
| public static AIMemoryInfo. | |
| public int | |
| public int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public static int | |
| public int | |
| public static int | |
| public static int | |
| public int | |
| public int | |
| public int |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| ANIMATIONS | back to summary |
|---|---|
| public static final int ANIMATIONS The struct member offsets. | |
| CAMERAS | back to summary |
|---|---|
| public static final int CAMERAS The struct member offsets. | |
| LIGHTS | back to summary |
|---|---|
| public static final int LIGHTS The struct member offsets. | |
| MATERIALS | back to summary |
|---|---|
| public static final int MATERIALS The struct member offsets. | |
| MESHES | back to summary |
|---|---|
| public static final int MESHES The struct member offsets. | |
| NODES | back to summary |
|---|---|
| public static final int NODES The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| TEXTURES | back to summary |
|---|---|
| public static final int TEXTURES The struct member offsets. | |
| TOTAL | back to summary |
|---|---|
| public static final int TOTAL The struct member offsets. | |
| AIMemoryInfo | back to summary |
|---|---|
| protected AIMemoryInfo(long address, ByteBuffer container) | |
| AIMemoryInfo | back to summary |
|---|---|
| public AIMemoryInfo(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| animations | back to summary |
|---|---|
| public int animations() Storage allocated for animation data
| |
| calloc | back to summary |
|---|---|
| public static AIMemoryInfo calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static AIMemoryInfo. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIMemoryInfo calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIMemoryInfo. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static AIMemoryInfo callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIMemoryInfo callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIMemoryInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIMemoryInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| cameras | back to summary |
|---|---|
| public int cameras() Storage allocated for camera data
| |
| create | back to summary |
|---|---|
| protected AIMemoryInfo create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static AIMemoryInfo create() Returns a new | |
| create | back to summary |
|---|---|
| public static AIMemoryInfo create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static AIMemoryInfo. Returns a new
| |
| create | back to summary |
|---|---|
| public static AIMemoryInfo. Create a
| |
| createSafe | back to summary |
|---|---|
| public static AIMemoryInfo createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static AIMemoryInfo. Like
| |
| lights | back to summary |
|---|---|
| public int lights() Storage allocated for light data
| |
| malloc | back to summary |
|---|---|
| public static AIMemoryInfo malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static AIMemoryInfo. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIMemoryInfo malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIMemoryInfo. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static AIMemoryInfo mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIMemoryInfo mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIMemoryInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIMemoryInfo. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| materials | back to summary |
|---|---|
| public int materials() Storage allocated for material data
| |
| meshes | back to summary |
|---|---|
| public int meshes() Storage allocated for mesh data
| |
| nanimations | back to summary |
|---|---|
| public static int nanimations(long struct) Unsafe version of | |
| ncameras | back to summary |
|---|---|
| public static int ncameras(long struct) Unsafe version of | |
| nlights | back to summary |
|---|---|
| public static int nlights(long struct) Unsafe version of | |
| nmaterials | back to summary |
|---|---|
| public static int nmaterials(long struct) Unsafe version of | |
| nmeshes | back to summary |
|---|---|
| public static int nmeshes(long struct) Unsafe version of | |
| nnodes | back to summary |
|---|---|
| public static int nnodes(long struct) Unsafe version of | |
| nodes | back to summary |
|---|---|
| public int nodes() Storage allocated for node data
| |
| ntextures | back to summary |
|---|---|
| public static int ntextures(long struct) Unsafe version of | |
| ntotal | back to summary |
|---|---|
| public static int ntotal(long struct) Unsafe version of | |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| textures | back to summary |
|---|---|
| public int textures() Storage allocated for texture data
| |
| total | back to summary |
|---|---|
| public int total() Total storage allocated for the full import.
| |
AIMemoryInfo structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final AIMemoryInfo |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| protected AIMemoryInfo | |
| public int | |
| public int | |
| public int | |
| public int | |
| protected AIMemoryInfo. | |
| public int | |
| public int |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final AIMemoryInfo ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| animations | back to summary |
|---|---|
public int animations()
| |
| cameras | back to summary |
|---|---|
public int cameras()
| |
| getElementFactory | back to summary |
|---|---|
| protected AIMemoryInfo getElementFactory() Implements abstract org.
| |
| lights | back to summary |
|---|---|
public int lights()
| |
| materials | back to summary |
|---|---|
public int materials()
| |
| meshes | back to summary |
|---|---|
public int meshes()
| |
| nodes | back to summary |
|---|---|
public int nodes()
| |
| self | back to summary |
|---|---|
| protected AIMemoryInfo. Implements abstract org.
| |
| textures | back to summary |
|---|---|
public int textures()
| |
| total | back to summary |
|---|---|
public int total()
| |