Skip to content

KDGpu::DrawIndexedIndirectCommand

Parameters for GPU-driven indexed drawing. More...

#include <render_pass_command_recorder.h>

Public Attributes

Name
Handle< Buffer_t > buffer
Buffer containing VkDrawIndexedIndirectCommand structures.
size_t offset
Byte offset into buffer.
uint32_t drawCount
Number of indexed draws to execute.
uint32_t stride
Byte stride between consecutive draw commands.

Detailed Description

1
struct KDGpu::DrawIndexedIndirectCommand;

Parameters for GPU-driven indexed drawing.

See: RenderPassCommandRecorder::drawIndexedIndirect()

Indexed drawing with parameters in a GPU buffer. Combines benefits of indexed rendering and GPU-driven draw calls.

Public Attributes Documentation

variable buffer

1
Handle< Buffer_t > buffer;

Buffer containing VkDrawIndexedIndirectCommand structures.

variable offset

1
size_t offset { 0 };

Byte offset into buffer.

variable drawCount

1
uint32_t drawCount { 0 };

Number of indexed draws to execute.

variable stride

1
uint32_t stride { 0 };

Byte stride between consecutive draw commands.


Updated on 2026-03-31 at 00:02:06 +0000