Cách hoạt động của DirectX