Vixen
02b45cc4
csharp
public static class EglConstants

The 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 False

    EGL_FALSE.

  • public const int True

    EGL_TRUE.

  • public const nint DefaultDisplay

    EGL_DEFAULT_DISPLAY — "whatever this platform's one display is".

  • public const nint NoDisplay

    EGL_NO_DISPLAY.

  • public const nint NoContext

    EGL_NO_CONTEXT, which is also how a context is unbound.

  • public const nint NoSurface

    EGL_NO_SURFACE.

  • public const uint Success

    EGL_SUCCESS.

  • public const uint NotInitialised

    EGL_NOT_INITIALIZED.

  • public const uint BadAccess

    EGL_BAD_ACCESS.

  • public const uint BadAlloc

    EGL_BAD_ALLOC.

  • public const uint BadAttribute

    EGL_BAD_ATTRIBUTE.

  • public const uint BadConfig

    EGL_BAD_CONFIG.

  • public const uint BadContext

    EGL_BAD_CONTEXT.

  • public const uint BadCurrentSurface

    EGL_BAD_CURRENT_SURFACE.

  • public const uint BadDisplay

    EGL_BAD_DISPLAY.

  • public const uint BadMatch

    EGL_BAD_MATCH.

  • public const uint BadNativePixmap

    EGL_BAD_NATIVE_PIXMAP.

  • public const uint BadNativeWindow

    EGL_BAD_NATIVE_WINDOW.

  • public const uint BadParameter

    EGL_BAD_PARAMETER.

  • public const uint BadSurface

    EGL_BAD_SURFACE.

  • public const uint ContextLost

    EGL_CONTEXT_LOST.

  • public const int AlphaSize

    EGL_ALPHA_SIZE.

  • public const int BlueSize

    EGL_BLUE_SIZE.

  • public const int GreenSize

    EGL_GREEN_SIZE.

  • public const int RedSize

    EGL_RED_SIZE.

  • public const int DepthSize

    EGL_DEPTH_SIZE.

  • public const int StencilSize

    EGL_STENCIL_SIZE.

  • public const int ConfigId

    EGL_CONFIG_ID.

  • public const int Samples

    EGL_SAMPLES.

  • public const int SampleBuffers

    EGL_SAMPLE_BUFFERS.

  • public const int SurfaceType

    EGL_SURFACE_TYPE.

  • public const int None

    EGL_NONE, which terminates every attribute list.

  • public const int RenderableType

    EGL_RENDERABLE_TYPE.

  • public const int PbufferBit

    EGL_PBUFFER_BIT.

  • public const int WindowBit

    EGL_WINDOW_BIT.

  • public const int OpenGlEs2Bit

    EGL_OPENGL_ES2_BIT.

  • public const int OpenGlEs3Bit

    EGL_OPENGL_ES3_BIT.

  • public const int Height

    EGL_HEIGHT.

  • public const int Width

    EGL_WIDTH.

  • public const int ContextMajorVersion

    EGL_CONTEXT_MAJOR_VERSION, spelled EGL_CONTEXT_CLIENT_VERSION before EGL 1.5.

  • public const int ContextMinorVersion

    EGL_CONTEXT_MINOR_VERSION.

  • public const int ContextDebug

    EGL_CONTEXT_OPENGL_DEBUG.

  • public const int Vendor

    EGL_VENDOR.

  • public const int Version

    EGL_VERSION.

  • public const int Extensions

    EGL_EXTENSIONS.

  • public const uint OpenGlEsApi

    EGL_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