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