OnOpenGlInit Method
Called when the OpenGL context is first created.
Definition
Namespace: Avalonia.OpenGL.Controls
Assembly: Avalonia.OpenGL (in Avalonia.OpenGL.dll)
- C#
- VB
- F#
protected virtual void OnOpenGlInit(
GlInterface gl
)
Protected Overridable Sub OnOpenGlInit (
gl As GlInterface
)
abstract OnOpenGlInit :
gl : GlInterface -> unit
override OnOpenGlInit :
gl : GlInterface -> unit
Parameters
- GlInterface
- The interface for making OpenGL calls. Use GetProcAddress(String) to access additional APIs not covered by GlInterface.