pub fn resources_register(resource: &Resource)
Expand description

Registers the resource with the process-global set of resources. Once a resource is registered the files in it can be accessed with the global resource lookup functions like resources_lookup_data().

resource

A Resource