Class NanoVGGLES2
java.lang.Object
org.lwjgl.nanovg.NanoVGGLES2
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic longnnvgCreate(int flags) NVGcontext * nvgCreate(int flags)static voidnnvgDelete(long ctx) void nvgDelete(NVGcontext * ctx)static intnnvglCreateImageFromHandle(long ctx, int textureId, int w, int h, int flags) int nvglCreateImageFromHandle(NVGcontext * ctx, GLuint textureId, int w, int h, int flags)static intnnvglImageHandle(long ctx, int image) GLuint nvglImageHandle(NVGcontext * ctx, int image)static voidnnvgluBindFramebuffer(long ctx, long fb) void nvgluBindFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb)static longnnvgluCreateFramebuffer(long ctx, int w, int h, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * ctx, int w, int h, int imageFlags)static voidnnvgluDeleteFramebuffer(long ctx, long fb) void nvgluDeleteFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb)static longnvgCreate(int flags) NVGcontext * nvgCreate(int flags)static voidnvgDelete(long ctx) void nvgDelete(NVGcontext * ctx)static intnvglCreateImageFromHandle(long ctx, int textureId, int w, int h, int flags) int nvglCreateImageFromHandle(NVGcontext * ctx, GLuint textureId, int w, int h, int flags)static intnvglImageHandle(long ctx, int image) GLuint nvglImageHandle(NVGcontext * ctx, int image)static voidnvgluBindFramebuffer(long ctx, @Nullable NVGLUFramebuffer fb) void nvgluBindFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb)static @Nullable NVGLUFramebuffernvgluCreateFramebuffer(long ctx, int w, int h, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * ctx, int w, int h, int imageFlags)static voidnvgluDeleteFramebuffer(long ctx, NVGLUFramebuffer fb) void nvgluDeleteFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb)
-
Field Details
-
NVG_ANTIALIAS
public static final int NVG_ANTIALIAS- See Also:
-
NVG_STENCIL_STROKES
public static final int NVG_STENCIL_STROKES- See Also:
-
NVG_DEBUG
public static final int NVG_DEBUG- See Also:
-
NVG_IMAGE_NODELETE
public static final int NVG_IMAGE_NODELETE- See Also:
-
-
Method Details
-
nnvglCreateImageFromHandle
public static int nnvglCreateImageFromHandle(long ctx, int textureId, int w, int h, int flags) int nvglCreateImageFromHandle(NVGcontext * ctx, GLuint textureId, int w, int h, int flags) -
nvglCreateImageFromHandle
public static int nvglCreateImageFromHandle(@NativeType("NVGcontext *") long ctx, @NativeType("GLuint") int textureId, int w, int h, int flags) int nvglCreateImageFromHandle(NVGcontext * ctx, GLuint textureId, int w, int h, int flags) -
nnvglImageHandle
public static int nnvglImageHandle(long ctx, int image) GLuint nvglImageHandle(NVGcontext * ctx, int image) -
nvglImageHandle
@NativeType("GLuint") public static int nvglImageHandle(@NativeType("NVGcontext *") long ctx, int image) GLuint nvglImageHandle(NVGcontext * ctx, int image) -
nnvgCreate
public static long nnvgCreate(int flags) NVGcontext * nvgCreate(int flags) -
nvgCreate
NVGcontext * nvgCreate(int flags) -
nnvgDelete
public static void nnvgDelete(long ctx) void nvgDelete(NVGcontext * ctx) -
nvgDelete
void nvgDelete(NVGcontext * ctx) -
nnvgluCreateFramebuffer
public static long nnvgluCreateFramebuffer(long ctx, int w, int h, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * ctx, int w, int h, int imageFlags) -
nvgluCreateFramebuffer
@NativeType("NVGLUframebuffer *") public static @Nullable NVGLUFramebuffer nvgluCreateFramebuffer(@NativeType("NVGcontext *") long ctx, int w, int h, int imageFlags) NVGLUframebuffer * nvgluCreateFramebuffer(NVGcontext * ctx, int w, int h, int imageFlags) -
nnvgluBindFramebuffer
public static void nnvgluBindFramebuffer(long ctx, long fb) void nvgluBindFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb) -
nvgluBindFramebuffer
public static void nvgluBindFramebuffer(@NativeType("NVGcontext *") long ctx, @NativeType("NVGLUframebuffer *") @Nullable NVGLUFramebuffer fb) void nvgluBindFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb) -
nnvgluDeleteFramebuffer
public static void nnvgluDeleteFramebuffer(long ctx, long fb) void nvgluDeleteFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb) -
nvgluDeleteFramebuffer
public static void nvgluDeleteFramebuffer(@NativeType("NVGcontext *") long ctx, @NativeType("NVGLUframebuffer *") NVGLUFramebuffer fb) void nvgluDeleteFramebuffer(NVGcontext * ctx, NVGLUframebuffer * fb)
-