QRhiIndirectDrawCommand 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 | firstInstance |
| quint32 | firstVertex |
| quint32 | instanceCount |
| quint32 | vertexCount |
详细说明
一种绘制命令,可上传至QRhiBuffer ,用法为QRhiBuffer::UsageFlag::IndirectBuffer 。
注意:这是一个 兼容性保证有限的 RHI API,详情请参见QRhi 。
另请参阅 QRhiCommandBuffer::drawIndirect()。
© 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.