EGL14.EglGetCurrentSurface(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the read or draw surface of the calling thread's current rendering context.
[Android.Runtime.Register("eglGetCurrentSurface", "(I)Landroid/opengl/EGLSurface;", "")]
public static Android.Opengl.EGLSurface? EglGetCurrentSurface(int readdraw);
[<Android.Runtime.Register("eglGetCurrentSurface", "(I)Landroid/opengl/EGLSurface;", "")>]
static member EglGetCurrentSurface : int -> Android.Opengl.EGLSurface
Parameters
- readdraw
- Int32
EglRead to select the current read surface, or EglDraw to select the current draw surface.
Returns
The selected EGL surface, or a surface wrapper with a zero native handle when no context is current.
- Attributes
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.