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

Returns the native handle of the wrapped EGL object.

int
@NonNull String

Public constructors

EGLImageKHR

Added in 1.0.2
public EGLImageKHR(long nativeHandle)

Public methods

equals

public boolean equals(Object other)

getNativeHandle

Added in 1.0.2
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()