Shader.draw_points

Shader.draw_points(size=1, elements=None, n=0, background=False)[source]

Draw points.

Parameters:
sizefloat, optional

The size of the points.

elementsAny, optional

The buffer elements.

nint, optional

The number of elements.

backgroundbool, optional

Draw in background.