title: Slicing a MTLTexture of type - 2DArray in Swift environment
body: <p>Consider a <code>MTLTexture</code> of type <code>2DArray</code> having some number of slices. To calculate histogram of a specific slice of this texture, <strong>how to pass only the reference of a single slice of texture to MPSImageHistogram shader?</strong></p>
  <p><strong>In general, How to slice a texture in swift environment?</strong> <code>Texture.makeTextureview()</code> is not the preferred way because it creates a new texture consuming more memory and time.</p>