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 ofAIImporterDesc
structs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
mAuthor()
Returns aByteBuffer
view of the null-terminated string pointed to by themAuthor
field.AIImporterDesc.Buffer
mAuthor(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themAuthor
field.java.lang.String
mAuthorString()
Decodes the null-terminated string pointed to by themAuthor
field.java.nio.ByteBuffer
mComments()
Returns aByteBuffer
view of the null-terminated string pointed to by themComments
field.AIImporterDesc.Buffer
mComments(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themComments
field.java.lang.String
mCommentsString()
Decodes the null-terminated string pointed to by themComments
field.java.nio.ByteBuffer
mFileExtensions()
Returns aByteBuffer
view of the null-terminated string pointed to by themFileExtensions
field.AIImporterDesc.Buffer
mFileExtensions(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themFileExtensions
field.java.lang.String
mFileExtensionsString()
Decodes the null-terminated string pointed to by themFileExtensions
field.int
mFlags()
Returns the value of themFlags
field.AIImporterDesc.Buffer
mFlags(int value)
Sets the specified value to themFlags
field.java.nio.ByteBuffer
mMaintainer()
Returns aByteBuffer
view of the null-terminated string pointed to by themMaintainer
field.AIImporterDesc.Buffer
mMaintainer(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themMaintainer
field.java.lang.String
mMaintainerString()
Decodes the null-terminated string pointed to by themMaintainer
field.int
mMaxMajor()
Returns the value of themMaxMajor
field.AIImporterDesc.Buffer
mMaxMajor(int value)
Sets the specified value to themMaxMajor
field.int
mMaxMinor()
Returns the value of themMaxMinor
field.AIImporterDesc.Buffer
mMaxMinor(int value)
Sets the specified value to themMaxMinor
field.int
mMinMajor()
Returns the value of themMinMajor
field.AIImporterDesc.Buffer
mMinMajor(int value)
Sets the specified value to themMinMajor
field.int
mMinMinor()
Returns the value of themMinMinor
field.AIImporterDesc.Buffer
mMinMinor(int value)
Sets the specified value to themMinMinor
field.java.nio.ByteBuffer
mName()
Returns aByteBuffer
view of the null-terminated string pointed to by themName
field.AIImporterDesc.Buffer
mName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themName
field.java.lang.String
mNameString()
Decodes the null-terminated string pointed to by themName
field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newAIImporterDesc.Buffer
instance 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 aByteBuffer
view of the null-terminated string pointed to by themName
field.
-
mNameString
public java.lang.String mNameString()
Decodes the null-terminated string pointed to by themName
field.
-
mAuthor
public java.nio.ByteBuffer mAuthor()
Returns aByteBuffer
view of the null-terminated string pointed to by themAuthor
field.
-
mAuthorString
public java.lang.String mAuthorString()
Decodes the null-terminated string pointed to by themAuthor
field.
-
mMaintainer
public java.nio.ByteBuffer mMaintainer()
Returns aByteBuffer
view of the null-terminated string pointed to by themMaintainer
field.
-
mMaintainerString
public java.lang.String mMaintainerString()
Decodes the null-terminated string pointed to by themMaintainer
field.
-
mComments
public java.nio.ByteBuffer mComments()
Returns aByteBuffer
view of the null-terminated string pointed to by themComments
field.
-
mCommentsString
public java.lang.String mCommentsString()
Decodes the null-terminated string pointed to by themComments
field.
-
mFlags
public int mFlags()
Returns the value of themFlags
field.
-
mMinMajor
public int mMinMajor()
Returns the value of themMinMajor
field.
-
mMinMinor
public int mMinMinor()
Returns the value of themMinMinor
field.
-
mMaxMajor
public int mMaxMajor()
Returns the value of themMaxMajor
field.
-
mMaxMinor
public int mMaxMinor()
Returns the value of themMaxMinor
field.
-
mFileExtensions
public java.nio.ByteBuffer mFileExtensions()
Returns aByteBuffer
view of the null-terminated string pointed to by themFileExtensions
field.
-
mFileExtensionsString
public java.lang.String mFileExtensionsString()
Decodes the null-terminated string pointed to by themFileExtensions
field.
-
mName
public AIImporterDesc.Buffer mName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themName
field.
-
mAuthor
public AIImporterDesc.Buffer mAuthor(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themAuthor
field.
-
mMaintainer
public AIImporterDesc.Buffer mMaintainer(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themMaintainer
field.
-
mComments
public AIImporterDesc.Buffer mComments(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themComments
field.
-
mFlags
public AIImporterDesc.Buffer mFlags(int value)
Sets the specified value to themFlags
field.
-
mMinMajor
public AIImporterDesc.Buffer mMinMajor(int value)
Sets the specified value to themMinMajor
field.
-
mMinMinor
public AIImporterDesc.Buffer mMinMinor(int value)
Sets the specified value to themMinMinor
field.
-
mMaxMajor
public AIImporterDesc.Buffer mMaxMajor(int value)
Sets the specified value to themMaxMajor
field.
-
mMaxMinor
public AIImporterDesc.Buffer mMaxMinor(int value)
Sets the specified value to themMaxMinor
field.
-
mFileExtensions
public AIImporterDesc.Buffer mFileExtensions(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to themFileExtensions
field.
-
-