C Specification

The XrGraphicsBindingEGLMNDX structure is defined as:

// Provided by XR_MNDX_egl_enable
typedef struct XrGraphicsBindingEGLMNDX {
    XrStructureType             type;
    const void*                 next;
    EGLDisplay                  display;
    EGLConfig                   config;
    EGLContext                  context;
} XrGraphicsBindingEGLMNDX;


Member Descriptions
  • type is the XrStructureType of this structure.

  • next is NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.

  • getProcAddress is a valid function pointer to eglGetProcAddress.

  • display is a valid EGL EGLDisplay.

  • config is a valid EGL EGLConfig.

  • context is a valid EGL EGLContext.


When creating an EGL based XrSession, the application will provide a pointer to an XrGraphicsBindingEGLMNDX structure in the next chain of the XrSessionCreateInfo.

The required window system configuration define to expose this structure type is XR_USE_PLATFORM_EGL.

Valid Usage (Implicit)
  • The [XR_MNDX_egl_enable] extension must be enabled prior to using XrGraphicsBindingEGLMNDX


  • next must be NULL or a valid pointer to the next structure in a structure chain

  • getProcAddress must be a valid PFNEGLGETPROCADDRESSPROC value

  • display must be a valid EGLDisplay value

  • config must be a valid EGLConfig value

  • context must be a valid EGLContext value

See Also

Document Notes

For more information, see the OpenXR Specification

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2022 The Khronos Group Inc.