Change Visual depth index API from float to int