io.qt.gui.rhi.QRhiMetalNativeHandles 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.*;
/**
* Holds the Metal device used by the QRhi
* Java wrapper for Qt class QRhiMetalNativeHandles
*/
public class QRhiMetalNativeHandles extends io.qt.gui.rhi.QRhiNativeHandles
{
/**
* See QRhiMetalNativeHandles:: QRhiMetalNativeHandles()
*/
public QRhiMetalNativeHandles(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QRhiMetalNativeHandles instance);
/**
* See QRhiMetalNativeHandles:: cmdQueue
*/
@QtUninvokable
public final void setCmdQueue(@Nullable QNativePointer cmdQueue){
setCmdQueue_native_MTLCommandQueue_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), cmdQueue);
}
@QtUninvokable
private native void setCmdQueue_native_MTLCommandQueue_ptr(long __this__nativeId, QNativePointer cmdQueue);
/**
* See QRhiMetalNativeHandles:: cmdQueue
*/
@QtUninvokable
public final @Nullable QNativePointer cmdQueue(){
return cmdQueue_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native QNativePointer cmdQueue_native(long __this__nativeId);
/**
* See QRhiMetalNativeHandles:: dev
*/
@QtUninvokable
public final void setDev(@Nullable QNativePointer dev){
setDev_native_MTLDevice_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), dev);
}
@QtUninvokable
private native void setDev_native_MTLDevice_ptr(long __this__nativeId, QNativePointer dev);
/**
* See QRhiMetalNativeHandles:: dev
*/
@QtUninvokable
public final @Nullable QNativePointer dev(){
return dev_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native QNativePointer dev_native(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRhiMetalNativeHandles(QPrivateConstructor p) { super(p); }
/**
* @hidden
* Kotlin property getter. In Java use {@link #cmdQueue()} instead.
*/
@QtUninvokable
public final @Nullable QNativePointer getCmdQueue() {
return cmdQueue();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #dev()} instead.
*/
@QtUninvokable
public final @Nullable QNativePointer getDev() {
return dev();
}
}