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

io.qt.gui.rhi.QRhiGles2NativeHandles Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

Holds the OpenGL context used by the QRhi

*

Java wrapper for Qt class QRhiGles2NativeHandles

* @since This class was introduced in Qt 6.6. */ public class QRhiGles2NativeHandles extends io.qt.gui.rhi.QRhiNativeHandles { @QtPropertyMember(enabled=false) private Object __rccontext; /** *

See QRhiGles2NativeHandles::QRhiGles2NativeHandles()

*/ public QRhiGles2NativeHandles(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QRhiGles2NativeHandles instance); /** *

See QRhiGles2NativeHandles::context

* @param context */ @QtUninvokable public final void setContext(io.qt.gui.@Nullable QOpenGLContext context){ InternalAccess.NativeIdInfo __context__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(context); setContext_native_QOpenGLContext_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __context__NativeIdInfo.nativeId()); if (__context__NativeIdInfo.needsReferenceCounting()) { __rccontext = context; }else{ __rccontext = null; } } @QtUninvokable private native void setContext_native_QOpenGLContext_ptr(long __this__nativeId, long context); /** *

See QRhiGles2NativeHandles::context

* @return */ @QtUninvokable public final io.qt.gui.@Nullable QOpenGLContext context(){ return context_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QOpenGLContext context_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRhiGles2NativeHandles(QPrivateConstructor p) { super(p); } /** * @hidden *

Kotlin property getter. In Java use {@link #context()} instead.

*/ @QtUninvokable public final io.qt.gui.@Nullable QOpenGLContext getContext() { return context(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy