KDGpu::DrawCommand¶
Parameters for non-indexed draw commands. More...
#include <render_pass_command_recorder.h>
Public Attributes¶
| Name | |
|---|---|
| uint32_t | vertexCount Number of vertices to draw. |
| uint32_t | instanceCount Number of instances to draw (1 = no instancing) |
| uint32_t | firstVertex Index of first vertex to draw. |
| uint32_t | firstInstance ID of first instance (used as gl_InstanceIndex base) |
Detailed Description¶
1 | |
Parameters for non-indexed draw commands.
See: RenderPassCommandRecorder::draw()
Used with RenderPassCommandRecorder::draw() to draw vertices directly from vertex buffers without using an index buffer.
Public Attributes Documentation¶
variable vertexCount¶
1 | |
Number of vertices to draw.
variable instanceCount¶
1 | |
Number of instances to draw (1 = no instancing)
variable firstVertex¶
1 | |
Index of first vertex to draw.
variable firstInstance¶
1 | |
ID of first instance (used as gl_InstanceIndex base)
Updated on 2026-03-31 at 00:02:06 +0000