however , since the theory of general relativity describes gravitation as the curvature of spacetime by matter and energy , a quantization of gravity must therefore imply quantization of spacetime geometry .