Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QCocoaNativeContext Class

A class encapsulating a Cocoa NSOpenGLContext. More...

Header: #include <QCocoaNativeContext>
Since: Qt 5.4

Public Functions

QCocoaNativeContext()
QCocoaNativeContext(int *ctx)
int * context() const

Detailed Description

A class encapsulating a Cocoa NSOpenGLContext.

Note: 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.

See also QOpenGLContext::setNativeHandle() and QOpenGLContext::nativeHandle().

Member Function Documentation

QCocoaNativeContext::QCocoaNativeContext()

Construct a new instance with no handles.

QCocoaNativeContext::QCocoaNativeContext(int *ctx)

Constructs a new instance with the provided ctx handle.

int *QCocoaNativeContext::context() const

Returns the context.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded