i'm working on OpenGL ES 2.0 shaders on android...
i have a float array with position of vertices along with other attributes of vertices. position and other attributes may change over time.
how can i pass this modified array to glVertexAttribPointer, so that i can draw the scene with updated values
when i tried to pass it, i got
The method glVertexAttribPointer(int, int, int, boolean, int, Buffer) in the type GLES20 is not applicable for the arguments (int, int, int, boolean, int, float[])