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
QRhiDispatchIndirectCommand Struct Reference

\variable QRhiIndexedIndirectDrawCommand::indexCount More...

#include <qrhi.h>

Collaboration diagram for QRhiDispatchIndirectCommand:

Public Attributes

quint32 x
quint32 y = 1
quint32 z = 1

Detailed Description

\variable QRhiIndexedIndirectDrawCommand::indexCount

\variable QRhiIndexedIndirectDrawCommand::instanceCount

\variable QRhiIndexedIndirectDrawCommand::firstIndex

\variable QRhiIndexedIndirectDrawCommand::vertexOffset

\variable QRhiIndexedIndirectDrawCommand::firstInstance

\inmodule QtGuiPrivate \inheaderfile rhi/qrhi.h

Since
6.13

Compute dispatch command.

A compute dispatch command that can be uploaded to a QRhiBuffer of usage QRhiBuffer::UsageFlag::IndirectBuffer. The fields specify the number of local work groups along each dimension and have the same meaning as the x, y, z parameters of QRhiCommandBuffer::dispatch().

y and z default to 1, so a one dimensional dispatch only needs x to be set. Note that a count of 0 in any dimension is valid and results in no work groups being launched at all.

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

Definition at line 1726 of file qrhi.h.

Member Data Documentation

◆ x

quint32 QRhiDispatchIndirectCommand::x

Definition at line 1728 of file qrhi.h.

◆ y

quint32 QRhiDispatchIndirectCommand::y = 1

Definition at line 1729 of file qrhi.h.

◆ z

quint32 QRhiDispatchIndirectCommand::z = 1

Definition at line 1730 of file qrhi.h.


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