public class NVGLUFramebuffer
extends org.lwjgl.system.Struct
fbo – the OpenGL framebuffer object handlerbo – the OpenGL renderbuffer handletexture – the OpenGL texture handleimage – the NanoVG image handle
struct NVGLUframebuffer {
GLuint fbo;
GLuint rbo;
GLuint texture;
int image;
}| Modifier and Type | Class and Description |
|---|---|
static class |
NVGLUFramebuffer.Buffer
An array of
NVGLUFramebuffer structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FBO
The struct member offsets.
|
static int |
IMAGE
The struct member offsets.
|
static int |
RBO
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
TEXTURE
The struct member offsets.
|
| Constructor and Description |
|---|
NVGLUFramebuffer(java.nio.ByteBuffer container)
Creates a
NVGLUFramebuffer instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static NVGLUFramebuffer |
create(long address)
Returns a new
NVGLUFramebuffer instance for the specified memory address. |
static NVGLUFramebuffer.Buffer |
create(long address,
int capacity)
Create a
NVGLUFramebuffer.Buffer instance at the specified memory. |
static NVGLUFramebuffer |
createSafe(long address)
|
static NVGLUFramebuffer.Buffer |
createSafe(long address,
int capacity)
|
int |
fbo()
Returns the value of the
fbo field. |
int |
image()
Returns the value of the
image field. |
static int |
nfbo(long struct)
Unsafe version of
fbo(). |
static int |
nimage(long struct)
Unsafe version of
image(). |
static int |
nrbo(long struct)
Unsafe version of
rbo(). |
static int |
ntexture(long struct)
Unsafe version of
texture(). |
int |
rbo()
Returns the value of the
rbo field. |
int |
sizeof() |
int |
texture()
Returns the value of the
texture field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int FBO
public static final int RBO
public static final int TEXTURE
public static final int IMAGE
public NVGLUFramebuffer(java.nio.ByteBuffer container)
NVGLUFramebuffer 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 int fbo()
fbo field.public int rbo()
rbo field.public int texture()
texture field.public int image()
image field.public static NVGLUFramebuffer create(long address)
NVGLUFramebuffer instance for the specified memory address.@Nullable public static NVGLUFramebuffer createSafe(long address)
public static NVGLUFramebuffer.Buffer create(long address, int capacity)
NVGLUFramebuffer.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static NVGLUFramebuffer.Buffer createSafe(long address, int capacity)
public static int nfbo(long struct)
fbo().public static int nrbo(long struct)
rbo().public static int ntexture(long struct)
texture().public static int nimage(long struct)
image().Copyright LWJGL. All Rights Reserved. License terms.