material

fun material(code: String, line: Int = 0): MaterialBuilder

Sets the fragment-stage code, a GLSL void material(inout MaterialInputs); line is its first line in the source, for error messages.