csharp
public readonly record struct GlContextRequestWhat kind of OpenGL context to ask the windowing layer for.
Remarks
⚠ Version and profile are decided when the context is created; the pixel format is decided when the window is. Depth and stencil bits belong to the framebuffer the window was made with, so they are the platform's option rather than this record's — asking for them here would be a request that arrives after the only moment it could be honoured.
Fields and properties (4)
public int MajorVersionThe major version to ask for.
public int MinorVersionThe minor version to ask for.
public bool UseEmbeddedWhether to ask for OpenGL ES rather than desktop OpenGL.
public bool DebugWhether to ask for a debug context.
Methods (1)
public GlContextRequest()What kind of OpenGL context to ask the windowing layer for.
Used by (3)
- DesktopGlContextVixen.Platform.Desktop
- DesktopWindowVixen.Platform.Desktop
- IGlContextSourceVixen.Platform