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()AIImporterDesc.BuffermAuthor(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theAIImporterDesc.mAuthor()field.java.lang.StringmAuthorString()java.nio.ByteBuffermComments()AIImporterDesc.BuffermComments(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theAIImporterDesc.mComments()field.java.lang.StringmCommentsString()java.nio.ByteBuffermFileExtensions()AIImporterDesc.BuffermFileExtensions(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theAIImporterDesc.mFileExtensions()field.java.lang.StringmFileExtensionsString()intmFlags()AIImporterDesc.BuffermFlags(int value)Sets the specified value to theAIImporterDesc.mFlags()field.java.nio.ByteBuffermMaintainer()AIImporterDesc.BuffermMaintainer(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theAIImporterDesc.mMaintainer()field.java.lang.StringmMaintainerString()intmMaxMajor()AIImporterDesc.BuffermMaxMajor(int value)Sets the specified value to theAIImporterDesc.mMaxMajor()field.intmMaxMinor()AIImporterDesc.BuffermMaxMinor(int value)Sets the specified value to theAIImporterDesc.mMaxMinor()field.intmMinMajor()AIImporterDesc.BuffermMinMajor(int value)Sets the specified value to theAIImporterDesc.mMinMajor()field.intmMinMinor()AIImporterDesc.BuffermMinMinor(int value)Sets the specified value to theAIImporterDesc.mMinMinor()field.java.nio.ByteBuffermName()AIImporterDesc.BuffermName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to theAIImporterDesc.mName()field.java.lang.StringmNameString()
-
-
-
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:
- a
ByteBufferview of the null-terminated string pointed to by theAIImporterDesc.mName()field.
-
mNameString
public java.lang.String mNameString()
- Returns:
- the null-terminated string pointed to by the
AIImporterDesc.mName()field.
-
mAuthor
public java.nio.ByteBuffer mAuthor()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theAIImporterDesc.mAuthor()field.
-
mAuthorString
public java.lang.String mAuthorString()
- Returns:
- the null-terminated string pointed to by the
AIImporterDesc.mAuthor()field.
-
mMaintainer
public java.nio.ByteBuffer mMaintainer()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theAIImporterDesc.mMaintainer()field.
-
mMaintainerString
public java.lang.String mMaintainerString()
- Returns:
- the null-terminated string pointed to by the
AIImporterDesc.mMaintainer()field.
-
mComments
public java.nio.ByteBuffer mComments()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theAIImporterDesc.mComments()field.
-
mCommentsString
public java.lang.String mCommentsString()
- Returns:
- the null-terminated string pointed to by the
AIImporterDesc.mComments()field.
-
mFlags
public int mFlags()
- Returns:
- the value of the
AIImporterDesc.mFlags()field.
-
mMinMajor
public int mMinMajor()
- Returns:
- the value of the
AIImporterDesc.mMinMajor()field.
-
mMinMinor
public int mMinMinor()
- Returns:
- the value of the
AIImporterDesc.mMinMinor()field.
-
mMaxMajor
public int mMaxMajor()
- Returns:
- the value of the
AIImporterDesc.mMaxMajor()field.
-
mMaxMinor
public int mMaxMinor()
- Returns:
- the value of the
AIImporterDesc.mMaxMinor()field.
-
mFileExtensions
public java.nio.ByteBuffer mFileExtensions()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by theAIImporterDesc.mFileExtensions()field.
-
mFileExtensionsString
public java.lang.String mFileExtensionsString()
- Returns:
- the null-terminated string pointed to by the
AIImporterDesc.mFileExtensions()field.
-
mName
public AIImporterDesc.Buffer mName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theAIImporterDesc.mName()field.
-
mAuthor
public AIImporterDesc.Buffer mAuthor(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theAIImporterDesc.mAuthor()field.
-
mMaintainer
public AIImporterDesc.Buffer mMaintainer(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theAIImporterDesc.mMaintainer()field.
-
mComments
public AIImporterDesc.Buffer mComments(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theAIImporterDesc.mComments()field.
-
mFlags
public AIImporterDesc.Buffer mFlags(int value)
Sets the specified value to theAIImporterDesc.mFlags()field.
-
mMinMajor
public AIImporterDesc.Buffer mMinMajor(int value)
Sets the specified value to theAIImporterDesc.mMinMajor()field.
-
mMinMinor
public AIImporterDesc.Buffer mMinMinor(int value)
Sets the specified value to theAIImporterDesc.mMinMinor()field.
-
mMaxMajor
public AIImporterDesc.Buffer mMaxMajor(int value)
Sets the specified value to theAIImporterDesc.mMaxMajor()field.
-
mMaxMinor
public AIImporterDesc.Buffer mMaxMinor(int value)
Sets the specified value to theAIImporterDesc.mMaxMinor()field.
-
mFileExtensions
public AIImporterDesc.Buffer mFileExtensions(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to theAIImporterDesc.mFileExtensions()field.
-
-