io.qt.gui.nativeinterface.QEGLContext Maven / Gradle / Ivy
package io.qt.gui.nativeinterface;
/**
* Native interface to an EGL context
* Java wrapper for Qt class QNativeInterface::QEGLContext
*/
public interface QEGLContext extends io.qt.QtObjectInterface
{
/**
* Implementor class for interface {@link io.qt.gui.nativeinterface.QEGLContext}
*/
public static abstract class Impl extends io.qt.QtObject
implements io.qt.gui.nativeinterface.QEGLContext
{
static {
QtJambi_LibraryUtilities.initialize();
}
@io.qt.NativeAccess
private static final class ConcreteWrapper extends QEGLContext.Impl {
@io.qt.NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public io.qt.QNativePointer display(){
throw new io.qt.QNoImplementationException();
}
private native static io.qt.QNativePointer display_native_constfct(long __this__nativeId);
@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::QEGLContext::display()const
*/
@io.qt.QtUninvokable
public abstract io.qt.QNativePointer display();
/**
* See QNativeInterface::QEGLContext::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 display) {
return fromNative(context, display, (io.qt.gui.QOpenGLContext)null);
}
/**
* Adopts an EGLContext context
* See QNativeInterface::QEGLContext::fromNative(EGLContext,EGLDisplay,QOpenGLContext*)
*/
private static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context, io.qt.QNativePointer display, io.qt.gui.QOpenGLContext shareContext){
return fromNative_native_EGLContext_EGLDisplay_QOpenGLContext_ptr(context, display, QtJambi_LibraryUtilities.internal.checkedNativeId(shareContext));
}
private native static io.qt.gui.QOpenGLContext fromNative_native_EGLContext_EGLDisplay_QOpenGLContext_ptr(io.qt.QNativePointer context, io.qt.QNativePointer display, long shareContext);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QNativeInterface::QEGLContext::display()const
*/
@io.qt.QtUninvokable
public io.qt.QNativePointer display();
/**
* See QNativeInterface::QEGLContext::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 display) {
return fromNative(context, display, (io.qt.gui.QOpenGLContext)null);
}
/**
* Adopts an EGLContext context
* See QNativeInterface::QEGLContext::fromNative(EGLContext,EGLDisplay,QOpenGLContext*)
*/
public static io.qt.gui.QOpenGLContext fromNative(io.qt.QNativePointer context, io.qt.QNativePointer display, io.qt.gui.QOpenGLContext shareContext){
return Impl.fromNative(context, display, shareContext);
}
}