def _(collection: T.bpy_prop_collection, proxy: Proxy, index: int, context: Context) -> T.bpy_struct: material_datablock = proxy.target(context) return collection.append(material_datablock)
def _add_element_material_ref(collection: T.bpy_prop_collection, proxy: Proxy, context: Context): material_datablock = proxy.target(context) return collection.append(material_datablock)