public int depth ;

Descripción

When reading data from a ComputeBuffer, depth is 1, otherwise, the property takes the value of the requested depth from the texture.