Knowing when new Batches of Instanced Entities are created

Problems building or running the engine, queries about how to use features etc.
Post Reply
TheWanderer
Halfling
Posts: 44
Joined: Fri Apr 22, 2005 3:58 pm
x 4

Knowing when new Batches of Instanced Entities are created

Post by TheWanderer »

Hi there,

I'm currently trying to set the RenderQueue group and Priority for some instanced entities which I'm drawing. Since they are drawn in batches, I'm setting the values in the OgreInstanceBatch class. Unfortunately, I don't know when a new one is created in order for me to set the correct values on it. Is there an event fired when a new batch is created somewhere? Or is there perhaps some other mechanism by which I could tell?

Thank you for any help.

Ogre Version: 1.10.11 (Xalafu):
Operating System: Window 10
Render System: DX9
Post Reply