This method returns a texture buffer's depth texture.
Returns the depth attachment at the specified index.