readPixelDepths

fun readPixelDepths(x: Int, y: Int, width: Int, height: Int): FloatArray

Row-major 24-bit normalized depths over a screen rectangle, in [0, 1]. Reads from the RGB-packed depth color attachment; see DepthToColorProgram.