Reads information about a material from a .prc file stream and returns the created material entity identifier.