I have created a renderer framework with an instance called mRenderer.
I have a huge amount of calls to mRenderer in my application. For example;
mRenderer->dothis();
mRenderer->dothat();
mRenderer->etc();
Is there any way to have the application 'assume' that mRenderer is constantly going to be called and just have this instead? Something similar to namespaces?
dothis();
dothat();
etc();
Any suggestions would be awesome