public class NVGLUFramebufferBGFX
extends org.lwjgl.system.Struct
struct NVGLUframebuffer {
NVGcontext * ctx;
bgfx_frame_buffer_handle_t handle;
int image;
bgfx_view_id_t viewId;
}| Modifier and Type | Class and Description |
|---|---|
static class |
NVGLUFramebufferBGFX.Buffer
An array of
NVGLUFramebufferBGFX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
CTX
The struct member offsets.
|
static int |
HANDLE
The struct member offsets.
|
static int |
IMAGE
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
VIEWID
The struct member offsets.
|
| Constructor and Description |
|---|
NVGLUFramebufferBGFX(java.nio.ByteBuffer container)
Creates a
NVGLUFramebufferBGFX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static NVGLUFramebufferBGFX |
create(long address)
Returns a new
NVGLUFramebufferBGFX instance for the specified memory address. |
static NVGLUFramebufferBGFX.Buffer |
create(long address,
int capacity)
Create a
NVGLUFramebufferBGFX.Buffer instance at the specified memory. |
static NVGLUFramebufferBGFX |
createSafe(long address)
|
static NVGLUFramebufferBGFX.Buffer |
createSafe(long address,
int capacity)
|
long |
ctx()
Returns the value of the
ctx field. |
short |
handle()
Returns the value of the
handle field. |
int |
image()
Returns the value of the
image field. |
static long |
nctx(long struct)
Unsafe version of
ctx(). |
static short |
nhandle(long struct)
Unsafe version of
handle(). |
static int |
nimage(long struct)
Unsafe version of
image(). |
static short |
nviewId(long struct)
Unsafe version of
viewId(). |
int |
sizeof() |
short |
viewId()
Returns the value of the
viewId field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int CTX
public static final int HANDLE
public static final int IMAGE
public static final int VIEWID
public NVGLUFramebufferBGFX(java.nio.ByteBuffer container)
NVGLUFramebufferBGFX 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 ctx()
ctx field.public short handle()
handle field.public int image()
image field.public short viewId()
viewId field.public static NVGLUFramebufferBGFX create(long address)
NVGLUFramebufferBGFX instance for the specified memory address.@Nullable public static NVGLUFramebufferBGFX createSafe(long address)
public static NVGLUFramebufferBGFX.Buffer create(long address, int capacity)
NVGLUFramebufferBGFX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NVGLUFramebufferBGFX.Buffer createSafe(long address, int capacity)
public static long nctx(long struct)
ctx().public static short nhandle(long struct)
handle().public static int nimage(long struct)
image().public static short nviewId(long struct)
viewId().Copyright LWJGL. All Rights Reserved. License terms.