I have maked a class like CGeometryCreator for my game and it have a function that generate a mesh. I have all that i need for make that without modify the engine, SMeshBuffer, SMesh , AnimatedMesh, etc. but when i finish to create the mesh i need to register the mesh in the meshlist of CSceneManager with addMesh(...); the problem is that this funtion is private.
So, i have all tools that i need to create my mesh but i cant use it becouse i cant add the mesh to the MeshList.
In the game there is no error but the mesh is not displayed, and when start the application it says 0 fps and 130000 triangles and after 2 seconds it says 300 fps and 0 triangles.

I think that making a class that inherits from IMeshLoader maybe can work but the problem is that i need pass other parameters from the game exclusively.
if there are other way to register the mesh without modify the engine, please tell me.
thanks.