Experiences upgrading to XNA Beta 2
November 23rd, 2006 by proj
I decided to take some notes while I ported my test project to beta 2:
- First off 62 build errors.
- Class documentation is still sparse. Things are worse now however as XNA is moving further from DX standards, you can’t simply turn to DX docs to fill in missing info.
- No more Surface class, new RenderTarget class, makes my RenderTarget wrapper obsolete. I’m trying to use the new built-in class but docs are bad and no idea yet how I’m supposed to instantiate the device memory for a custom render target.
- Application model has undergone overhaul
- Requires removal of old glue code.
- Public members and access of base Game class have been cleaned up.
- Refactor of code to support new events for resource cleanup.
- VertexBuffers and IndexBuffers require new simplified ResourceManagementMode enum versus DX style ResourcePool, seems like some control is now taken away from the user as far as memory control.
- Two hours of research and refactoring and render targets are fixed to use the new resolve methods. It’s an inversion of the previous model I had implemented and in some ways better.
Related posts:






