共用方式為


GraphicsContext.ErrorChecking 屬性

定義

取得或設定 System.Boolean,指出是否應該執行自動錯誤檢查。 只會影響偵錯版本的 OpenTK.dll。

public bool ErrorChecking { get; set; }
member this.ErrorChecking : bool with get, set

屬性值

實作

備註

自動錯誤檢查將會清除 OpenGL 錯誤狀態。 如果您在程式碼流程中使用 OpenGL 錯誤狀態 (,請將 CheckErrors 設定為 false,例如檢查支援的紋理格式) 。

適用於