[Tut] Some Functions for D3D - MPGH