comply to the new RGBD API