public class BGFXInternalData
extends org.lwjgl.system.Struct
caps – renderer capabilitiescontext – GL context, or D3D device
struct bgfx_internal_data_t {
bgfx_caps_t * caps;
void * context;
}| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CAPS
The struct member offsets.
|
static int |
CONTEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
| Constructor and Description |
|---|
BGFXInternalData(java.nio.ByteBuffer container)
Creates a
BGFXInternalData instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
BGFXCaps |
caps()
Returns a
BGFXCaps view of the struct pointed to by the caps field. |
long |
context()
Returns the value of the
context field. |
static BGFXInternalData |
create(long address)
Returns a new
BGFXInternalData instance for the specified memory address. |
static BGFXInternalData |
createSafe(long address)
|
static BGFXCaps |
ncaps(long struct)
Unsafe version of
caps(). |
static long |
ncontext(long struct)
Unsafe version of
context(). |
int |
sizeof() |
public static final int SIZEOF
public static final int ALIGNOF
public static final int CAPS
public static final int CONTEXT
public BGFXInternalData(java.nio.ByteBuffer container)
BGFXInternalData 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 long context()
context field.public static BGFXInternalData create(long address)
BGFXInternalData instance for the specified memory address.@Nullable public static BGFXInternalData createSafe(long address)
public static long ncontext(long struct)
context().Copyright LWJGL. All Rights Reserved. License terms.