Skip to main content

OpenGlException Class

Definition

Namespace:Avalonia.OpenGL
Assembly:Avalonia.OpenGL
Package:Avalonia
public class OpenGlException

Inheritance: Exception -> OpenGlException

Constructors

NameDescription
OpenGlExceptionNo summary available.

OpenGlException Constructor

public OpenGlException(string message)

Parameters

message string

Methods

NameDescription
GetFormattedEglExceptionNo summary available.
GetFormattedException (3 overloads)No summary available.

GetFormattedEglException Method

public Avalonia.OpenGL.OpenGlException GetFormattedEglException(string funcName, int errorCode)

Parameters

funcName string

errorCode int

Returns

Avalonia.OpenGL.OpenGlException

GetFormattedException overloads

GetFormattedException Method

public Avalonia.OpenGL.OpenGlException GetFormattedException(string funcName, Avalonia.OpenGL.Egl.EglInterface egl)
Parameters

funcName string

egl Avalonia.OpenGL.Egl.EglInterface

Returns

Avalonia.OpenGL.OpenGlException

GetFormattedException Method

public Avalonia.OpenGL.OpenGlException GetFormattedException(string funcName, Avalonia.OpenGL.GlInterface gl)
Parameters

funcName string

gl Avalonia.OpenGL.GlInterface

Returns

Avalonia.OpenGL.OpenGlException

GetFormattedException Method

public Avalonia.OpenGL.OpenGlException GetFormattedException(string funcName, int errorCode)
Parameters

funcName string

errorCode int

Returns

Avalonia.OpenGL.OpenGlException

Properties

NameDescription
ErrorCodeNo summary available.

ErrorCode Property

public Nullable<int> ErrorCode { get; set; }