Class NanoVGBGFX

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

public class NanoVGBGFX extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the function pointers loaded from bgfx.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static long
    nnvgCreate(int _edgeaa, short _viewId, long _allocator)
    NVGcontext * nvgCreate(int32_t _edgeaa, bgfx_view_id_t _viewId, bgfx_allocator_interface_t * _allocator)
    static void
    nnvgluBindFramebuffer(long _framebuffer)
    void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer)
    static long
    nnvgluCreateFramebuffer(long _ctx, int _width, int _height, int imageFlags)
    NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * _ctx, int32_t _width, int32_t _height, int32_t imageFlags)
    static void
    nnvgluDeleteFramebuffer(long _framebuffer)
    void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer)
    static void
    nnvgluSetViewFramebuffer(short _view_id, long _framebuffer)
    void nvgluSetViewFramebuffer(bgfx_view_id_t _view_id, NVGLUframebuffer * _framebuffer)
    static void
    nnvgSetViewId(long _ctx, short _viewId)
    void nvgSetViewId(NVGcontext * _ctx, bgfx_view_id_t _viewId)
    static long
    nvgCreate(boolean _edgeaa, int _viewId, long _allocator)
    NVGcontext * nvgCreate(int32_t _edgeaa, bgfx_view_id_t _viewId, bgfx_allocator_interface_t * _allocator)
    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)
    static void
    nvgDelete(long _ctx)
    void nvgDelete(NVGcontext * _ctx)
    static short
    nvgGetViewId(long _ctx)
    uint16_t nvgGetViewId(NVGcontext * _ctx)
    static void
    void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer)
    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)
    static void
    void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer)
    static void
    nvgluSetViewFramebuffer(int _view_id, NVGLUFramebufferBGFX _framebuffer)
    void nvgluSetViewFramebuffer(bgfx_view_id_t _view_id, NVGLUframebuffer * _framebuffer)
    static void
    nvgSetViewId(long _ctx, int _viewId)
    void nvgSetViewId(NVGcontext * _ctx, bgfx_view_id_t _viewId)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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

      public static void nvgluBindFramebuffer(@Nullable NVGLUFramebufferBGFX _framebuffer)
      void nvgluBindFramebuffer(NVGLUframebuffer * _framebuffer)
    • nnvgluDeleteFramebuffer

      public static void nnvgluDeleteFramebuffer(long _framebuffer)
      void nvgluDeleteFramebuffer(NVGLUframebuffer * _framebuffer)
    • nvgluDeleteFramebuffer

      public static void nvgluDeleteFramebuffer(NVGLUFramebufferBGFX _framebuffer)
      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

      public static void nvgluSetViewFramebuffer(int _view_id, NVGLUFramebufferBGFX _framebuffer)
      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)