public abstract class ResourceInteractiveLoader : Reference
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.
public Resource GetResource()
public int GetStage()
Return the load stage. The total amount of stages can be queried with GetStageCount()
public int GetStageCount()
Return the total amount of stages (calls to Poll()) needed to completely load this resource.
public Error Poll()
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 GetResource().
public Error Wait()