共用方式為


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
屬性

適用於