(D3D) Create wrapper function d3d_set_texture