Velaptor.App
Velaptor
Velaptor
App Class
Represents a Velaptor application.
public static class App
Inheritance System.Object → App
Methods
UseAvaloniaRenderContext(GL, uint, uint)
Sets Velaptor to render to an Avalonia control.
public static Velaptor.Graphics.IRenderContext UseAvaloniaRenderContext(Silk.NET.OpenGL.GL gl, uint renderAreaWidth, uint renderAreaHeight);
Parameters
The Silk OpenGL object.
renderAreaWidth
System.UInt32
The width of the render area.
renderAreaHeight
System.UInt32
The height of the render area.
Returns
IRenderContext
The Avalonia render context.