public class CXStringSet
extends org.lwjgl.system.Struct
struct CXStringSet {
CXString * Strings;
unsigned Count;
}| Modifier and Type | Class and Description |
|---|---|
static class |
CXStringSet.Buffer
An array of
CXStringSet structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
COUNT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STRINGS
The struct member offsets.
|
| Constructor and Description |
|---|
CXStringSet(java.nio.ByteBuffer container)
Creates a
CXStringSet instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
int |
Count()
Returns the value of the
Count field. |
static CXStringSet |
create(long address)
Returns a new
CXStringSet instance for the specified memory address. |
static CXStringSet.Buffer |
create(long address,
int capacity)
Create a
CXStringSet.Buffer instance at the specified memory. |
static CXStringSet |
createSafe(long address)
|
static CXStringSet.Buffer |
createSafe(long address,
int capacity)
|
static int |
nCount(long struct)
Unsafe version of
Count(). |
static CXString.Buffer |
nStrings(long struct)
Unsafe version of
Strings(). |
int |
sizeof() |
CXString.Buffer |
Strings()
Returns a
CXString.Buffer view of the struct array pointed to by the Strings field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STRINGS
public static final int COUNT
public CXStringSet(java.nio.ByteBuffer container)
CXStringSet instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be
visible to the struct instance and vice versa.
The created instance holds a strong reference to the container object.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic CXString.Buffer Strings()
CXString.Buffer view of the struct array pointed to by the Strings field.public int Count()
Count field.public static CXStringSet create(long address)
CXStringSet instance for the specified memory address.@Nullable public static CXStringSet createSafe(long address)
public static CXStringSet.Buffer create(long address, int capacity)
CXStringSet.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static CXStringSet.Buffer createSafe(long address, int capacity)
public static CXString.Buffer nStrings(long struct)
Strings().public static int nCount(long struct)
Count().Copyright LWJGL. All Rights Reserved. License terms.