Loading...
Searching...
No Matches

Public Member Functions

void enableIndirectDraw (QRhiBuffer *buffer, bool indexed, int64_t byte_size, quint32 byte_offset=0) noexcept
 

Public Attributes

ossia::small_vector< BufferView, 2 > buffers
 
QRhiBuffer * indirectDrawBuffer {}
 
bool useIndirectDraw {false}
 
bool indirectDrawIndexed {false}
 
bool gpuIndirectSupported {false}
 
bool baseInstanceSupported {true}
 QRhi::BaseInstance: false when the backend ignores firstInstance.
 
quint32 indirectDrawOffset {0}
 
quint32 indirectDrawCount {1}
 
quint32 indirectDrawStride {0}
 
QRhiBuffer * indirectCountBuffer {}
 
quint32 indirectCountOffset {0}
 
bool gpuIndirectCountSupported {false}
 
bool gpuIndirectMultiSupported {false}
 
ossia::small_vector< ossia::geometry::draw_command, 0 > cpuDrawCommands
 
QRhiReadbackResult readbackResult
 
QRhiReadbackResult countReadbackResult
 

Static Public Attributes

static constexpr quint32 indirect_record_stride = 5 * sizeof(uint32_t)
 

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