Moocow9m T
Moocow9m T

Reputation: 45

OpenGL ES single pixel drawing android

So I made an app using lwjgl for the computer and was trying to make it for android however I can't find replacement for the command glVertex3f() which I use for drawing a single pixel which my app needs to do to set the color per pixel. Is there a way to do per pixel coloring in openGL ES for android, or an alternative?

Upvotes: 1

Views: 202

Answers (1)

Reaper
Reaper

Reputation: 757

You could use GL_POINTS for the mode parameter of the glDraw* function. This way you could render one pixel at a time.

Upvotes: 1

Related Questions