Update mesh vertex data in GPU for a specific buffer index
None.
mesh = raylib.GenMeshPlane(4, 4, 2, 2) raylib.UploadMesh mesh, true // Update vertex positions (buffer index 0) with new data newPositions = [0,0,0, 1,0,0, 1,0,1, 0,0,1] raylib.UpdateMeshBuffer mesh, 0, newPositions, 0 raylib.UnloadMesh mesh
There was an error while loading. Please reload this page.