Releasing Objects
This section contains functions that release objects when they are no longer needed.
Releasing the Direct3D Object
Releasing the Direct3D Device
Releasing the Primary Surface
Releasing the Objects in the Scene