All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.qt3d.render.QRenderSurfaceSelector Maven / Gradle / Ivy

The newest version!
package io.qt.qt3d.render;

import io.qt.*;


/**
 * 

Provides a way of specifying the render surface

*

Java wrapper for Qt class Qt3DRender::QRenderSurfaceSelector

*/ public class QRenderSurfaceSelector extends io.qt.qt3d.render.QFrameGraphNode { @QtPropertyMember(enabled=false) private Object __rcSurfaceObject; /** * This variable stores the meta-object for the class. */ public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QRenderSurfaceSelector.class); /** *

See Qt3DRender::QRenderSurfaceSelector::externalRenderTargetSizeChanged(QSize)

*/ @QtPropertyNotify(name="externalRenderTargetSize") public final @NonNull Signal1 externalRenderTargetSizeChanged = new Signal1<>(); /** *

See Qt3DRender::QRenderSurfaceSelector::surfaceChanged(QObject*)

*/ @QtPropertyNotify(name="surface") public final @NonNull Signal1 surfaceChanged = new Signal1<>(); /** *

See Qt3DRender::QRenderSurfaceSelector::surfacePixelRatioChanged(float)

*/ @QtPropertyNotify(name="surfacePixelRatio") public final @NonNull Signal1 surfacePixelRatioChanged = new Signal1<>(); /** *

See Qt3DRender::QRenderSurfaceSelector::QRenderSurfaceSelector(Qt3DCore::QNode*)

* @param parent */ @SuppressWarnings({"exports"}) public QRenderSurfaceSelector(io.qt.qt3d.core.@Nullable QNode parent){ super((QPrivateConstructor)null); initialize_native(this, parent); } private native static void initialize_native(QRenderSurfaceSelector instance, io.qt.qt3d.core.QNode parent); /** *

See Qt3DRender::QRenderSurfaceSelector::externalRenderTargetSize()const

* @return */ @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); /** *

See Qt3DRender::QRenderSurfaceSelector::setExternalRenderTargetSize(QSize)

* @param size */ @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 Qt3DRender::QRenderSurfaceSelector::setSurface(QObject*)

* @param surfaceObject */ @QtPropertyWriter(name="surface") public final void setSurface(io.qt.core.@Nullable QObject surfaceObject){ InternalAccess.NativeIdInfo __surfaceObject__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(surfaceObject); setSurface_native_QObject_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __surfaceObject__NativeIdInfo.nativeId()); if (__surfaceObject__NativeIdInfo.needsReferenceCounting()) { __rcSurfaceObject = surfaceObject; }else{ __rcSurfaceObject = null; } } private native void setSurface_native_QObject_ptr(long __this__nativeId, long surfaceObject); /** *

See Qt3DRender::QRenderSurfaceSelector::setSurfacePixelRatio(float)

* @param ratio */ @QtPropertyWriter(name="surfacePixelRatio") public final void setSurfacePixelRatio(float ratio){ setSurfacePixelRatio_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), ratio); } private native void setSurfacePixelRatio_native_float(long __this__nativeId, float ratio); /** *

See Qt3DRender::QRenderSurfaceSelector::surface()const

* @return */ @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); /** *

See Qt3DRender::QRenderSurfaceSelector::surfacePixelRatio()const

* @return */ @QtPropertyReader(name="surfacePixelRatio") @QtUninvokable public final float surfacePixelRatio(){ return surfacePixelRatio_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native float surfacePixelRatio_native_constfct(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRenderSurfaceSelector(QPrivateConstructor p) { super(p); } /** * Constructor for internal use only. * It is not allowed to call the declarative constructor from inside Java. * @hidden */ @NativeAccess protected QRenderSurfaceSelector(QDeclarativeConstructor constructor) { super((QPrivateConstructor)null); initialize_native(this, constructor); } @QtUninvokable private static native void initialize_native(QRenderSurfaceSelector instance, QDeclarativeConstructor constructor); /** *

Overloaded constructor for {@link #QRenderSurfaceSelector(io.qt.qt3d.core.QNode)} * with parent = null.

*/ public QRenderSurfaceSelector() { this((io.qt.qt3d.core.QNode)null); } /** * @hidden *

Kotlin property getter. In Java use {@link #externalRenderTargetSize()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@NonNull QSize getExternalRenderTargetSize() { return externalRenderTargetSize(); } /** * @hidden *

Kotlin property getter. In Java use {@link #surface()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final io.qt.core.@Nullable QObject getSurface() { return surface(); } /** * @hidden *

Kotlin property getter. In Java use {@link #surfacePixelRatio()} instead.

*/ @QtPropertyReader(enabled=false) @QtUninvokable public final float getSurfacePixelRatio() { return surfacePixelRatio(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy