- Qt 6.12
- Qt GUI
- C++ Classes
- QtGuiPrivate
- QRhiIndirectDrawCommand
- Qt 6.12.0 Reference Documentation

# QRhiIndirectDrawCommand Struct

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

- List of all members, including inherited members

## Public Variables

quint32 | firstInstance
quint32 | firstVertex
quint32 | instanceCount
quint32 | vertexCount

## Detailed Description

A 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::drawIndirect().

## Member Variable Documentation

### quint32 QRhiIndirectDrawCommand::firstInstance

### quint32 QRhiIndirectDrawCommand::firstVertex

### quint32 QRhiIndirectDrawCommand::instanceCount

### quint32 QRhiIndirectDrawCommand::vertexCount