Graphics Reference
In-Depth Information
UWBGL_D3D_Lib3
Supports. The tutorials that
are based on this library:
Tutorials 5.4, 5.5, and 5.6.
Introduced in Chapter 5 (on p. 141), this library modifies the previous version
to support multiple view/controller pairs and to provide a more comprehensive
utility functionality.
The important changes are in the GraphicsSystem class, where we added
functions for creating and activating swap chains, D3D's mechanism for support-
ing multiple drawing areas on the application window.
Figure C.3 highlights the updated GraphicsSystem and WindowHandler
classes, and Figure C.4 depicts the new utility classes in this library.
The fol-
lowing files are modified from the previous version of the library:
Filename Purpose
Header Files folder: library header files
D3D _ Lib3.h header file for using this library
Common Files folder: API-independent files
Common Files/Utilities folder: General utilities
Containers.h customized STL vector
Utility2 random functions
Color1 packing RGBA as 32-bit int
Clock stopwatch for wall clock in seconds
D3D Files folder: D3D-specific source files
D3D Files/D3D_Geoms folder:
D3DCircleGeom2 circle geometry for working with swap chains
D3DRectangleGeom2 rectangle geometry for working with swap chains
D3D Files/D3D_GraphicsSystem folder:
D3DGraphicsSystem2 create/activate swap chains
D3D Files/D3D_WindowHandler folder:
D3DWindowHandler3
view/controller working with swap chains
Search WWH ::




Custom Search