GL.Clear 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.
Overloads
Clear(ClearBufferMask) | |
Clear(Int32) |
Obsolete.
|
Clear(UInt32) |
Obsolete.
|
Clear(ClearBufferMask)
[OpenTK.AutoGenerated(Category="1.1", EntryPoint="glClear", Version="1.1")]
public static void Clear (OpenTK.Graphics.ES11.ClearBufferMask mask);
static member Clear : OpenTK.Graphics.ES11.ClearBufferMask -> unit
Parameters
- mask
- ClearBufferMask
- Attributes
Applies to
Clear(Int32)
Caution
Use the overload with strongly typed enumerations
[OpenTK.AutoGenerated(Category="1.1", EntryPoint="glClear", Version="1.1")]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void Clear (int mask);
static member Clear : int -> unit
Parameters
- mask
- Int32
- Attributes
Applies to
Clear(UInt32)
Caution
Use the overload with strongly typed enumerations
Important
This API is not CLS-compliant.
[OpenTK.AutoGenerated(Category="1.1", EntryPoint="glClear", Version="1.1")]
[System.CLSCompliant(false)]
[System.Obsolete("Use the overload with strongly typed enumerations")]
public static void Clear (uint mask);
static member Clear : uint32 -> unit
Parameters
- mask
- UInt32
- Attributes