saving things with jit.gl.material ?

vichug's icon

hey,
trying jit.gl.material, and i wonder if there is some convenient way to save the "state" of one instance of that object ; ie all the textures etc you've applied, so that you can retrieve it next time you load the patch. It's for sure possible to freeze each attribute one by one, but it's not really convenient, maybe i'm missing something ?

vichug's icon

ok, so there are message export_material and import_material. But i was imagining something like "embed" or "store current materials"... hah, is the streamlining of all those shiny (relatively) new things beginning to make me lazy ?...