| Modifier and Type | Field and Description |
|---|---|
| public static final int | NVG_ANTIALIAS
Create flags. |
| public static final int | NVG_DEBUG
Create flags. |
| public static final int | NVG_IMAGE_NODELETE
These are additional flags on top of NVGimageFlags. |
| public static final int | NVG_STENCIL_STROKES
Create flags. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||
|---|---|---|---|---|
| public static native long | ||||
| public static native void | ||||
| public static native int | nnvglCreateImageFromHandle(long ctx, int textureId, int w, int h, int flags)
Unsafe version of: | |||
| public static native int | ||||
| public static native void | ||||
| public static native long | nnvgluCreateFramebuffer(long ctx, int w, int h, int imageFlags)
Unsafe version of: | |||
| public static native void | ||||
| public static long | nvgCreate(int
the context flags. One of: flags)
Creates a NanoVG context with an OpenGL 3.0 rendering back-end. | |||
| public static void | ||||
| public static int | Returns: a handle to the imagethe NanoVG context ctx, int the OpenGL texture id textureId, int the image width w, int the image height h, int the image flags flags)Creates a NanoVG image from an OpenGL texture. | |||
| public static int | nvglImageHandle(long
the NanoVG context ctx, int the image handle image)Returns the OpenGL texture id associated with a NanoVG image. | |||
| public static void | nvgluBindFramebuffer(long
the NanoVG context ctx, NVGLUFramebuffer the framebuffer to bind fb)Binds the framebuffer object associated with the specified | |||
| public static NVGLUFramebuffer | nvgluCreateFramebuffer(long
the NanoVG context ctx, int the framebuffer width w, int the framebuffer height h, int the image flags imageFlags)Creates a framebuffer object to render to. | |||
| public static void | nvgluDeleteFramebuffer(long
the NanoVG context ctx, NVGLUFramebuffer the framebuffer to delete fb)Deletes an |
| NVG_ANTIALIAS | back to summary |
|---|---|
| public static final int NVG_ANTIALIAS Create flags. Enum values:
| |
| NVG_DEBUG | back to summary |
|---|---|
| public static final int NVG_DEBUG Create flags. Enum values:
| |
| NVG_IMAGE_NODELETE | back to summary |
|---|---|
| public static final int NVG_IMAGE_NODELETE These are additional flags on top of NVGimageFlags. Enum values:
| |
| NVG_STENCIL_STROKES | back to summary |
|---|---|
| public static final int NVG_STENCIL_STROKES Create flags. Enum values:
| |
| NanoVGGL3 | back to summary |
|---|---|
| protected NanoVGGL3() | |
| nnvgCreate | back to summary |
|---|---|
| public static native long nnvgCreate(int flags) Unsafe version of: | |
| nnvgDelete | back to summary |
|---|---|
| public static native void nnvgDelete(long ctx) Unsafe version of: | |
| nnvglCreateImageFromHandle | back to summary |
|---|---|
| public static native int nnvglCreateImageFromHandle(long ctx, int textureId, int w, int h, int flags) Unsafe version of: | |
| nnvglImageHandle | back to summary |
|---|---|
| public static native int nnvglImageHandle(long ctx, int image) Unsafe version of: | |
| nnvgluBindFramebuffer | back to summary |
|---|---|
| public static native void nnvgluBindFramebuffer(long ctx, long fb) Unsafe version of: | |
| nnvgluCreateFramebuffer | back to summary |
|---|---|
| public static native long nnvgluCreateFramebuffer(long ctx, int w, int h, int imageFlags) Unsafe version of: | |
| nnvgluDeleteFramebuffer | back to summary |
|---|---|
| public static native void nnvgluDeleteFramebuffer(long ctx, long fb) Unsafe version of: | |
| nvgCreate | back to summary | |||
|---|---|---|---|---|
| public static long nvgCreate(int flags) Creates a NanoVG context with an OpenGL 3.0 rendering back-end. An OpenGL 3.0+ context must be current in the current thread when this function is called and the returned NanoVG context may only be used in the thread in which that OpenGL context is current.
| ||||
| nvgDelete | back to summary |
|---|---|
| public static void nvgDelete(long ctx) Deletes a NanoVG context created with
| |
| nvglCreateImageFromHandle | back to summary |
|---|---|
| public static int nvglCreateImageFromHandle(long ctx, int textureId, int w, int h, int flags) Creates a NanoVG image from an OpenGL texture.
| |
| nvglImageHandle | back to summary |
|---|---|
| public static int nvglImageHandle(long ctx, int image) Returns the OpenGL texture id associated with a NanoVG image.
| |
| nvgluBindFramebuffer | back to summary |
|---|---|
| public static void nvgluBindFramebuffer(long ctx, NVGLUFramebuffer fb) Binds the framebuffer object associated with the specified
| |
| nvgluCreateFramebuffer | back to summary |
|---|---|
| public static NVGLUFramebuffer nvgluCreateFramebuffer(long ctx, int w, int h, int imageFlags) Creates a framebuffer object to render to.
| |
| nvgluDeleteFramebuffer | back to summary |
|---|---|
| public static void nvgluDeleteFramebuffer(long ctx, NVGLUFramebuffer fb) Deletes an
| |