build
Creates the Material and returns it.
Return
The newly created Material, or null if the payload is not a valid compiled .filamat. The payload is checked before Filament's parser can panic, so callers can recover rather than crash.
Parameters
engine
Engine to associate this Material with