/// Called when the OpenGL context is first created.
/// </summary>
/// <param name="gl">The interface for making OpenGL calls. Use <see cref="GlInterface.GetProcAddress"/> to access additional APIs not covered by <see cref="GlInterface"/>.</param>
protectedvirtualvoidOnOpenGlInit(GlInterfacegl)
{
}
/// <summary>
/// Called when the OpenGL context is being destroyed.
/// </summary>
/// <param name="gl">The OpenGL interface for making OpenGL calls. Use <see cref="GlInterface.GetProcAddress"/> to access additional APIs not covered by <see cref="GlInterface"/>.</param>
protectedvirtualvoidOnOpenGlDeinit(GlInterfacegl)
{
}
/// <summary>
/// Called when the OpenGL context is lost and cannot be recovered.
/// </summary>
protectedvirtualvoidOnOpenGlLost()
{
}
/// <summary>
/// Called to render the OpenGL content for the current frame.
/// </summary>
/// <param name="gl">The OpenGL interface for making OpenGL calls. Use <see cref="GlInterface.GetProcAddress"/> to access additional APIs not covered by <see cref="GlInterface"/>.</param>
/// <param name="fb">The framebuffer ID to render into.</param>