![]() |
Vireo
0.0
Vireo 3D Rendering Hardware Interface
|
GPU-side structure for an indirect (non-indexed) draw call. Mirror of VkDrawIndirectCommand / D3D12_DRAW_ARGUMENTS.
Lua full name: vireo.DrawIndirectCommand
Properties | |
| integer | vertex_count |
| Number of vertices to draw per instance. | |
| integer | instance_count |
| Number of instances to draw. | |
| integer | first_vertex |
| Index of the first vertex to read from the vertex buffer. | |
| integer | first_instance |
| Instance ID of the first instance (added to gl_InstanceIndex / SV_InstanceID). | |
| integer vertex_count |
Number of vertices to draw per instance.
| integer instance_count |
Number of instances to draw.
| integer first_vertex |
Index of the first vertex to read from the vertex buffer.
| integer first_instance |
Instance ID of the first instance (added to gl_InstanceIndex / SV_InstanceID).