What makes a material function?