io.qt.gui.rhi.QRhiSwapChainRenderTarget 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.*;
/**
* Swapchain render target resource
* Java wrapper for Qt class QRhiSwapChainRenderTarget
*/
public abstract class QRhiSwapChainRenderTarget extends io.qt.gui.rhi.QRhiRenderTarget
{
@NativeAccess
private static final class ConcreteWrapper extends QRhiSwapChainRenderTarget {
@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 int sampleCount(){
return sampleCount_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int sampleCount_native_constfct(long __this__nativeId);
}
/**
* See QRhiSwapChainRenderTarget:: swapChain()const
*/
@QtUninvokable
public final io.qt.gui.rhi.@Nullable QRhiSwapChain swapChain(){
return swapChain_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.rhi.QRhiSwapChain swapChain_native_constfct(long __this__nativeId);
/**
* See QRhiResource:: resourceType()const
*/
@QtUninvokable
@Override
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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRhiSwapChainRenderTarget(QPrivateConstructor p) { super(p); }
}