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

io.qt.gui.rhi.QRhiSwapChainProxyData Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.gui.rhi;

import io.qt.*;


/**
 * 

Opaque data describing native objects needed to set up a swapchain

*

Java wrapper for Qt class QRhiSwapChainProxyData

*/ public class QRhiSwapChainProxyData extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QRhiSwapChainProxyData::QRhiSwapChainProxyData()

*/ public QRhiSwapChainProxyData(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QRhiSwapChainProxyData instance); /** *

See QRhiSwapChainProxyData::QRhiSwapChainProxyData(QRhiSwapChainProxyData)

*/ public QRhiSwapChainProxyData(io.qt.gui.rhi.@StrictNonNull QRhiSwapChainProxyData other){ super((QPrivateConstructor)null); java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); initialize_native(this, other); } private native static void initialize_native(QRhiSwapChainProxyData instance, io.qt.gui.rhi.QRhiSwapChainProxyData other); /** *

See QRhiSwapChainProxyData::QRhiSwapChainProxyData{void*[2]}

*/ public QRhiSwapChainProxyData(@Nullable QNativePointer[] reserved){ super((QPrivateConstructor)null); if (reserved.length != 2) throw new IllegalArgumentException("Argument 'reserved': Wrong number of elements in array. Found: " + reserved.length + ", expected: 2"); initialize_native(this, reserved); } private native static void initialize_native(QRhiSwapChainProxyData instance, QNativePointer[] reserved); /** *

See QRhiSwapChainProxyData::reserved

*/ @QtUninvokable public final void setReserved(@Nullable QNativePointer[] reserved){ if (reserved.length != 2) throw new IllegalArgumentException("Argument 'reserved': Wrong number of elements in array. Found: " + reserved.length + ", expected: 2"); setReserved_native_cref_void_ptr_2_(QtJambi_LibraryUtilities.internal.nativeId(this), reserved); } @QtUninvokable private native void setReserved_native_cref_void_ptr_2_(long __this__nativeId, QNativePointer[] reserved); /** *

See QRhiSwapChainProxyData::reserved

*/ @QtUninvokable public final @Nullable QNativePointer[] reserved(){ return reserved_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native QNativePointer[] reserved_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRhiSwapChainProxyData(QPrivateConstructor p) { super(p); } /** *

Creates and returns a copy of this object.

See QRhiSwapChainProxyData::QRhiSwapChainProxyData(QRhiSwapChainProxyData)

*/ @QtUninvokable @Override public QRhiSwapChainProxyData clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QRhiSwapChainProxyData clone_native(long __this_nativeId); /** * @hidden *

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

*/ @QtUninvokable public final @Nullable QNativePointer[] getReserved() { return reserved(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy