本页内容

QRhiIndexedIndirectDrawCommand Struct

带索引的绘制命令。更多...

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

公共变量

quint32 firstIndex
quint32 firstInstance
quint32 indexCount
quint32 instanceCount
qint32 vertexOffset

详细说明

一个带索引的绘制命令,可上传至QRhiBuffer ,用法为QRhiBuffer::UsageFlag::IndirectBuffer 。

注意:这是一个 兼容性保证有限的 RHI API,详情请参见QRhi 。

另请参阅 QRhiCommandBuffer::drawIndexedIndirect()。

成员变量文档

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.