• entries
    316
  • comments
    485
  • views
    322043

Hieroglyph 2: Renderer

Sign in to follow this  
Jason Z

119 views

Renderer Design Cont.
I have been busy writing the interfaces for the basic renderer functionality. The process is going very smoothly, and I have been able to eliminate several design issues that I had with the first engine. As I mentioned last time, the renderer basically implements an abstract IRenderer interface which defines the common renderer functionality. In addition to the renderer, I have also defined the following interfaces:

IRenderEffect
IRenderTarget
IDepthTarget
ITexture
IFont

Each of these will need to be implemented by the API specific renderer for use with the IRenderer interface. The abstract interfaces simply provide the way that an application can interact with the object - all API specific information is only added by that specific implementation. I have chosen these few interfaces as part of the minimum spec. since the renderer is ultimately the object that will create and use these resources.

I have also begun the first implementation of these interfaces with DX9. Since my old engine had all of the API specific code already written, much of this work has been copy and paste, then update to my current coding standard. It really is surprising how clean the system feels by simply removing extra stuff...

More details to come!
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now