Package org.lwjgl.egl
Class EXTDevicePersistentID
- java.lang.Object
-
- org.lwjgl.egl.EXTDevicePersistentID
-
public class EXTDevicePersistentID extends java.lang.ObjectNative bindings to the EXT_device_persistent_id extension.Applications can query a list of
EGLDeviceEXThandles, but those handles are only valid within the process that queried them. An application has no way, for example, to record its selection and select the same device when run again later.This extension provides a vendor name and a set of UUID's, which provide a unique, persistent identifier for
EGLDeviceEXThandles. This allows applications to find theEGLDeviceEXTfor the same device across multiple processes, and across multiple APIs.Requires
EXT_device_query.
-
-
Field Summary
Fields Modifier and Type Field Description static intEGL_DEVICE_UUID_EXTAccepted by thenameparameter ofQueryDeviceBinaryEXT.static intEGL_DRIVER_NAME_EXTAccepted by thenameparameter ofQueryDeviceStringEXT.static intEGL_DRIVER_UUID_EXTAccepted by thenameparameter ofQueryDeviceBinaryEXT.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleaneglQueryDeviceBinaryEXT(long device, int name, java.nio.ByteBuffer value, int[] size)Array version of:QueryDeviceBinaryEXTstatic booleaneglQueryDeviceBinaryEXT(long device, int name, java.nio.ByteBuffer value, java.nio.IntBuffer size)static intneglQueryDeviceBinaryEXT(long device, int name, int max_size, long value, long size)
-
-
-
Field Detail
-
EGL_DRIVER_NAME_EXT
Accepted by thenameparameter ofQueryDeviceStringEXT.
-
EGL_DEVICE_UUID_EXT, EGL_DRIVER_UUID_EXT
Accepted by thenameparameter ofQueryDeviceBinaryEXT.
-
-
Method Detail
-
neglQueryDeviceBinaryEXT
public static int neglQueryDeviceBinaryEXT(long device, int name, int max_size, long value, long size)
-
eglQueryDeviceBinaryEXT
public static boolean eglQueryDeviceBinaryEXT(long device, int name, @Nullable java.nio.ByteBuffer value, java.nio.IntBuffer size)
-
eglQueryDeviceBinaryEXT
public static boolean eglQueryDeviceBinaryEXT(long device, int name, @Nullable java.nio.ByteBuffer value, int[] size)Array version of:QueryDeviceBinaryEXT
-
-