Class NanoVGBGFX


  • public class NanoVGBGFX
    extends java.lang.Object
    Implementation of the NanoVG API using bgfx.
    • 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)