Skip to main content

OnOpenGlRender Method

Called to render the OpenGL content for the current frame.

Definition​

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

protected abstract void OnOpenGlRender(
GlInterface gl,
int fb
)
View Source

Parameters​

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

See Also​

Reference​

OpenGlControlBase Class
Avalonia.OpenGL.Controls Namespace