Added const and override to all material-interface functions, sampler-function color, shape-function intersect.