Nesta página

QRhiIndirectDrawCommand Struct

Comando “Desenhar”. Mais...

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

Variáveis públicas

quint32 firstInstance
quint32 firstVertex
quint32 instanceCount
quint32 vertexCount

Descrição detalhada

Um comando de desenho que pode ser carregado em um QRhiBuffer com a sintaxe QRhiBuffer::UsageFlag::IndirectBuffer.

Observação: Esta é uma API RHI com garantias de compatibilidade limitadas; consulte QRhi para obter detalhes.

Veja também QRhiCommandBuffer::drawIndirect().

Documentação das variáveis de membro

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.