Package org.lwjgl.nanovg
Class NanoVGBGFX
- java.lang.Object
-
- org.lwjgl.nanovg.NanoVGBGFX
-
public class NanoVGBGFX extends java.lang.Object
Implementation of the NanoVG API using bgfx.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NanoVGBGFX.Functions
Contains the function pointers loaded from bgfx.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
nnvgCreate(int _edgeaa, short _viewId, long _allocator)
static void
nnvgluBindFramebuffer(long _framebuffer)
static long
nnvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags)
static void
nnvgluDeleteFramebuffer(long _framebuffer)
static void
nnvgluSetViewFramebuffer(short _view_id, long _framebuffer)
static void
nnvgSetViewId(long _ctx, short _viewId)
static long
nvgCreate(boolean _edgeaa, int _viewId, long _allocator)
static void
nvgDelete(long _ctx)
static short
nvgGetViewId(long _ctx)
static void
nvgluBindFramebuffer(NVGLUFramebufferBGFX _framebuffer)
static NVGLUFramebufferBGFX
nvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags)
static void
nvgluDeleteFramebuffer(NVGLUFramebufferBGFX _framebuffer)
static void
nvgluSetViewFramebuffer(int _view_id, NVGLUFramebufferBGFX _framebuffer)
static void
nvgSetViewId(long _ctx, int _viewId)
-
-
-
Method Detail
-
nnvgCreate
public static long nnvgCreate(int _edgeaa, short _viewId, long _allocator)
-
nvgCreate
public static long nvgCreate(boolean _edgeaa, int _viewId, long _allocator)
-
nvgDelete
public static void nvgDelete(long _ctx)
-
nnvgSetViewId
public static void nnvgSetViewId(long _ctx, short _viewId)
-
nvgSetViewId
public static void nvgSetViewId(long _ctx, int _viewId)
-
nvgGetViewId
public static short nvgGetViewId(long _ctx)
-
nnvgluCreateFramebuffer
public static long nnvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags)
-
nvgluCreateFramebuffer
@Nullable public static NVGLUFramebufferBGFX nvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags)
-
nnvgluBindFramebuffer
public static void nnvgluBindFramebuffer(long _framebuffer)
-
nvgluBindFramebuffer
public static void nvgluBindFramebuffer(@Nullable NVGLUFramebufferBGFX _framebuffer)
-
nnvgluDeleteFramebuffer
public static void nnvgluDeleteFramebuffer(long _framebuffer)
-
nvgluDeleteFramebuffer
public static void nvgluDeleteFramebuffer(NVGLUFramebufferBGFX _framebuffer)
-
nnvgluSetViewFramebuffer
public static void nnvgluSetViewFramebuffer(short _view_id, long _framebuffer)
-
nvgluSetViewFramebuffer
public static void nvgluSetViewFramebuffer(int _view_id, NVGLUFramebufferBGFX _framebuffer)
-
-