Is the material to protect the end of the gun foam or a white fabric material?

Jon