load_resource


Description:

public void load_resource (string? filename) throws Error

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.