io.qt.gui.rhi.QRhiTextureCopyDescription Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.gui.rhi;
import io.qt.*;
/**
* Describes a texture-to-texture copy operation
* Java wrapper for Qt class QRhiTextureCopyDescription
* This class was introduced in Qt 6.6.
*/
public class QRhiTextureCopyDescription extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QRhiTextureCopyDescription:: QRhiTextureCopyDescription()
*/
public QRhiTextureCopyDescription(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QRhiTextureCopyDescription instance);
/**
* See QRhiTextureCopyDescription:: QRhiTextureCopyDescription(QRhiTextureCopyDescription)
*/
public QRhiTextureCopyDescription(io.qt.gui.rhi.@StrictNonNull QRhiTextureCopyDescription other){
super((QPrivateConstructor)null);
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
initialize_native(this, other);
}
private native static void initialize_native(QRhiTextureCopyDescription instance, io.qt.gui.rhi.QRhiTextureCopyDescription other);
/**
* See QRhiTextureCopyDescription:: destinationLayer()const
*/
@QtUninvokable
public final int destinationLayer(){
return destinationLayer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int destinationLayer_native_constfct(long __this__nativeId);
/**
* See QRhiTextureCopyDescription:: destinationLevel()const
*/
@QtUninvokable
public final int destinationLevel(){
return destinationLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int destinationLevel_native_constfct(long __this__nativeId);
/**
* See QRhiTextureCopyDescription:: destinationTopLeft()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint destinationTopLeft(){
return destinationTopLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint destinationTopLeft_native_constfct(long __this__nativeId);
/**
* See QRhiTextureCopyDescription:: pixelSize()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QSize pixelSize(){
return pixelSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize pixelSize_native_constfct(long __this__nativeId);
/**
* See QRhiTextureCopyDescription:: setDestinationLayer(int)
*/
@QtUninvokable
public final void setDestinationLayer(int layer){
setDestinationLayer_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), layer);
}
@QtUninvokable
private native void setDestinationLayer_native_int(long __this__nativeId, int layer);
/**
* See QRhiTextureCopyDescription:: setDestinationLevel(int)
*/
@QtUninvokable
public final void setDestinationLevel(int level){
setDestinationLevel_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), level);
}
@QtUninvokable
private native void setDestinationLevel_native_int(long __this__nativeId, int level);
/**
* See QRhiTextureCopyDescription:: setDestinationTopLeft(QPoint)
*/
@QtUninvokable
public final void setDestinationTopLeft(io.qt.core.@NonNull QPoint p){
setDestinationTopLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@QtUninvokable
private native void setDestinationTopLeft_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRhiTextureCopyDescription:: setPixelSize(QSize)
*/
@QtUninvokable
public final void setPixelSize(io.qt.core.@NonNull QSize sz){
setPixelSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(sz));
}
@QtUninvokable
private native void setPixelSize_native_cref_QSize(long __this__nativeId, long sz);
/**
* See QRhiTextureCopyDescription:: setSourceLayer(int)
*/
@QtUninvokable
public final void setSourceLayer(int layer){
setSourceLayer_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), layer);
}
@QtUninvokable
private native void setSourceLayer_native_int(long __this__nativeId, int layer);
/**
* See QRhiTextureCopyDescription:: setSourceLevel(int)
*/
@QtUninvokable
public final void setSourceLevel(int level){
setSourceLevel_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), level);
}
@QtUninvokable
private native void setSourceLevel_native_int(long __this__nativeId, int level);
/**
* See QRhiTextureCopyDescription:: setSourceTopLeft(QPoint)
*/
@QtUninvokable
public final void setSourceTopLeft(io.qt.core.@NonNull QPoint p){
setSourceTopLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@QtUninvokable
private native void setSourceTopLeft_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRhiTextureCopyDescription:: sourceLayer()const
*/
@QtUninvokable
public final int sourceLayer(){
return sourceLayer_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int sourceLayer_native_constfct(long __this__nativeId);
/**
* See QRhiTextureCopyDescription:: sourceLevel()const
*/
@QtUninvokable
public final int sourceLevel(){
return sourceLevel_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int sourceLevel_native_constfct(long __this__nativeId);
/**
* See QRhiTextureCopyDescription:: sourceTopLeft()const
*/
@QtUninvokable
public final io.qt.core.@NonNull QPoint sourceTopLeft(){
return sourceTopLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QPoint sourceTopLeft_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRhiTextureCopyDescription(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QRhiTextureCopyDescription:: QRhiTextureCopyDescription(QRhiTextureCopyDescription)
*/
@QtUninvokable
@Override
public QRhiTextureCopyDescription clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QRhiTextureCopyDescription clone_native(long __this_nativeId);
}