Add direct3d resources to builds