Język

EGL15.EglDestroySync(EGLDisplay, EGLSync) Method

Definition

Destroys an EGL synchronization object, deferring its deletion while existing waits still need it.

[Android.Runtime.Register("eglDestroySync", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSync;)Z", "", ApiSince=29)]
public static bool EglDestroySync(Android.Opengl.EGLDisplay? dpy, Android.Opengl.EGLSync? sync);
[<Android.Runtime.Register("eglDestroySync", "(Landroid/opengl/EGLDisplay;Landroid/opengl/EGLSync;)Z", "", ApiSince=29)>]
static member EglDestroySync : Android.Opengl.EGLDisplay * Android.Opengl.EGLSync -> bool

Parameters

dpy
EGLDisplay

The EGL display on which sync was created.

sync
EGLSync

The synchronization object to destroy.

Returns

true if EGL accepts the destruction request; otherwise, false.

Attributes

Remarks

When waits are pending, EGL retains the object until its associated fence or OpenCL event has completed and it no longer blocks those waits. Without pending waits, deletion is immediate.

Applies to