Upravit

Sdílet prostřednictvím


GL.Clear Method

Definition

Overloads

Clear(ClearBufferMask)
Clear(Int32)
Obsolete.
Clear(UInt32)
Obsolete.

Clear(ClearBufferMask)

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glClear", Version="2.0")]
public static void Clear (OpenTK.Graphics.ES20.ClearBufferMask mask);
static member Clear : OpenTK.Graphics.ES20.ClearBufferMask -> unit

Parameters

Attributes

Applies to

Clear(Int32)

Caution

Use the overload with strongly typed enumerations

[OpenTK.AutoGenerated(Category="2.0", EntryPoint="glClear", Version="2.0")]
[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="2.0", EntryPoint="glClear", Version="2.0")]
[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

Applies to