public readonly record struct EglContextOptionsWhat to build an EglContext out of.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (10)
public nint NativeWindowThe native window to present to — an ANativeWindow* on Android — or zero for a device that renders offscreen.
public Int2 OffscreenSizeHow big the offscreen surface is, when there is no window.
public nint NativeDisplayThe platform's display, or DefaultDisplay for the one it has.
public GlProfile? ProfileWhich dialect to ask for, or for the highest the driver will give — see EglContext's version ladder.
public int DepthBitsThe default framebuffer's depth, as a floor.
public int StencilBitsIts stencil, as a floor.
public int SamplesIts sample count; one asks for no multisample config at all.
public bool DebugWhether to ask for a debug context, which EGL 1.5 and up can give.
public nint ShareContextA context to share objects with, or zero.
public int SwapIntervalHow many vertical intervals a present waits for — one for vsync, zero for none.
Methods (1)
Used by (4)
- EglAttributeTestsVixen.Graphics.OpenGL.Tests
- EglAttributesVixen.Graphics.OpenGL
- EglContextVixen.Graphics.OpenGL
- EglContextTestsVixen.Graphics.OpenGL.Tests