EGLSyncKHR
public final class EGLSyncKHR implements EGLHandle
EGLHandle to wrap native EGLSync objects. This is similar to EGL's EGLSync API except the KHR suffix indicates it is generated as part of the extension APIs namely through EGLExt.eglCreateSyncKHR.
Summary
Public constructors |
|---|
EGLSyncKHR(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
Added in 1.0.4
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. |