public static class CXIdxEntityInfo.Buffer extends org.lwjgl.system.StructBuffer<CXIdxEntityInfo,CXIdxEntityInfo.Buffer> implements org.lwjgl.system.NativeResource
CXIdxEntityInfo structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CXIdxEntityInfo.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
org.lwjgl.PointerBuffer |
attributes()
Returns a
PointerBuffer view of the data pointed to by the attributes field. |
CXCursor |
cursor()
Returns a
CXCursor view of the cursor field. |
int |
kind()
Returns the value of the
kind field. |
int |
lang()
Returns the value of the
lang field. |
java.nio.ByteBuffer |
name()
Returns a
ByteBuffer view of the null-terminated string pointed to by the name field. |
java.lang.String |
nameString()
Decodes the null-terminated string pointed to by the
name field. |
int |
numAttributes()
Returns the value of the
numAttributes field. |
int |
templateKind()
Returns the value of the
templateKind field. |
java.nio.ByteBuffer |
USR()
Returns a
ByteBuffer view of the null-terminated string pointed to by the USR field. |
java.lang.String |
USRString()
Decodes the null-terminated string pointed to by the
USR field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
CXIdxEntityInfo.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
by CXIdxEntityInfo.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int kind()
kind field.public int templateKind()
templateKind field.public int lang()
lang field.public java.nio.ByteBuffer name()
ByteBuffer view of the null-terminated string pointed to by the name field.public java.lang.String nameString()
name field.public java.nio.ByteBuffer USR()
ByteBuffer view of the null-terminated string pointed to by the USR field.public java.lang.String USRString()
USR field.public org.lwjgl.PointerBuffer attributes()
PointerBuffer view of the data pointed to by the attributes field.public int numAttributes()
numAttributes field.Copyright LWJGL. All Rights Reserved. License terms.