added directX namespace to structures and methods