I am developing this game engine and using opengl instancing for rendeing some meshes. The problem is that i need a buffer of transforms (this means in continuous memory) but each transform is modified by a scenenode in the scenegraph so when the vector aument its capacity the scenenode pointer to the transform is no longer valid. How do would you aproach this situation? It looks like the architecture is wrong but cant figure this out. Thanks in advance.