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

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

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

import io.qt.*;


/**
 * 

Statistics provided from the underlying memory allocator

*

Java wrapper for Qt class QRhiStats

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

See QRhiStats::QRhiStats()

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

See QRhiStats::QRhiStats(QRhiStats)

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

See QRhiStats::QRhiStats{qint64,quint32,quint32,quint64,quint64,quint64}

*/ public QRhiStats(long totalPipelineCreationTime, int blockCount, int allocCount, long usedBytes, long unusedBytes, long totalUsageBytes){ super((QPrivateConstructor)null); initialize_native(this, totalPipelineCreationTime, blockCount, allocCount, usedBytes, unusedBytes, totalUsageBytes); } private native static void initialize_native(QRhiStats instance, long totalPipelineCreationTime, int blockCount, int allocCount, long usedBytes, long unusedBytes, long totalUsageBytes); /** *

See QRhiStats::allocCount

*/ @QtUninvokable public final void setAllocCount(int allocCount){ setAllocCount_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), allocCount); } @QtUninvokable private native void setAllocCount_native_quint32(long __this__nativeId, int allocCount); /** *

See QRhiStats::allocCount

*/ @QtUninvokable public final int allocCount(){ return allocCount_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int allocCount_native(long __this__nativeId); /** *

See QRhiStats::blockCount

*/ @QtUninvokable public final void setBlockCount(int blockCount){ setBlockCount_native_quint32(QtJambi_LibraryUtilities.internal.nativeId(this), blockCount); } @QtUninvokable private native void setBlockCount_native_quint32(long __this__nativeId, int blockCount); /** *

See QRhiStats::blockCount

*/ @QtUninvokable public final int blockCount(){ return blockCount_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int blockCount_native(long __this__nativeId); /** *

See QRhiStats::totalPipelineCreationTime

*/ @QtUninvokable public final void setTotalPipelineCreationTime(long totalPipelineCreationTime){ setTotalPipelineCreationTime_native_qint64(QtJambi_LibraryUtilities.internal.nativeId(this), totalPipelineCreationTime); } @QtUninvokable private native void setTotalPipelineCreationTime_native_qint64(long __this__nativeId, long totalPipelineCreationTime); /** *

See QRhiStats::totalPipelineCreationTime

*/ @QtUninvokable public final long totalPipelineCreationTime(){ return totalPipelineCreationTime_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long totalPipelineCreationTime_native(long __this__nativeId); /** *

See QRhiStats::totalUsageBytes

*/ @QtUninvokable public final void setTotalUsageBytes(long totalUsageBytes){ setTotalUsageBytes_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), totalUsageBytes); } @QtUninvokable private native void setTotalUsageBytes_native_quint64(long __this__nativeId, long totalUsageBytes); /** *

See QRhiStats::totalUsageBytes

*/ @QtUninvokable public final long totalUsageBytes(){ return totalUsageBytes_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long totalUsageBytes_native(long __this__nativeId); /** *

See QRhiStats::unusedBytes

*/ @QtUninvokable public final void setUnusedBytes(long unusedBytes){ setUnusedBytes_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), unusedBytes); } @QtUninvokable private native void setUnusedBytes_native_quint64(long __this__nativeId, long unusedBytes); /** *

See QRhiStats::unusedBytes

*/ @QtUninvokable public final long unusedBytes(){ return unusedBytes_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long unusedBytes_native(long __this__nativeId); /** *

See QRhiStats::usedBytes

*/ @QtUninvokable public final void setUsedBytes(long usedBytes){ setUsedBytes_native_quint64(QtJambi_LibraryUtilities.internal.nativeId(this), usedBytes); } @QtUninvokable private native void setUsedBytes_native_quint64(long __this__nativeId, long usedBytes); /** *

See QRhiStats::usedBytes

*/ @QtUninvokable public final long usedBytes(){ return usedBytes_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native long usedBytes_native(long __this__nativeId); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRhiStats(QPrivateConstructor p) { super(p); } /** *

See operator<<(QDebug,QRhiStats)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QRhiStats::QRhiStats(QRhiStats)

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

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

*/ @QtUninvokable public final int getAllocCount() { return allocCount(); } /** * @hidden *

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

*/ @QtUninvokable public final int getBlockCount() { return blockCount(); } /** * @hidden *

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

*/ @QtUninvokable public final long getTotalPipelineCreationTime() { return totalPipelineCreationTime(); } /** * @hidden *

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

*/ @QtUninvokable public final long getTotalUsageBytes() { return totalUsageBytes(); } /** * @hidden *

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

*/ @QtUninvokable public final long getUnusedBytes() { return unusedBytes(); } /** * @hidden *

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

*/ @QtUninvokable public final long getUsedBytes() { return usedBytes(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy