Class NanoVGBGFX

java.lang.Object
org.lwjgl.nanovg.NanoVGBGFX

public class NanoVGBGFX extends Object
Implementation of the NanoVG API using bgfx.
  • Field Details

    • NVG_IMAGE_NODELETE

      public static final int NVG_IMAGE_NODELETE
      These are additional flags on top of NVGimageFlags.
      Enum values:
      See Also:
  • Method Details

    • 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)
    • nvgCreateBgfxTexture

      public static void nvgCreateBgfxTexture(long _ctx, short _id, int _width, int _height, int flags)