EGLImageKHR
public final class EGLImageKHR implements EGLHandle
EGLImageKHR is an object which can be used to create EGLImage target resources (inside client APIs). This is similar to EGL's EGLImage API except the KHR suffix indicates it is generated as part of the extension APIs namely through EGLExt.eglCreateImageFromHardwareBuffer
Summary
Public constructors |
|---|
EGLImageKHR(long nativeHandle) |
Public methods |
|
|---|---|
boolean |
|
long |
Returns the native handle of the wrapped EGL object. |
int |
hashCode() |
@NonNull String |
toString() |
Public constructors
Public methods
getNativeHandle
public long getNativeHandle()
Returns the native handle of the wrapped EGL object. This handle can be cast to the corresponding native type on the native side.
For example, EGLDisplay dpy = (EGLDisplay)handle;
| Returns | |
|---|---|
long |
the native handle of the wrapped EGL object. |