Skip to content

LiteFX::Rendering::Backends::DirectX12CommandBuffer::drawIndirect

Executes a set of indirect non-indexed draw calls.

Synopsis

Declared in <litefx/rendering.hpp>

[[dllimport]] virtual void drawIndirect(
    buffer_type const& batchBuffer,
    UInt32 batchCount,
    UInt64 offset = 0) const noexcept = 0;

Parameters

NameDescription
batchBufferThe buffer that contains the batches.
batchCountThe number of batches in the buffer to execute.
offsetThe offset (in bytes) to the first batch in the batchBuffer.

See Also

draw