[Feature Request] Renderer
Posted: Mon Sep 29, 2008 13:09
Hello,
Right now I am using a single effect file to render the whole gui. Sometimes it was nice if I could specify different effects (mainly pixel shaders) for different windows.
I'm using a custom renderer and the addQuad methods do not have a parameter which tell the window from which this quad originated. If there was such a parameter, I could do something like
Doesn't have to be a Window*, could also be some kind of id or void* or whatever.
What do you think? Or will this already covered by the RenderTargets feature?
Right now I am using a single effect file to render the whole gui. Sometimes it was nice if I could specify different effects (mainly pixel shaders) for different windows.
I'm using a custom renderer and the addQuad methods do not have a parameter which tell the window from which this quad originated. If there was such a parameter, I could do something like
Code: Select all
void addQuad( ..., Window* window)
{
effect = lookup_effect( window->GetName() );
}
Doesn't have to be a Window*, could also be some kind of id or void* or whatever.
What do you think? Or will this already covered by the RenderTargets feature?