Method GL.GLSLUtils.VertexBuffer()->pwrite()


Method pwrite

void pwrite(int offset, array(float) data)

Description

Write data at the byteoffset offset. The size of a vertex is given by the stride member variable in this class.

It's usually more convenient to use the vertex or stream methods when updating data.