(D3D) Start using D3D wrapper functions