Builder
Builder for creating Material objects from compiled material packages.
The Builder takes a material package (binary blob from the matc compiler) and configures rendering quality and batching options before building the final Material.
Functions
Specializes a constant parameter specified in the material definition with a concrete value for this material. Once build() is called, this constant cannot be changed. Will panic if the name doesn't correspond to a constant specified in the material definition, or if the type differs.
Specifies the material data (compiled binary blob); C++'s package, a Kotlin keyword.
Set the quality of shadow sampling.
Sets the quality of the indirect light computations.
Set the batching mode of the instances created from this material.