Due to unavailability of glMapBuffer and glUnmapBuffer on GLES version 3.0 and before, the current implementation simply skips the update vertex buffer update.
This fix maintains a temporary CPU bound m_VertexBufferPtr which is used to update the Unity mesh bufferHandle using glBufferSubData. Thus fixing mesh vertex buffer modify for OpenGLES support, affecting platforms - WebGL, Android, linux embed, and iOS.
Due to unavailability of
glMapBuffer
andglUnmapBuffer
on GLES version 3.0 and before, the current implementation simply skips the update vertex buffer update.This fix maintains a temporary CPU bound
m_VertexBufferPtr
which is used to update the Unity mesh bufferHandle using glBufferSubData. Thus fixing mesh vertex buffer modify for OpenGLES support, affecting platforms - WebGL, Android, linux embed, and iOS.