registerDefault

fun registerDefault(path: ResourcePath): Pair<Material, Int>

Creates a custom model data entry for path under the default material and returns the default material and the custom model data.