Edit data in a float buffer

Hi! We r trying to convert the values of the FloatBuffer into ints, we’ve been trying with “int newdepthPositions = int(depthPositions);” but does not work. I’ved also read something abot Buffer.getInt but still amateur on this enviroment :S

We wonder if someone knows how to do it! Thanks in advanced :slight_smile: