Chapter 12. Supporting Systems

This chapter takes a brief detour from 3D rendering to create some scaffolding to support the rendering engine. You implement classes for keyboard and mouse input, and you establish a reusable component system for adding functionality to your applications. You also learn about text rendering and create a service container for housing commonly accessed software modules.

Game Components

Game components provide a modular approach to adding functionality to your applications and are supported through two classes, GameComponent and DrawableGameComponent. Figure 12.1 show their class diagrams.

Image

Figure 12.1 Class diagrams ...

Get Real-Time 3D Rendering with DirectX® and HLSL: A Practical Guide to Graphics Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.