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

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

package io.qt.gui.rhi;

import io.qt.*;


/**
 * 

Describes a readback (reading back texture contents from possibly GPU-only memory) operation

*

Java wrapper for Qt class QRhiReadbackDescription

* @since This class was introduced in Qt 6.6. */ public class QRhiReadbackDescription extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcTexture; /** *

See QRhiReadbackDescription::QRhiReadbackDescription()

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

See QRhiReadbackDescription::QRhiReadbackDescription(QRhiReadbackDescription)

* @param other */ public QRhiReadbackDescription(io.qt.gui.rhi.@StrictNonNull QRhiReadbackDescription other){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); initialize_native(this, other); } private native static void initialize_native(QRhiReadbackDescription instance, io.qt.gui.rhi.QRhiReadbackDescription other); /** *

See QRhiReadbackDescription::QRhiReadbackDescription(QRhiTexture*)

* @param texture */ public QRhiReadbackDescription(io.qt.gui.rhi.@Nullable QRhiTexture texture){ super((QPrivateConstructor)null); initialize_native(this, texture); } private native static void initialize_native(QRhiReadbackDescription instance, io.qt.gui.rhi.QRhiTexture texture); /** *

See QRhiReadbackDescription::layer()const

* @return */ @QtUninvokable public final int layer(){ return layer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int layer_native_constfct(long __this__nativeId); /** *

See QRhiReadbackDescription::level()const

* @return */ @QtUninvokable public final int level(){ return level_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int level_native_constfct(long __this__nativeId); /** *

See QRhiReadbackDescription::setLayer(int)

* @param layer */ @QtUninvokable public final void setLayer(int layer){ setLayer_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), layer); } @QtUninvokable private native void setLayer_native_int(long __this__nativeId, int layer); /** *

See QRhiReadbackDescription::setLevel(int)

* @param level */ @QtUninvokable public final void setLevel(int level){ setLevel_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), level); } @QtUninvokable private native void setLevel_native_int(long __this__nativeId, int level); /** *

See QRhiReadbackDescription::setTexture(QRhiTexture*)

* @param tex */ @QtUninvokable public final void setTexture(io.qt.gui.rhi.@Nullable QRhiTexture tex){ InternalAccess.NativeIdInfo __tex__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(tex); setTexture_native_QRhiTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __tex__NativeIdInfo.nativeId()); if (__tex__NativeIdInfo.needsReferenceCounting()) { __rcTexture = tex; }else{ __rcTexture = null; } } @QtUninvokable private native void setTexture_native_QRhiTexture_ptr(long __this__nativeId, long tex); /** *

See QRhiReadbackDescription::texture()const

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

Creates and returns a copy of this object.

See QRhiReadbackDescription::QRhiReadbackDescription(QRhiReadbackDescription)

*/ @QtUninvokable @Override public QRhiReadbackDescription clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QRhiReadbackDescription clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy