Sur cette page

QRhiIndexedIndirectDrawCommand Struct

Commande de tracé indexé. 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 firstIndex
quint32 firstInstance
quint32 indexCount
quint32 instanceCount
qint32 vertexOffset

Description détaillée

Une commande de dessin indexée pouvant être chargée dans une QRhiBuffer, dont l'utilisation est décrite à l'adresse 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::drawIndexedIndirect().

Documentation sur les variables membres

quint32 QRhiIndexedIndirectDrawCommand::firstIndex

quint32 QRhiIndexedIndirectDrawCommand::firstInstance

quint32 QRhiIndexedIndirectDrawCommand::indexCount

quint32 QRhiIndexedIndirectDrawCommand::instanceCount

qint32 QRhiIndexedIndirectDrawCommand::vertexOffset

© 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.