Function Renderer.renderGeometry
Wraps SDL_RenderGeometry (from SDL 2.0.18) which renders triangles to the renderer's target
Parameters
| Name | Description |
|---|---|
| vertices | array of dsdles of the triangles |
| texture | dsdl for the drawn triangles; null for none |
| indices | array of uint indices for the vertices to be drawn (must be in multiples of three); null
for order defined by vertices directly |
Throws
dsdl if failed to render