Add depth() to Image and outsource DTor and buffer method from VertexBuffer.