FrameListener priority queue

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

FrameListener priority queue

Post by Shtuka » Mon Sep 05, 2011 6:43 pm

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

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

Re: FrameListener priority queue

Post by jacmoe » Mon Sep 05, 2011 7:12 pm

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. :)
0 x
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.

Post Reply