How to draw points

Draw points using the gl.POINTS drawing mode.

data

Vertice Index x y
0 0 10 5
1 1 44 10
2 2 24 20
3 3 50 15
4 4 94 20
5 5 44 30

pixel

r
0
g
0
b
0
a
0
x
0
y
0

Fragment Shader

Vertex Shader