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

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

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


/**
 * 

Native interface to a WGL context on Windows

*

Java wrapper for Qt class QNativeInterface::QWGLContext

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

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

*/ public static abstract class Impl extends io.qt.QtObject implements io.qt.gui.nativeinterface.QWGLContext { static { QtJambi_LibraryUtilities.initialize(); } @io.qt.NativeAccess private static final class ConcreteWrapper extends QWGLContext.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::QWGLContext::nativeContext()const

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

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

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

Adopts an WGL context handle

*

See QNativeInterface::QWGLContext::fromNative(HGLRC,HWND,QOpenGLContext*)

*/ private static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context, io.qt.QNativePointer window, io.qt.gui.QOpenGLContext shareContext){ return fromNative_native_HGLRC_HWND_QOpenGLContext_ptr(context, window, QtJambi_LibraryUtilities.internal.checkedNativeId(shareContext)); } private native static io.qt.gui.QOpenGLContext fromNative_native_HGLRC_HWND_QOpenGLContext_ptr(io.qt.QNativePointer context, io.qt.QNativePointer window, long shareContext); /** *

See QNativeInterface::QWGLContext::openGLModuleHandle()

*/ private native static io.qt.QNativePointer openGLModuleHandle(); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected Impl(QPrivateConstructor p) { super(p); } } /** *

See QNativeInterface::QWGLContext::nativeContext()const

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

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

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

Adopts an WGL context handle

*

See QNativeInterface::QWGLContext::fromNative(HGLRC,HWND,QOpenGLContext*)

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

See QNativeInterface::QWGLContext::openGLModuleHandle()

*/ public static io.qt.QNativePointer openGLModuleHandle(){ return Impl.openGLModuleHandle(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy