Send materials to GPU kernel.