Package org.lwjgl.egl

Class KHRImageBase


  • public class KHRImageBase
    extends java.lang.Object
    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.

    • Method Detail

      • 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
                                             java.nio.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