First of all, I work on Unity 2018.4 and try to add some low-level rendering optimization based on GitHub - Unity-Technologies/NativeRenderingPlugin: C++ Rendering Plugin example for Unity.
However, i found this plugin doesn’t support vertex-buffer modification on openGL ES since i found RenderAPI_OpenGLCoreES::BeginModifyVertexBuffer return 0 on UNITY_ANDROID
Any workaround? thx.
OpenGL ES 2.0 does not support glMapBuffer without extensions (GL_OES_mapbuffer).
In ES 3.0 you could use glMapBufferRange.
But you can always use glBufferSubData instead.
Thanks very much. Then i’ll edit interface & use glBufferSubData instead in OpenGL case to avoid compatibility issue.