GL.Clear 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
參數
- mask
- ClearBufferMask
- 屬性
適用於
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
- 屬性