io.qt.gui.rhi.QRhiRenderTarget 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.*;
/**
* Represents an onscreen (swapchain) or offscreen (texture) render target
* Java wrapper for Qt class QRhiRenderTarget
* This class was introduced in Qt 6.6.
*/
public abstract class QRhiRenderTarget extends io.qt.gui.rhi.QRhiResource
{
@QtPropertyMember(enabled=false)
private Object __rcRenderPassDescriptor = null;
@NativeAccess
private static final class ConcreteWrapper extends QRhiRenderTarget {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public void destroy(){
destroy_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void destroy_native(long __this__nativeId);
@Override
@QtUninvokable
public float devicePixelRatio(){
return devicePixelRatio_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float devicePixelRatio_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public 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);
@Override
@QtUninvokable
public io.qt.gui.rhi.QRhiResource.@NonNull Type resourceType(){
return io.qt.gui.rhi.QRhiResource.Type.resolve(resourceType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int resourceType_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public int sampleCount(){
return sampleCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int sampleCount_native_constfct(long __this__nativeId);
}
/**
* See QRhiRenderTarget:: renderPassDescriptor()const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiRenderPassDescriptor renderPassDescriptor(){
return renderPassDescriptor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiRenderPassDescriptor renderPassDescriptor_native_constfct(long __this__nativeId);
/**
* See QRhiRenderTarget:: setRenderPassDescriptor(QRhiRenderPassDescriptor*)
*/
@QtUninvokable
public final void setRenderPassDescriptor(io.qt.gui.rhi.@Nullable QRhiRenderPassDescriptor desc){
setRenderPassDescriptor_native_QRhiRenderPassDescriptor_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(desc));
__rcRenderPassDescriptor = desc;
}
@QtUninvokable
private native void setRenderPassDescriptor_native_QRhiRenderPassDescriptor_ptr(long __this__nativeId, long desc);
/**
* See QRhiRenderTarget:: devicePixelRatio()const
*/
@QtUninvokable
public abstract float devicePixelRatio();
@QtUninvokable
private native float devicePixelRatio_native_constfct(long __this__nativeId);
/**
* See QRhiRenderTarget:: pixelSize()const
*/
@QtUninvokable
public abstract io.qt.core.@NonNull QSize pixelSize();
@QtUninvokable
private native io.qt.core.QSize pixelSize_native_constfct(long __this__nativeId);
/**
* See QRhiRenderTarget:: sampleCount()const
*/
@QtUninvokable
public abstract int sampleCount();
@QtUninvokable
private native int sampleCount_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRhiRenderTarget(QPrivateConstructor p) { super(p); }
}