Matt's Source Code Portal

Home About Links Problems My Graphics BaseCode Contact

Graphics Devices is just a folder that contains source and headers included by Engine.cpp or Engine.h; files in the directory are not directly compiled and linked into the project. It contains an abstract class, GraphicsDevice, and DirectX, Software, and OpenGL implementations of this abstract class.

GraphicsDevice

GraphicsDevice is the abstract class that contains functionality that all graphics devices must expose. Any GraphicsDevice can do simple things like render meshes into the main rendering window and handle the world, view and projection transforms.

x GraphicsDevice.h, Web Version
x GraphicsDevice.cpp, Web Version

D3DGraphicsDevice

A D3D/DirectX instance of GraphicsDevice.

x D3DGraphicsDevice.h, Web Version
x D3DGraphicsDevice.cpp, Web Version

OpenGLGraphicsDevice

An OpenGL instance of GraphicsDevice.

x OpenGLGraphicsDevice.h, Web Version
x OpenGLGraphicsDevice.cpp, Web Version

SoftwareGraphicsDevice

An Software instance of GraphicsDevice.

x SoftwareGraphicsDevice.h, Web Version
x SoftwareGraphicsDevice.cpp, Web Version


last updated: May 13th 2005   © 2005 by Matthew Fisher