io.qt.gui.rhi.QRhiReadbackDescription Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
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
*/
public class QRhiReadbackDescription extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
@QtPropertyMember(enabled=false)
private Object __rcTexture = null;
/**
* See QRhiReadbackDescription:: QRhiReadbackDescription()
*/
public QRhiReadbackDescription(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QRhiReadbackDescription instance);
/**
* See QRhiReadbackDescription:: QRhiReadbackDescription(QRhiReadbackDescription)
*/
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*)
*/
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
*/
@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
*/
@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)
*/
@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)
*/
@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*)
*/
@QtUninvokable
public final void setTexture(io.qt.gui.rhi.@Nullable QRhiTexture tex){
setTexture_native_QRhiTexture_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(tex));
__rcTexture = tex;
}
@QtUninvokable
private native void setTexture_native_QRhiTexture_ptr(long __this__nativeId, long tex);
/**
* See QRhiReadbackDescription:: texture()const
*/
@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);
}