a framework of directx demo programs