Sur cette page

QRhiIndirectDrawCommand Struct

Commande « Dessiner ». En savoir plus...

En-tête : #include <rhi/qrhi.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake : QT += gui-private
Depuis : Qt 6.12

Variables publiques

quint32 firstInstance
quint32 firstVertex
quint32 instanceCount
quint32 vertexCount

Description détaillée

Une commande de dessin pouvant être envoyée à une interface « QRhiBuffer » selon la syntaxe QRhiBuffer::UsageFlag::IndirectBuffer.

Remarque : il s’agit d’une API RHI dont la compatibilité est garantie de manière limitée ; voir QRhi pour plus de détails.

Voir également QRhiCommandBuffer::drawIndirect().

Documentation sur les variables membres

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.