GetExportFormatCount to learn how many export-formats are supported by the current
Assimp-build and GetExportFormatDescription to retrieve the description of the export format option.
struct aiExportFormatDesc {
char const * id;
char const * description;
char const * fileExtension;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AIExportFormatDesc.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DESCRIPTION
The struct member offsets. |
| public static final int | FILEEXTENSION
The struct member offsets. |
| public static final int | ID
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AIExportFormatDesc(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc. | calloc(int
the buffer capacity capacity)Returns a new |
| public static AIExportFormatDesc | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIExportFormatDesc. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc. | |
| public static AIExportFormatDesc. | |
| protected AIExportFormatDesc | 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 AIExportFormatDesc | |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc. | create(int
the buffer capacity capacity)Returns a new |
| public static AIExportFormatDesc. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc. | |
| public ByteBuffer | |
| public AIExportFormatDesc | description(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | |
| public ByteBuffer | |
| public AIExportFormatDesc | fileExtension(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | |
| public ByteBuffer | |
| public AIExportFormatDesc | |
| public String | |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc. | malloc(int
the buffer capacity capacity)Returns a new |
| public static AIExportFormatDesc | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AIExportFormatDesc. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc | |
| public static AIExportFormatDesc. | |
| public static AIExportFormatDesc. | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public AIExportFormatDesc | set(ByteBuffer id, ByteBuffer description, ByteBuffer fileExtension)
Initializes this struct with the specified values. |
| public AIExportFormatDesc | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| DESCRIPTION | back to summary |
|---|---|
| public static final int DESCRIPTION The struct member offsets. | |
| FILEEXTENSION | back to summary |
|---|---|
| public static final int FILEEXTENSION The struct member offsets. | |
| ID | back to summary |
|---|---|
| public static final int ID The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| AIExportFormatDesc | back to summary |
|---|---|
| protected AIExportFormatDesc(long address, ByteBuffer container) | |
| AIExportFormatDesc | back to summary |
|---|---|
| public AIExportFormatDesc(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| calloc | back to summary |
|---|---|
| public static AIExportFormatDesc calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static AIExportFormatDesc. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIExportFormatDesc calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AIExportFormatDesc. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static AIExportFormatDesc callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIExportFormatDesc callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIExportFormatDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AIExportFormatDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected AIExportFormatDesc create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static AIExportFormatDesc create() Returns a new | |
| create | back to summary |
|---|---|
| public static AIExportFormatDesc create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static AIExportFormatDesc. Returns a new
| |
| create | back to summary |
|---|---|
| public static AIExportFormatDesc. Create a
| |
| createSafe | back to summary |
|---|---|
| public static AIExportFormatDesc createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static AIExportFormatDesc. Like
| |
| description | back to summary |
|---|---|
| public ByteBuffer description() A short description of the file format to present to users. Useful if you want to allow the user to select an export format.
| |
| description | back to summary |
|---|---|
| public AIExportFormatDesc description(ByteBuffer value) Sets the address of the specified encoded string to the | |
| descriptionString | back to summary |
|---|---|
| public String descriptionString() A short description of the file format to present to users. Useful if you want to allow the user to select an export format.
| |
| fileExtension | back to summary |
|---|---|
| public ByteBuffer fileExtension() Recommended file extension for the exported file in lower case.
| |
| fileExtension | back to summary |
|---|---|
| public AIExportFormatDesc fileExtension(ByteBuffer value) Sets the address of the specified encoded string to the | |
| fileExtensionString | back to summary |
|---|---|
| public String fileExtensionString() Recommended file extension for the exported file in lower case.
| |
| id | back to summary |
|---|---|
| public ByteBuffer id() a short string ID to uniquely identify the export format. Use this ID string to specify which file format you want to export to when calling
| |
| id | back to summary |
|---|---|
| public AIExportFormatDesc id(ByteBuffer value) Sets the address of the specified encoded string to the | |
| idString | back to summary |
|---|---|
| public String idString() a short string ID to uniquely identify the export format. Use this ID string to specify which file format you want to export to when calling
| |
| malloc | back to summary |
|---|---|
| public static AIExportFormatDesc malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static AIExportFormatDesc. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIExportFormatDesc malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AIExportFormatDesc. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static AIExportFormatDesc mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIExportFormatDesc mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIExportFormatDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AIExportFormatDesc. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ndescription | back to summary |
|---|---|
| public static ByteBuffer ndescription(long struct) Unsafe version of | |
| ndescription | back to summary |
|---|---|
| public static void ndescription(long struct, ByteBuffer value) Unsafe version of | |
| ndescriptionString | back to summary |
|---|---|
| public static String ndescriptionString(long struct) Unsafe version of | |
| nfileExtension | back to summary |
|---|---|
| public static ByteBuffer nfileExtension(long struct) Unsafe version of | |
| nfileExtension | back to summary |
|---|---|
| public static void nfileExtension(long struct, ByteBuffer value) Unsafe version of | |
| nfileExtensionString | back to summary |
|---|---|
| public static String nfileExtensionString(long struct) Unsafe version of | |
| nid | back to summary |
|---|---|
| public static ByteBuffer nid(long struct) Unsafe version of | |
| nid | back to summary |
|---|---|
| public static void nid(long struct, ByteBuffer value) Unsafe version of | |
| nidString | back to summary |
|---|---|
| public static String nidString(long struct) Unsafe version of | |
| set | back to summary |
|---|---|
| public AIExportFormatDesc set(ByteBuffer id, ByteBuffer description, ByteBuffer fileExtension) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public AIExportFormatDesc set(AIExportFormatDesc src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
AIExportFormatDesc structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final AIExportFormatDesc |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | Returns: aByteBuffer view of the null-terminated string pointed to by the AIExportFormatDesc#description field.
|
| public AIExportFormatDesc. | description(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | Returns: the null-terminated string pointed to by theAIExportFormatDesc#description field.
|
| public ByteBuffer | Returns: aByteBuffer view of the null-terminated string pointed to by the AIExportFormatDesc#fileExtension field.
|
| public AIExportFormatDesc. | fileExtension(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | Returns: the null-terminated string pointed to by theAIExportFormatDesc#fileExtension field.
|
| protected AIExportFormatDesc | |
| public ByteBuffer | Returns: aByteBuffer view of the null-terminated string pointed to by the AIExportFormatDesc#id field.
|
| public AIExportFormatDesc. | id(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | |
| protected AIExportFormatDesc. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final AIExportFormatDesc 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) | |
| description | back to summary |
|---|---|
public ByteBuffer description()
| |
| description | back to summary |
|---|---|
| public AIExportFormatDesc. Sets the address of the specified encoded string to the | |
| descriptionString | back to summary |
|---|---|
public String descriptionString()
| |
| fileExtension | back to summary |
|---|---|
public ByteBuffer fileExtension()
| |
| fileExtension | back to summary |
|---|---|
| public AIExportFormatDesc. Sets the address of the specified encoded string to the | |
| fileExtensionString | back to summary |
|---|---|
public String fileExtensionString()
| |
| getElementFactory | back to summary |
|---|---|
| protected AIExportFormatDesc getElementFactory() Implements abstract org.
| |
| id | back to summary |
|---|---|
public ByteBuffer id()
| |
| id | back to summary |
|---|---|
| public AIExportFormatDesc. Sets the address of the specified encoded string to the | |
| idString | back to summary |
|---|---|
public String idString()
| |
| self | back to summary |
|---|---|
| protected AIExportFormatDesc. Implements abstract org.
| |