Version: 2018.2
public int depth ;

Description

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