addResourceData

fun addResourceData(uri: String, buffer: ByteArray)

Feeds the binary content of an external resource into the loader's URI cache.

Every resource returned by FilamentAsset.resourceUris should be added before calling loadResources or asyncBeginLoad. Self-contained GLB files typically need no calls.