public static class EglConstantsThe EGL enumerant values EglContext passes to IEglApi.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Spelled out for the reason GlConstants is, and with one more: there is no Silk.NET.EGL for Silk.NET 2 to take them from. That package stops at 1.9.0, and Silk.NET 2's own GLES windowing reaches EGL through GLFW or SDL rather than binding it — so the registry is the source, and these are the values in it.
Only what the context passes is here. EGL is a large specification and almost none of it is reached by "make a GLES context current on this window".
Fields and properties (46)
public const int FalseEGL_FALSE.
public const int TrueEGL_TRUE.
public const nint DefaultDisplayEGL_DEFAULT_DISPLAY — "whatever this platform's one display is".
public const nint NoDisplayEGL_NO_DISPLAY.
public const nint NoContextEGL_NO_CONTEXT, which is also how a context is unbound.
public const nint NoSurfaceEGL_NO_SURFACE.
public const uint SuccessEGL_SUCCESS.
public const uint NotInitialisedEGL_NOT_INITIALIZED.
public const uint BadAccessEGL_BAD_ACCESS.
public const uint BadAllocEGL_BAD_ALLOC.
public const uint BadAttributeEGL_BAD_ATTRIBUTE.
public const uint BadConfigEGL_BAD_CONFIG.
public const uint BadContextEGL_BAD_CONTEXT.
public const uint BadCurrentSurfaceEGL_BAD_CURRENT_SURFACE.
public const uint BadDisplayEGL_BAD_DISPLAY.
public const uint BadMatchEGL_BAD_MATCH.
public const uint BadNativePixmapEGL_BAD_NATIVE_PIXMAP.
public const uint BadNativeWindowEGL_BAD_NATIVE_WINDOW.
public const uint BadParameterEGL_BAD_PARAMETER.
public const uint BadSurfaceEGL_BAD_SURFACE.
public const uint ContextLostEGL_CONTEXT_LOST.
public const int AlphaSizeEGL_ALPHA_SIZE.
public const int BlueSizeEGL_BLUE_SIZE.
public const int GreenSizeEGL_GREEN_SIZE.
public const int RedSizeEGL_RED_SIZE.
public const int DepthSizeEGL_DEPTH_SIZE.
public const int StencilSizeEGL_STENCIL_SIZE.
public const int ConfigIdEGL_CONFIG_ID.
public const int SamplesEGL_SAMPLES.
public const int SampleBuffersEGL_SAMPLE_BUFFERS.
public const int SurfaceTypeEGL_SURFACE_TYPE.
public const int NoneEGL_NONE, which terminates every attribute list.
public const int RenderableTypeEGL_RENDERABLE_TYPE.
public const int PbufferBitEGL_PBUFFER_BIT.
public const int WindowBitEGL_WINDOW_BIT.
public const int OpenGlEs2BitEGL_OPENGL_ES2_BIT.
public const int OpenGlEs3BitEGL_OPENGL_ES3_BIT.
public const int HeightEGL_HEIGHT.
public const int WidthEGL_WIDTH.
public const int ContextMajorVersionEGL_CONTEXT_MAJOR_VERSION, spelled EGL_CONTEXT_CLIENT_VERSION before EGL 1.5.
public const int ContextMinorVersionEGL_CONTEXT_MINOR_VERSION.
public const int ContextDebugEGL_CONTEXT_OPENGL_DEBUG.
public const int VendorEGL_VENDOR.
public const int VersionEGL_VERSION.
public const int ExtensionsEGL_EXTENSIONS.
public const uint OpenGlEsApiEGL_OPENGL_ES_API.
Used by (8)
- EglAttributeTestsVixen.Graphics.OpenGL.Tests
- EglAttributesVixen.Graphics.OpenGL
- EglContextVixen.Graphics.OpenGL
- EglContextOptionsVixen.Graphics.OpenGL
- EglContextTestsVixen.Graphics.OpenGL.Tests
- EglErrorVixen.Graphics.OpenGL
- NativeEglApiVixen.Graphics.OpenGL
- RecordingEglApiVixen.Graphics.OpenGL.Tests