Interactive Resource Loader. This object is returned by ResourceLoader when performing an interactive load. It allows to load with high granularity, so this is mainly useful for displaying load bars/percentages.
</description>
<tutorials>
</tutorials>
<methods>
<methodname="get_resource">
<returntype="Resource">
</return>
<description>
Return the loaded resource (only if loaded). Otherwise, returns null.
</description>
</method>
<methodname="get_stage"qualifiers="const">
<returntype="int">
</return>
<description>
Return the load stage. The total amount of stages can be queried with [method get_stage_count]
</description>
</method>
<methodname="get_stage_count"qualifiers="const">
<returntype="int">
</return>
<description>
Return the total amount of stages (calls to [method poll]) needed to completely load this resource.
</description>
</method>
<methodname="poll">
<returntype="int"enum="Error">
</return>
<description>
Poll the load. If OK is returned, this means poll will have to be called again. If ERR_FILE_EOF is returned, them the load has finished and the resource can be obtained by calling [method get_resource].