Language

IGL10.GlClear(Int32) Method

Definition

Clears buffers to their previously configured clear values.

[Android.Runtime.Register("glClear", "(I)V", "GetGlClear_IHandler:Javax.Microedition.Khronos.Opengles.IGL10Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void GlClear(int mask);
[<Android.Runtime.Register("glClear", "(I)V", "GetGlClear_IHandler:Javax.Microedition.Khronos.Opengles.IGL10Invoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GlClear : int -> unit

Parameters

mask
Int32

A bitwise OR of GL_COLOR_BUFFER_BIT, GL_DEPTH_BUFFER_BIT, and GL_STENCIL_BUFFER_BIT that identifies the buffers to clear.

Attributes

Remarks

See the Khronos OpenGL ES reference for glClear.

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