customMesh.setIndexBuffer(indexBuffer.getBuffer(), totalVertices, totalIndices, true);
Can the totalVertices and totalIndices be the maximum possible or do they need to be exact. I would like to not have to pass the exact amount of index or vertices back to the CPU. I am generating that geometry on the GPU.
What is the intended workflow here?