Skip to main content

OnOpenGlInit Method

Called when the OpenGL context is first created.

Definition​

Namespace: Avalonia.OpenGL.Controls
Assembly: Avalonia.OpenGL (in Avalonia.OpenGL.dll)

protected virtual void OnOpenGlInit(
GlInterface gl
)

Parameters​

  GlInterface
The interface for making OpenGL calls. Use GetProcAddress(String) to access additional APIs not covered by GlInterface.

See Also​

Reference​

OpenGlControlBase Class
Avalonia.OpenGL.Controls Namespace