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

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

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

import io.qt.*;


/**
 * 

Native interface to a GLX context

*

Java wrapper for Qt class QNativeInterface::QGLXContext

* @since This class was introduced in Qt 6.0. */ public interface QGLXContext extends QtObjectInterface { /** * @hidden *

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

*/ public static abstract class Impl extends QtObject implements io.qt.gui.nativeinterface.QGLXContext { static { QtJambi_LibraryUtilities.initialize(); } @NativeAccess private static final class ConcreteWrapper extends QGLXContext.Impl { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable public @NonNull QNativePointer nativeContext(){ return nativeContext_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native static QNativePointer nativeContext_native_constfct(long __this__nativeId); } /** *

See QNativeInterface::QGLXContext::nativeContext()const

* @return */ @QtUninvokable public abstract @NonNull QNativePointer nativeContext(); /** *

Adopts a GLXContext configBasedContext created from an FBConfig

*

See QNativeInterface::QGLXContext::fromNative(GLXContext,QOpenGLContext*)

* @param configBasedContext * @param shareContext * @return */ private static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer configBasedContext, io.qt.gui.@Nullable QOpenGLContext shareContext){ return fromNative_native_GLXContext_QOpenGLContext_ptr(configBasedContext, QtJambi_LibraryUtilities.internal.checkedNativeId(shareContext)); } private native static io.qt.gui.QOpenGLContext fromNative_native_GLXContext_QOpenGLContext_ptr(QNativePointer configBasedContext, long shareContext); /** *

Adopts a GLXContext created from an X visual

*

See QNativeInterface::QGLXContext::fromNative(GLXContext,void*,QOpenGLContext*)

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

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

*/ private static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer configBasedContext) { return fromNative(configBasedContext, (io.qt.gui.QOpenGLContext)null); } /** *

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

*/ private static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer visualBasedContext, @Nullable QNativePointer visualInfo) { return fromNative(visualBasedContext, visualInfo, (io.qt.gui.QOpenGLContext)null); } } /** *

See QNativeInterface::QGLXContext::nativeContext()const

* @return */ @QtUninvokable public @NonNull QNativePointer nativeContext(); /** *

Adopts a GLXContext configBasedContext created from an FBConfig

*

See QNativeInterface::QGLXContext::fromNative(GLXContext,QOpenGLContext*)

* @param configBasedContext * @param shareContext * @return */ public static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer configBasedContext, io.qt.gui.@Nullable QOpenGLContext shareContext){ return Impl.fromNative(configBasedContext, shareContext); } /** *

Adopts a GLXContext created from an X visual

*

See QNativeInterface::QGLXContext::fromNative(GLXContext,void*,QOpenGLContext*)

* @param visualBasedContext * @param visualInfo * @param shareContext * @return */ public static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer visualBasedContext, @Nullable QNativePointer visualInfo, io.qt.gui.@Nullable QOpenGLContext shareContext){ return Impl.fromNative(visualBasedContext, visualInfo, shareContext); } /** *

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

*/ public static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer configBasedContext) { return fromNative(configBasedContext, (io.qt.gui.QOpenGLContext)null); } /** *

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

*/ public static io.qt.gui.@Nullable QOpenGLContext fromNative(@NonNull QNativePointer visualBasedContext, @Nullable QNativePointer visualInfo) { return fromNative(visualBasedContext, visualInfo, (io.qt.gui.QOpenGLContext)null); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy