when I call this, does it always create an additional memory location for the new entity or does it run through and pick a prior one that had setInUse=false?
I am creating and deleting frequently and I am having a memory creep, I guess it's because I should manually be recycling instanced entities? At the moment I only setInUse=false and then later call createInstancedEntity again. I think this is my problem, right? If so, what does setInUse do?
1.10 New Instancing Manager, question about createInstancedEntity
-
- Goblin
- Posts: 272
- Joined: Thu Jun 10, 2004 4:19 am
- x 26
-
- Goblin
- Posts: 272
- Joined: Thu Jun 10, 2004 4:19 am
- x 26
Re: 1.10 New Instancing Manager, question about createInstancedEntity
Oh, Sorry, looks like I wasn't calling sceneManager->destroyInstancedEntity! Problem resolved.