IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Detailed Description

A class encapsulating an EGL context and display handle.

This struct was introduced in Qt 5.4.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

  • Header: QEGLNativeContext

  • Since: Qt 5.4

Detailed Description

There is no binary compatibility guarantee for this class, meaning that an application using it is only guaranteed to work with the Qt version it was developed against.

Due to being public while relying on otherwise hidden EGL types, this header itself does not include EGL/egl.h. It is the application's responsibility to include egl.h with any appropriate defines (for example, MESA_EGL_NO_X11_HEADERS or other vendor-specific defines controlling the typedefs for EGL's native resources) before this header.

See Also

Member Function Documentation

 

QEGLNativeContext::QEGLNativeContext()

Construct a new instance with no handles.

QEGLNativeContext::QEGLNativeContext(EGLContext ctx, EGLDisplay dpy)

Constructs a new instance with the provided ctx and dpy handles.

EGLContext QEGLNativeContext::context() const

Returns the EGL context.

EGLDisplay QEGLNativeContext::display() const

Returns the EGL display.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+