Package org.lwjgl.nanovg
Class NanoVGBGFX
java.lang.Object
org.lwjgl.nanovg.NanoVGBGFX
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded from bgfx. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic longnnvgCreate(int _edgeaa, short _viewId, long _allocator) NVGcontext * nvgCreate(int32_t _edgeaa, bgfx_view_id_t _viewId, bgfx_allocator_interface_t * _allocator)static voidnnvgluBindFramebuffer(long _framebuffer) void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer)static longnnvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * _ctx, int32_t _width, int32_t _height, int32_t imageFlags)static voidnnvgluDeleteFramebuffer(long _framebuffer) void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer)static voidnnvgluSetViewFramebuffer(short _view_id, long _framebuffer) void nvgluSetViewFramebuffer(bgfx_view_id_t _view_id, NVGLUframebuffer * _framebuffer)static voidnnvgSetViewId(long _ctx, short _viewId) void nvgSetViewId(NVGcontext * _ctx, bgfx_view_id_t _viewId)static longnvgCreate(boolean _edgeaa, int _viewId, long _allocator) NVGcontext * nvgCreate(int32_t _edgeaa, bgfx_view_id_t _viewId, bgfx_allocator_interface_t * _allocator)static voidnvgCreateBgfxTexture(long _ctx, short _id, int _width, int _height, int flags) void nvgCreateBgfxTexture(NVGcontext * _ctx, bgfx_texture_handle_t _id, int _width, int _height, int flags)static voidnvgDelete(long _ctx) void nvgDelete(NVGcontext * _ctx)static shortnvgGetViewId(long _ctx) uint16_t nvgGetViewId(NVGcontext * _ctx)static voidnvgluBindFramebuffer(@Nullable NVGLUFramebufferBGFX _framebuffer) void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer)static @Nullable NVGLUFramebufferBGFXnvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * _ctx, int32_t _width, int32_t _height, int32_t imageFlags)static voidnvgluDeleteFramebuffer(NVGLUFramebufferBGFX _framebuffer) void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer)static voidnvgluSetViewFramebuffer(int _view_id, NVGLUFramebufferBGFX _framebuffer) void nvgluSetViewFramebuffer(bgfx_view_id_t _view_id, NVGLUframebuffer * _framebuffer)static voidnvgSetViewId(long _ctx, int _viewId) void nvgSetViewId(NVGcontext * _ctx, bgfx_view_id_t _viewId)
-
Field Details
-
NVG_IMAGE_NODELETE
public static final int NVG_IMAGE_NODELETE- See Also:
-
-
Method Details
-
nnvgCreate
public static long nnvgCreate(int _edgeaa, short _viewId, long _allocator) NVGcontext * nvgCreate(int32_t _edgeaa, bgfx_view_id_t _viewId, bgfx_allocator_interface_t * _allocator) -
nvgCreate
public static long nvgCreate(boolean _edgeaa, int _viewId, long _allocator) NVGcontext * nvgCreate(int32_t _edgeaa, bgfx_view_id_t _viewId, bgfx_allocator_interface_t * _allocator) -
nvgDelete
public static void nvgDelete(long _ctx) void nvgDelete(NVGcontext * _ctx) -
nnvgSetViewId
public static void nnvgSetViewId(long _ctx, short _viewId) void nvgSetViewId(NVGcontext * _ctx, bgfx_view_id_t _viewId) -
nvgSetViewId
public static void nvgSetViewId(long _ctx, int _viewId) void nvgSetViewId(NVGcontext * _ctx, bgfx_view_id_t _viewId) -
nvgGetViewId
public static short nvgGetViewId(long _ctx) uint16_t nvgGetViewId(NVGcontext * _ctx) -
nnvgluCreateFramebuffer
public static long nnvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * _ctx, int32_t _width, int32_t _height, int32_t imageFlags) -
nvgluCreateFramebuffer
public static @Nullable NVGLUFramebufferBGFX nvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * _ctx, int32_t _width, int32_t _height, int32_t imageFlags) -
nnvgluBindFramebuffer
public static void nnvgluBindFramebuffer(long _framebuffer) void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer) -
nvgluBindFramebuffer
void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer) -
nnvgluDeleteFramebuffer
public static void nnvgluDeleteFramebuffer(long _framebuffer) void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer) -
nvgluDeleteFramebuffer
void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer) -
nnvgluSetViewFramebuffer
public static void nnvgluSetViewFramebuffer(short _view_id, long _framebuffer) void nvgluSetViewFramebuffer(bgfx_view_id_t _view_id, NVGLUframebuffer * _framebuffer) -
nvgluSetViewFramebuffer
void nvgluSetViewFramebuffer(bgfx_view_id_t _view_id, NVGLUframebuffer * _framebuffer) -
nvgCreateBgfxTexture
public static void nvgCreateBgfxTexture(long _ctx, short _id, int _width, int _height, int flags) void nvgCreateBgfxTexture(NVGcontext * _ctx, bgfx_texture_handle_t _id, int _width, int _height, int flags)
-