Simple Direct3D 10 framework for size-optimized graphical demos