Change Visual depth index API from float to int

No match.