So I was thinking about this:
Basically I'll have a class, CRenderClass, that looks something like this:
My little rendering system will keep a (std:: )list of these which it will iterate, calling the Draw() function on each one.Code:class CRenderTask { public: virtual void Draw() = 0; };
BUT, this means for everything I want to render I'll have to derive a class from this class. Is there a more manageable but similar approach?
Yes, this is the first time I've written a renderererer.
Oh yeah:
SDL. For the Nth time: DirectX can rot until I get some books. Yes books, I mean you.