Cinder template
This is
gl::clear( Color( 0, 0, 0 ) );
gl::setMatricesWindowPersp( getWindowSize() );
gl::enableDepthRead();
gl::enableDepthWrite();
gl::ScopedGlslProg render( mRenderProg );
gl::ScopedVao vao( mAttributes[mSourceIndex] );
gl::context()->setDefaultShaderVars();
gl::drawArrays( GL_POINTS, 0, NUM_PARTICLES );