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

io.qt.qt3d.render.QSharedGLTexture Maven / Gradle / Ivy

package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Allows to use a textureId from a separate OpenGL context in a Qt 3D scene

*

Java wrapper for Qt class Qt3DRender::QSharedGLTexture

*/ public class QSharedGLTexture extends io.qt.qt3d.render.QAbstractTexture { /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QSharedGLTexture.class); /** *

See Qt3DRender::QSharedGLTexture::textureIdChanged(int)

*/ @QtPropertyNotify(name="textureId") public final @NonNull Signal1 textureIdChanged = new Signal1<>(); /** *

See Qt3DRender::QSharedGLTexture::QSharedGLTexture(Qt3DCore::QNode*)

* @param parent */ @SuppressWarnings({"exports"}) public QSharedGLTexture(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QSharedGLTexture instance, io.qt.qt3d.core.QNode parent); /** *

See Qt3DRender::QSharedGLTexture::setTextureId(int)

* @param id */ @QtPropertyWriter(name="textureId") public final void setTextureId(int id){ setTextureId_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), id); } private native void setTextureId_native_int(long __this__nativeId, int id); /** *

See Qt3DRender::QSharedGLTexture::textureId()const

* @return */ @QtPropertyReader(name="textureId") @QtUninvokable public final int textureId(){ return textureId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int textureId_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QSharedGLTexture(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QSharedGLTexture(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QSharedGLTexture instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QSharedGLTexture(io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QSharedGLTexture() { this((io.qt.qt3d.core.QNode)null); } /** * @hidden *

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

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final int getTextureId() { return textureId(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy