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
equals(Object other)
long

Returns the native handle of the wrapped EGL object.

int
@NonNull String

Public constructors

EGLSyncKHR

Added in 1.0.0-rc01
public EGLSyncKHR(long nativeHandle)

Public methods

equals

public boolean equals(Object other)

getNativeHandle

Added in 1.0.0-rc01
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.

hashCode

public int hashCode()

toString

public @NonNull String toString()