GL.Clear 方法

定义

重载

Clear(ClearBufferMask)
Clear(Int32)
已过时.
Clear(UInt32)
已过时.

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

参数

属性

适用于

Clear(Int32)

注意

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

参数

mask
Int32
属性

适用于

Clear(UInt32)

注意

Use the overload with strongly typed enumerations

重要

此 API 不符合 CLS。

[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

参数

mask
UInt32
属性

适用于