What determines number of mesh buffers?
Posted: Tue Apr 10, 2018 8:26 pm
What determines the number of mesh buffers a mesh contains? For example the following code obtains a count of meshBuffers from an instance of an IMesh:
Are mesh buffers related to the objects a mesh contains? For example if you have a mesh which is a map that was modeled in blender, and when that map was modeled it contained a mesh for "floor", "door", and "wall", would you then have three mesh buffers one for each object in the scene? Or are mesh buffers something totally different?
Code: Select all
IMesh * mesh = meshnode->getMesh();
const size_t buffercount = mesh->getMeshBufferCount();