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.
Get Real-Time 3D Rendering with DirectX® and HLSL: A Practical Guide to Graphics Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.