Table of Contents

Class OpenGlException

Namespace
Avalonia.OpenGL
Assembly
Avalonia.OpenGL.dll
public class OpenGlException : Exception, ISerializable
Inheritance
OpenGlException
Implements
Inherited Members

Constructors

OpenGlException(string?)

public OpenGlException(string? message)

Parameters

message string

Properties

ErrorCode

public int? ErrorCode { get; }

Property Value

int?

Methods

GetFormattedEglException(string, int)

public static OpenGlException GetFormattedEglException(string funcName, int errorCode)

Parameters

funcName string
errorCode int

Returns

OpenGlException

GetFormattedException(string, EglInterface)

public static OpenGlException GetFormattedException(string funcName, EglInterface egl)

Parameters

funcName string
egl EglInterface

Returns

OpenGlException

GetFormattedException(string, GlInterface)

public static OpenGlException GetFormattedException(string funcName, GlInterface gl)

Parameters

funcName string
gl GlInterface

Returns

OpenGlException

GetFormattedException(string, int)

public static OpenGlException GetFormattedException(string funcName, int errorCode)

Parameters

funcName string
errorCode int

Returns

OpenGlException