createWithMeshModel
@JvmStatic
Creates a new MeshResource from a MeshModel.
WARNING:
This method performs blocking I/O. While it can be called on the main thread, on slow devices or with unstable storage it may cause jank or even ANR.
Prefer invoking this from a background thread or within a coroutine context such as
withContext(Dispatchers.IO).
Return
A new MeshResource instance.
Parameters
Throws
If the runtime fails to create the mesh resource.