Seamless GPU acceleration for C++ based physics with the Metal Shading Language on Apple's M series unified chips