Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRhiIndirectDrawCommand Struct Reference

\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h More...

#include <qrhi.h>

Collaboration diagram for QRhiIndirectDrawCommand:

Public Attributes

quint32 vertexCount
quint32 instanceCount = 1
quint32 firstVertex = 0
quint32 firstInstance = 0

Detailed Description

\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h

Since
6.12

Draw command.

A draw command that can be uploaded to a QRhiBuffer of usage QRhiBuffer::UsageFlag::IndirectBuffer.

See also
QRhiCommandBuffer::drawIndirect()
Note
This is a RHI API with limited compatibility guarantees, see \l QRhi for details.

Definition at line 1700 of file qrhi.h.

Member Data Documentation

◆ firstInstance

quint32 QRhiIndirectDrawCommand::firstInstance = 0

Definition at line 1705 of file qrhi.h.

◆ firstVertex

quint32 QRhiIndirectDrawCommand::firstVertex = 0

Definition at line 1704 of file qrhi.h.

◆ instanceCount

quint32 QRhiIndirectDrawCommand::instanceCount = 1

Definition at line 1703 of file qrhi.h.

◆ vertexCount

quint32 QRhiIndirectDrawCommand::vertexCount

Definition at line 1702 of file qrhi.h.


The documentation for this struct was generated from the following file: