Language

IEGL10.EglGetCurrentSurface(Int32) Method

Definition

Gets the requested surface of the current EGL rendering context.

[Android.Runtime.Register("eglGetCurrentSurface", "(I)Ljavax/microedition/khronos/egl/EGLSurface;", "GetEglGetCurrentSurface_IHandler:Javax.Microedition.Khronos.Egl.IEGL10Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Javax.Microedition.Khronos.Egl.EGLSurface? EglGetCurrentSurface(int readdraw);
[<Android.Runtime.Register("eglGetCurrentSurface", "(I)Ljavax/microedition/khronos/egl/EGLSurface;", "GetEglGetCurrentSurface_IHandler:Javax.Microedition.Khronos.Egl.IEGL10Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member EglGetCurrentSurface : int -> Javax.Microedition.Khronos.Egl.EGLSurface

Parameters

readdraw
Int32

Specifies whether to retrieve the read (EglRead) or draw (EglDraw) surface.

Returns

The requested current surface, or EglNoSurface if no context is current.

Attributes

Exceptions

readdraw is neither EglRead nor EglDraw.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to