Package org.lwjgl.egl
Class KHRImageBase
java.lang.Object
org.lwjgl.egl.KHRImageBase
Native bindings to the KHR_image_base extension.
This extension defines a new EGL resource type that is suitable for sharing 2D arrays of image data between client APIs, the EGLImage. Although the intended purpose is sharing 2D image data, the underlying interface makes no assumptions about the format or purpose of the resource being shared, leaving those decisions to the application and associated client APIs.
Requires EGL 1.2
.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final long
-
Method Summary
Modifier and TypeMethodDescriptionstatic long
eglCreateImageKHR
(long dpy, long ctx, int target, long buffer, int[] attrib_list) Array version of:CreateImageKHR
static long
eglCreateImageKHR
(long dpy, long ctx, int target, long buffer, IntBuffer attrib_list) static boolean
eglDestroyImageKHR
(long dpy, long image) static long
neglCreateImageKHR
(long dpy, long ctx, int target, long buffer, long attrib_list)
-
Field Details
-
EGL_IMAGE_PRESERVED_KHR
public static final int EGL_IMAGE_PRESERVED_KHR- See Also:
-
EGL_NO_IMAGE_KHR
public static final long EGL_NO_IMAGE_KHR- See Also:
-
-
Method Details
-
neglCreateImageKHR
public static long neglCreateImageKHR(long dpy, long ctx, int target, long buffer, long attrib_list) -
eglCreateImageKHR
public static long eglCreateImageKHR(long dpy, long ctx, int target, long buffer, @Nullable IntBuffer attrib_list) -
eglDestroyImageKHR
public static boolean eglDestroyImageKHR(long dpy, long image) -
eglCreateImageKHR
public static long eglCreateImageKHR(long dpy, long ctx, int target, long buffer, @Nullable int[] attrib_list) Array version of:CreateImageKHR
-