Package org.lwjgl.assimp
Class AIImporterDesc.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<AIImporterDesc.Buffer>
org.lwjgl.system.StructBuffer<AIImporterDesc,AIImporterDesc.Buffer>
org.lwjgl.assimp.AIImporterDesc.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<AIImporterDesc>,NativeResource,Pointer
- Enclosing class:
AIImporterDesc
public static class AIImporterDesc.Buffer
extends StructBuffer<AIImporterDesc,AIImporterDesc.Buffer>
implements NativeResource
An array of
AIImporterDesc structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newAIImporterDesc.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionmAuthor()mAuthor(ByteBuffer value) Sets the address of the specified encoded string to themAuthorfield.mComments(ByteBuffer value) Sets the address of the specified encoded string to themCommentsfield.mFileExtensions(ByteBuffer value) Sets the address of the specified encoded string to themFileExtensionsfield.intmFlags()mFlags(int value) Sets the specified value to themFlagsfield.mMaintainer(ByteBuffer value) Sets the address of the specified encoded string to themMaintainerfield.intmMaxMajor(int value) Sets the specified value to themMaxMajorfield.intmMaxMinor(int value) Sets the specified value to themMaxMinorfield.intmMinMajor(int value) Sets the specified value to themMinMajorfield.intmMinMinor(int value) Sets the specified value to themMinMinorfield.mName()mName(ByteBuffer value) Sets the address of the specified encoded string to themNamefield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newAIImporterDesc.Bufferinstance 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
AIImporterDesc.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
mName
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by themNamefield.
-
mNameString
- Returns:
- the null-terminated string pointed to by the
mNamefield.
-
mAuthor
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by themAuthorfield.
-
mAuthorString
- Returns:
- the null-terminated string pointed to by the
mAuthorfield.
-
mMaintainer
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by themMaintainerfield.
-
mMaintainerString
- Returns:
- the null-terminated string pointed to by the
mMaintainerfield.
-
mComments
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by themCommentsfield.
-
mCommentsString
- Returns:
- the null-terminated string pointed to by the
mCommentsfield.
-
mFlags
public int mFlags()- Returns:
- the value of the
mFlagsfield.
-
mMinMajor
public int mMinMajor()- Returns:
- the value of the
mMinMajorfield.
-
mMinMinor
public int mMinMinor()- Returns:
- the value of the
mMinMinorfield.
-
mMaxMajor
public int mMaxMajor()- Returns:
- the value of the
mMaxMajorfield.
-
mMaxMinor
public int mMaxMinor()- Returns:
- the value of the
mMaxMinorfield.
-
mFileExtensions
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by themFileExtensionsfield.
-
mFileExtensionsString
- Returns:
- the null-terminated string pointed to by the
mFileExtensionsfield.
-
mName
Sets the address of the specified encoded string to themNamefield. -
mAuthor
Sets the address of the specified encoded string to themAuthorfield. -
mMaintainer
Sets the address of the specified encoded string to themMaintainerfield. -
mComments
Sets the address of the specified encoded string to themCommentsfield. -
mFlags
Sets the specified value to themFlagsfield. -
mMinMajor
Sets the specified value to themMinMajorfield. -
mMinMinor
Sets the specified value to themMinMinorfield. -
mMaxMajor
Sets the specified value to themMaxMajorfield. -
mMaxMinor
Sets the specified value to themMaxMinorfield. -
mFileExtensions
Sets the address of the specified encoded string to themFileExtensionsfield.
-