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

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

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

import io.qt.*;


/**
 * 

Holds the MTLCommandBuffer and MTLRenderCommandEncoder objects that are backing a QRhiCommandBuffer

*

Java wrapper for Qt class QRhiMetalCommandBufferNativeHandles

*/ public class QRhiMetalCommandBufferNativeHandles extends io.qt.gui.rhi.QRhiNativeHandles { /** *

See QRhiMetalCommandBufferNativeHandles::QRhiMetalCommandBufferNativeHandles()

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

See QRhiMetalCommandBufferNativeHandles::commandBuffer

*/ @QtUninvokable public final void setCommandBuffer(@Nullable QNativePointer commandBuffer){ setCommandBuffer_native_MTLCommandBuffer_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), commandBuffer); } @QtUninvokable private native void setCommandBuffer_native_MTLCommandBuffer_ptr(long __this__nativeId, QNativePointer commandBuffer); /** *

See QRhiMetalCommandBufferNativeHandles::commandBuffer

*/ @QtUninvokable public final @Nullable QNativePointer commandBuffer(){ return commandBuffer_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native QNativePointer commandBuffer_native(long __this__nativeId); /** *

See QRhiMetalCommandBufferNativeHandles::encoder

*/ @QtUninvokable public final void setEncoder(@Nullable QNativePointer encoder){ setEncoder_native_MTLRenderCommandEncoder_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), encoder); } @QtUninvokable private native void setEncoder_native_MTLRenderCommandEncoder_ptr(long __this__nativeId, QNativePointer encoder); /** *

See QRhiMetalCommandBufferNativeHandles::encoder

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

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

*/ @QtUninvokable public final @Nullable QNativePointer getCommandBuffer() { return commandBuffer(); } /** * @hidden *

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

*/ @QtUninvokable public final @Nullable QNativePointer getEncoder() { return encoder(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy