On this page

QRhiIndexedIndirectDrawCommand Struct

Indexed draw command. More...

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

Public Variables

quint32 firstIndex
quint32 firstInstance
quint32 indexCount
quint32 instanceCount
qint32 vertexOffset

Detailed Description

An indexed draw command that can be uploaded to a QRhiBuffer of usage QRhiBuffer::UsageFlag::IndirectBuffer.

Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.

See also QRhiCommandBuffer::drawIndexedIndirect().

Member Variable Documentation

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.