Package org.lwjgl.assimp
Class AIImporterDesc.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<AIImporterDesc,AIImporterDesc.Buffer>
-
- org.lwjgl.assimp.AIImporterDesc.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<AIImporterDesc>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- AIImporterDesc
public static class AIImporterDesc.Buffer extends org.lwjgl.system.StructBuffer<AIImporterDesc,AIImporterDesc.Buffer> implements org.lwjgl.system.NativeResource
An array ofAIImporterDescstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffermAuthor()Returns aByteBufferview of the null-terminated string pointed to by themAuthorfield.AIImporterDesc.BuffermAuthor(java.nio.ByteBuffer value)Sets the address of the specified encoded string to themAuthorfield.java.lang.StringmAuthorString()Decodes the null-terminated string pointed to by themAuthorfield.java.nio.ByteBuffermComments()Returns aByteBufferview of the null-terminated string pointed to by themCommentsfield.AIImporterDesc.BuffermComments(java.nio.ByteBuffer value)Sets the address of the specified encoded string to themCommentsfield.java.lang.StringmCommentsString()Decodes the null-terminated string pointed to by themCommentsfield.java.nio.ByteBuffermFileExtensions()Returns aByteBufferview of the null-terminated string pointed to by themFileExtensionsfield.AIImporterDesc.BuffermFileExtensions(java.nio.ByteBuffer value)Sets the address of the specified encoded string to themFileExtensionsfield.java.lang.StringmFileExtensionsString()Decodes the null-terminated string pointed to by themFileExtensionsfield.intmFlags()Returns the value of themFlagsfield.AIImporterDesc.BuffermFlags(int value)Sets the specified value to themFlagsfield.java.nio.ByteBuffermMaintainer()Returns aByteBufferview of the null-terminated string pointed to by themMaintainerfield.AIImporterDesc.BuffermMaintainer(java.nio.ByteBuffer value)Sets the address of the specified encoded string to themMaintainerfield.java.lang.StringmMaintainerString()Decodes the null-terminated string pointed to by themMaintainerfield.intmMaxMajor()Returns the value of themMaxMajorfield.AIImporterDesc.BuffermMaxMajor(int value)Sets the specified value to themMaxMajorfield.intmMaxMinor()Returns the value of themMaxMinorfield.AIImporterDesc.BuffermMaxMinor(int value)Sets the specified value to themMaxMinorfield.intmMinMajor()Returns the value of themMinMajorfield.AIImporterDesc.BuffermMinMajor(int value)Sets the specified value to themMinMajorfield.intmMinMinor()Returns the value of themMinMinorfield.AIImporterDesc.BuffermMinMinor(int value)Sets the specified value to themMinMinorfield.java.nio.ByteBuffermName()Returns aByteBufferview of the null-terminated string pointed to by themNamefield.AIImporterDesc.BuffermName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to themNamefield.java.lang.StringmNameString()Decodes the null-terminated string pointed to by themNamefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
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 byAIImporterDesc.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 Detail
-
mName
public java.nio.ByteBuffer mName()
Returns aByteBufferview of the null-terminated string pointed to by themNamefield.
-
mNameString
public java.lang.String mNameString()
Decodes the null-terminated string pointed to by themNamefield.
-
mAuthor
public java.nio.ByteBuffer mAuthor()
Returns aByteBufferview of the null-terminated string pointed to by themAuthorfield.
-
mAuthorString
public java.lang.String mAuthorString()
Decodes the null-terminated string pointed to by themAuthorfield.
-
mMaintainer
public java.nio.ByteBuffer mMaintainer()
Returns aByteBufferview of the null-terminated string pointed to by themMaintainerfield.
-
mMaintainerString
public java.lang.String mMaintainerString()
Decodes the null-terminated string pointed to by themMaintainerfield.
-
mComments
public java.nio.ByteBuffer mComments()
Returns aByteBufferview of the null-terminated string pointed to by themCommentsfield.
-
mCommentsString
public java.lang.String mCommentsString()
Decodes the null-terminated string pointed to by themCommentsfield.
-
mFlags
public int mFlags()
Returns the value of themFlagsfield.
-
mMinMajor
public int mMinMajor()
Returns the value of themMinMajorfield.
-
mMinMinor
public int mMinMinor()
Returns the value of themMinMinorfield.
-
mMaxMajor
public int mMaxMajor()
Returns the value of themMaxMajorfield.
-
mMaxMinor
public int mMaxMinor()
Returns the value of themMaxMinorfield.
-
mFileExtensions
public java.nio.ByteBuffer mFileExtensions()
Returns aByteBufferview of the null-terminated string pointed to by themFileExtensionsfield.
-
mFileExtensionsString
public java.lang.String mFileExtensionsString()
Decodes the null-terminated string pointed to by themFileExtensionsfield.
-
mName
public AIImporterDesc.Buffer mName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themNamefield.
-
mAuthor
public AIImporterDesc.Buffer mAuthor(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themAuthorfield.
-
mMaintainer
public AIImporterDesc.Buffer mMaintainer(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themMaintainerfield.
-
mComments
public AIImporterDesc.Buffer mComments(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themCommentsfield.
-
mFlags
public AIImporterDesc.Buffer mFlags(int value)
Sets the specified value to themFlagsfield.
-
mMinMajor
public AIImporterDesc.Buffer mMinMajor(int value)
Sets the specified value to themMinMajorfield.
-
mMinMinor
public AIImporterDesc.Buffer mMinMinor(int value)
Sets the specified value to themMinMinorfield.
-
mMaxMajor
public AIImporterDesc.Buffer mMaxMajor(int value)
Sets the specified value to themMaxMajorfield.
-
mMaxMinor
public AIImporterDesc.Buffer mMaxMinor(int value)
Sets the specified value to themMaxMinorfield.
-
mFileExtensions
public AIImporterDesc.Buffer mFileExtensions(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themFileExtensionsfield.
-
-