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
public static OpenGlException GetFormattedEglException(string funcName, int errorCode)
Parameters
funcName
string
errorCode
int
Returns
- OpenGlException
public static OpenGlException GetFormattedException(string funcName, EglInterface egl)
Parameters
funcName
string
egl
EglInterface
Returns
- OpenGlException
public static OpenGlException GetFormattedException(string funcName, GlInterface gl)
Parameters
funcName
string
gl
GlInterface
Returns
- OpenGlException
public static OpenGlException GetFormattedException(string funcName, int errorCode)
Parameters
funcName
string
errorCode
int
Returns
- OpenGlException