material
FreeBodyEngine.core.files.loaders.material
#
MATERIAL_FILE = 'MATERIAL_FILE'
module-attribute
#
load_material(file)
#
Loads a .fbmat TOML file into a real Material via the graphics
service. In dev mode, returns the already-registered live Material for
this exact path instead of building a new one if one exists - see
core/files/hot_reload.py - and registers a freshly-built one so a later
edit to this file can be hot-reloaded in place.