FrameListener priority queue

What it says on the tin: a place to discuss proposed new features.
Post Reply
Posts: 146
Joined: Mon Jan 10, 2011 7:39 pm
x 9

FrameListener priority queue

Post by Shtuka »

Wouldn't it be nice to have a priority queue for the registered FrameListeners?

User avatar
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179

Re: FrameListener priority queue

Post by jacmoe »

I rarely use a frame listener because it's so easy to create whatever listener/scheduler/taskmanager you want. Including a priority queue based scheduler.
I do use framelisteners, but that's not really the main hook into Ogre I have. They are convenient when you want to perform certain tasks at specific times in the render loop, of course.
Just render one frame instead of using startRendering.
A priority queue is far beyond the scope of an Ogre FrameListener. :)
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

Post Reply