Original Post
I have noticed that in the DX4VB examples, the only objects purposely destroyed are the instances of Direct3DDevice8, Direct3D8 and DirectX8. All the textures made were left to fall out of scope. Now this gets to the heart of the thing puzzling me about DX: it is called an API, but it behaves much more like a COM object interface than an API. The APIs I am used to require me to do my own cleanup. DX aparently has objects, and it seems that each of those objects self destructs when the last reference to it in my program either falls our of scope or is set to nothing. Therefore, I am asking: 1. Are there any objects in DX8 that require special disposal other than having every object reference in my program either fall out of scope or set to nothing? 2. If so, what are they? 3. Is there any possibility of a memory leak that outlives my app?