load_resource
Description:
Loads the resource using get_resource and registers it.
The resource's lifetime will be automatically handled by this.
See get_resource for more information.
Parameters:
this |
A PluginInfo. |
filename |
The filename of the resource, or null. |