List of usage examples for android.opengl GLES20 GL_POINTS
int GL_POINTS
To view the source code for android.opengl GLES20 GL_POINTS.
Click Source Link
From source file:com.google.fpl.liquidfunpaint.ParticleRenderer.java
/** * Issue the correct draw call for the ParticleGroup that is passed in. */// w ww . j a v a 2s . c o m private void drawParticleGroup(ParticleGroup pg) { // Get the buffer offsets int particleCount = pg.getParticleCount(); int instanceOffset = pg.getBufferIndex(); // Draw! GLES20.glDrawArrays(GLES20.GL_POINTS, instanceOffset, particleCount); }