Język

EGL15.EglNoContext Property

Definition

Gets the sentinel wrapper for the absence of an EGL context.

[Android.Runtime.Register("EGL_NO_CONTEXT", ApiSince=29)]
public static Android.Opengl.EGLContext? EglNoContext { get; }
[<Android.Runtime.Register("EGL_NO_CONTEXT", ApiSince=29)>]
static member EglNoContext : Android.Opengl.EGLContext

Property Value

An EGLContext wrapper whose native handle is zero.

Attributes

Remarks

Use this wrapper, rather than null, when an EGL15 operation requires EGL_NO_CONTEXT. The JNI handle conversion rejects a null object reference.

Applies to