OptionalmodePrimitive type to draw. (Default: "triangles")
Vertex attributes keyed by name.
Names must match the attribute / in declarations
in your vertex shader ("position" is conventional).
OptionalindicesOptional index buffer for indexed drawing.
OptionalinstanceNumber of instances for instanced drawing.
OptionaldrawRestrict the draw call to a sub-range of vertices/indices.
Custom geometry for
ctx.draw({ geometry }).