DirectX sample for leraning