In questa pagina

QRhiIndirectDrawCommand Struct

Comando "Disegna". Altro...

Intestazione: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
A partire da: Qt 6.12

Variabili pubbliche

quint32 firstInstance
quint32 firstVertex
quint32 instanceCount
quint32 vertexCount

Descrizione dettagliata

Un comando di disegno che può essere caricato su un QRhiBuffer con il seguente utilizzo: QRhiBuffer::UsageFlag::IndirectBuffer.

Nota: si tratta di un'API RHI con garanzie di compatibilità limitate; per ulteriori dettagli, consultare QRhi.

Vedi anche QRhiCommandBuffer::drawIndirect().

Documentazione sulle variabili membro

quint32 QRhiIndirectDrawCommand::firstInstance

quint32 QRhiIndirectDrawCommand::firstVertex

quint32 QRhiIndirectDrawCommand::instanceCount

quint32 QRhiIndirectDrawCommand::vertexCount

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.