io.qt.qt3d.extras.QForwardRenderer Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Default FrameGraph implementation of a forward renderer
* Java wrapper for Qt's class Qt3DExtras::QForwardRenderer
*/
public class QForwardRenderer extends io.qt.qt3d.render.QTechniqueFilter
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QForwardRenderer.class);
/**
* See Qt3DExtras::QForwardRenderer::buffersToClearChanged(Qt3DRender::QClearBuffers::BufferType)
*/
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="buffersToClear")
public final @NonNull Signal1 buffersToClearChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::cameraChanged(Qt3DCore::QEntity*)
*/
@SuppressWarnings({"exports"})
@QtPropertyNotify(name="camera")
public final @NonNull Signal1 cameraChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::clearColorChanged(QColor)
*/
@QtPropertyNotify(name="clearColor")
public final @NonNull Signal1 clearColorChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::externalRenderTargetSizeChanged(QSize)
*/
@QtPropertyNotify(name="externalRenderTargetSize")
public final @NonNull Signal1 externalRenderTargetSizeChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::frustumCullingEnabledChanged(bool)
*/
@QtPropertyNotify(name="frustumCulling")
public final @NonNull Signal1 frustumCullingEnabledChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::gammaChanged(float)
*/
@QtPropertyNotify(name="gamma")
public final @NonNull Signal1 gammaChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::showDebugOverlayChanged(bool)
*/
@QtPropertyNotify(name="showDebugOverlay")
public final @NonNull Signal1 showDebugOverlayChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::surfaceChanged(QObject*)
*/
@QtPropertyNotify(name="surface")
public final @NonNull Signal1 surfaceChanged = new Signal1<>();
/**
* See Qt3DExtras::QForwardRenderer::viewportRectChanged(QRectF)
*/
@QtPropertyNotify(name="viewportRect")
public final @NonNull Signal1 viewportRectChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QForwardRenderer(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QForwardRenderer() {
this((io.qt.qt3d.core.QNode)null);
}
@SuppressWarnings({"exports"})
public QForwardRenderer(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QForwardRenderer instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #buffersToClear()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QClearBuffers.@NonNull BufferType getBuffersToClear() {
return buffersToClear();
}
/**
* See Qt3DExtras::QForwardRenderer::buffersToClear()const
*/
@QtPropertyReader(name="buffersToClear")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.render.QClearBuffers.@NonNull BufferType buffersToClear(){
return io.qt.qt3d.render.QClearBuffers.BufferType.resolve(buffersToClear_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int buffersToClear_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #camera()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QEntity getCamera() {
return camera();
}
/**
* See Qt3DExtras::QForwardRenderer::camera()const
*/
@QtPropertyReader(name="camera")
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QEntity camera(){
return camera_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.core.QEntity camera_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #clearColor()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QColor getClearColor() {
return clearColor();
}
/**
* See Qt3DExtras::QForwardRenderer::clearColor()const
*/
@QtPropertyReader(name="clearColor")
@QtUninvokable
public final io.qt.gui.@NonNull QColor clearColor(){
return clearColor_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QColor clearColor_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #externalRenderTargetSize()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QSize getExternalRenderTargetSize() {
return externalRenderTargetSize();
}
/**
* See Qt3DExtras::QForwardRenderer::externalRenderTargetSize()const
*/
@QtPropertyReader(name="externalRenderTargetSize")
@QtUninvokable
public final io.qt.core.@NonNull QSize externalRenderTargetSize(){
return externalRenderTargetSize_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QSize externalRenderTargetSize_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #gamma()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getGamma() {
return gamma();
}
/**
* See Qt3DExtras::QForwardRenderer::gamma()const
*/
@QtPropertyReader(name="gamma")
@QtUninvokable
public final float gamma(){
return gamma_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float gamma_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #isFrustumCullingEnabled()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getFrustumCulling() {
return isFrustumCullingEnabled();
}
/**
* See Qt3DExtras::QForwardRenderer::isFrustumCullingEnabled()const
*/
@QtPropertyReader(name="frustumCulling")
@QtUninvokable
public final boolean isFrustumCullingEnabled(){
return isFrustumCullingEnabled_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isFrustumCullingEnabled_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QForwardRenderer::setBuffersToClear(Qt3DRender::QClearBuffers::BufferType)
*/
@QtPropertyWriter(name="buffersToClear")
@SuppressWarnings({"exports"})
public final void setBuffersToClear(io.qt.qt3d.render.QClearBuffers.@NonNull BufferType arg__1){
setBuffersToClear_native_Qt3DRender_QClearBuffers_BufferType(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
private native void setBuffersToClear_native_Qt3DRender_QClearBuffers_BufferType(long __this__nativeId, int arg__1);
/**
* See Qt3DExtras::QForwardRenderer::setCamera(Qt3DCore::QEntity*)
*/
@QtPropertyWriter(name="camera")
@SuppressWarnings({"exports"})
public final void setCamera(io.qt.qt3d.core.@Nullable QEntity camera){
setCamera_native_Qt3DCore_QEntity_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(camera));
}
private native void setCamera_native_Qt3DCore_QEntity_ptr(long __this__nativeId, long camera);
/**
* See Qt3DExtras::QForwardRenderer::setClearColor(QColor)
*/
@QtPropertyWriter(name="clearColor")
public final void setClearColor(io.qt.gui.@NonNull QColor clearColor){
setClearColor_native_cref_QColor(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(clearColor));
}
private native void setClearColor_native_cref_QColor(long __this__nativeId, long clearColor);
/**
* See Qt3DExtras::QForwardRenderer::setExternalRenderTargetSize(QSize)
*/
@QtPropertyWriter(name="externalRenderTargetSize")
public final void setExternalRenderTargetSize(io.qt.core.@NonNull QSize size){
setExternalRenderTargetSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(size));
}
private native void setExternalRenderTargetSize_native_cref_QSize(long __this__nativeId, long size);
/**
* See Qt3DExtras::QForwardRenderer::setFrustumCullingEnabled(bool)
*/
@QtPropertyWriter(name="frustumCulling")
public final void setFrustumCullingEnabled(boolean enabled){
setFrustumCullingEnabled_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
private native void setFrustumCullingEnabled_native_bool(long __this__nativeId, boolean enabled);
/**
* See Qt3DExtras::QForwardRenderer::setGamma(float)
*/
@QtPropertyWriter(name="gamma")
public final void setGamma(float gamma){
setGamma_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), gamma);
}
private native void setGamma_native_float(long __this__nativeId, float gamma);
/**
* See Qt3DExtras::QForwardRenderer::setShowDebugOverlay(bool)
*/
@QtPropertyWriter(name="showDebugOverlay")
public final void setShowDebugOverlay(boolean showDebugOverlay){
setShowDebugOverlay_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), showDebugOverlay);
}
private native void setShowDebugOverlay_native_bool(long __this__nativeId, boolean showDebugOverlay);
/**
* See Qt3DExtras::QForwardRenderer::setSurface(QObject*)
*/
@QtPropertyWriter(name="surface")
public final void setSurface(io.qt.core.@Nullable QObject surface){
setSurface_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(surface));
}
private native void setSurface_native_QObject_ptr(long __this__nativeId, long surface);
/**
* See Qt3DExtras::QForwardRenderer::setViewportRect(QRectF)
*/
@QtPropertyWriter(name="viewportRect")
public final void setViewportRect(io.qt.core.@NonNull QRectF viewportRect){
setViewportRect_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(viewportRect));
}
private native void setViewportRect_native_cref_QRectF(long __this__nativeId, long viewportRect);
/**
* Kotlin property getter. In Java use {@link #showDebugOverlay()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getShowDebugOverlay() {
return showDebugOverlay();
}
/**
* See Qt3DExtras::QForwardRenderer::showDebugOverlay()const
*/
@QtPropertyReader(name="showDebugOverlay")
@QtUninvokable
public final boolean showDebugOverlay(){
return showDebugOverlay_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean showDebugOverlay_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #surface()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@Nullable QObject getSurface() {
return surface();
}
/**
* See Qt3DExtras::QForwardRenderer::surface()const
*/
@QtPropertyReader(name="surface")
@QtUninvokable
public final io.qt.core.@Nullable QObject surface(){
return surface_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QObject surface_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #viewportRect()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.core.@NonNull QRectF getViewportRect() {
return viewportRect();
}
/**
* See Qt3DExtras::QForwardRenderer::viewportRect()const
*/
@QtPropertyReader(name="viewportRect")
@QtUninvokable
public final io.qt.core.@NonNull QRectF viewportRect(){
return viewportRect_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.core.QRectF viewportRect_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QForwardRenderer(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QForwardRenderer(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QForwardRenderer instance, QDeclarativeConstructor constructor);
}