io.qt.gui.rhi.QRhiMetalNativeHandles Maven / Gradle / Ivy
package io.qt.gui.rhi;
import io.qt.*;
/**
* Holds the Metal device used by the QRhi
* Java wrapper for Qt class QRhiMetalNativeHandles
* @since This class was introduced in Qt 6.6.
*/
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
* @param 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
* @return
*/
@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
* @param 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
* @return
*/
@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();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy