All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.gui.nativeinterface.QCocoaGLContext Maven / Gradle / Ivy

There is a newer version: 6.8.2
Show newest version
package io.qt.gui.nativeinterface;


/**
 * 

Native interface to an NSOpenGLContext on macOS

*

Java wrapper for Qt class QNativeInterface::QCocoaGLContext

*/ public interface QCocoaGLContext extends io.qt.QtObjectInterface { /** *

Implementor class for interface {@link io.qt.gui.nativeinterface.QCocoaGLContext}

*/ public static abstract class Impl extends io.qt.QtObject implements io.qt.gui.nativeinterface.QCocoaGLContext { static { QtJambi_LibraryUtilities.initialize(); } @io.qt.NativeAccess private static final class ConcreteWrapper extends QCocoaGLContext.Impl { @io.qt.NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @io.qt.QtUninvokable public io.qt.QNativePointer nativeContext(){ throw new io.qt.QNoImplementationException(); } private native static io.qt.QNativePointer nativeContext_native_constfct(long __this__nativeId); } /** *

See QNativeInterface::QCocoaGLContext::nativeContext()const

*/ @io.qt.QtUninvokable public abstract io.qt.QNativePointer nativeContext(); /** *

Overloaded function for {@link #fromNative(io.qt.QNativePointer, io.qt.gui.QOpenGLContext)} * with shareContext = null.

*/ private static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context) { return fromNative(context, (io.qt.gui.QOpenGLContext)null); } /** *

Adopts an NSOpenGLContext

*

See QNativeInterface::QCocoaGLContext::fromNative(NSOpenGLContext*,QOpenGLContext*)

*/ private static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context, io.qt.gui.QOpenGLContext shareContext){ return fromNative_native_NSOpenGLContext_ptr_QOpenGLContext_ptr(context, QtJambi_LibraryUtilities.internal.checkedNativeId(shareContext)); } private native static io.qt.gui.QOpenGLContext fromNative_native_NSOpenGLContext_ptr_QOpenGLContext_ptr(io.qt.QNativePointer context, long shareContext); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected Impl(QPrivateConstructor p) { super(p); } } /** *

See QNativeInterface::QCocoaGLContext::nativeContext()const

*/ @io.qt.QtUninvokable public io.qt.QNativePointer nativeContext(); /** *

Overloaded function for {@link #fromNative(io.qt.QNativePointer, io.qt.gui.QOpenGLContext)} * with shareContext = null.

*/ public static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context) { return fromNative(context, (io.qt.gui.QOpenGLContext)null); } /** *

Adopts an NSOpenGLContext

*

See QNativeInterface::QCocoaGLContext::fromNative(NSOpenGLContext*,QOpenGLContext*)

*/ public static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context, io.qt.gui.QOpenGLContext shareContext){ return Impl.fromNative(context, shareContext); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy