ProgressState

Interface ProgressState

Keeps track of the progress of the viewer. Contains information about the amount of open service requests, draw jobs and uploads to the GPU.

interface ProgressState {
    downloadProgress: number;
    isProcessing: boolean;
    numberOfDownloads: number;
    numberOfUpdateStates: number;
    numberOfUploads: number;
    renderingProgress: number;
}

Properties

downloadProgress: number

The percentage of requests that are finished.

isProcessing: boolean

True when there are open requests, unfinished draw jobs or uploads to the GPU.

numberOfDownloads: number

The amount of open and queued requests.

numberOfUpdateStates: number

The number of resources that are known to the viewer but are not yet downloaded.

numberOfUploads: number

The amount of open GPU uploads.

renderingProgress: number

The percentage of draw jobs that are finished.


Did you find this page useful? Please give it a rating:
Thank you for rating this page!
Any issues or feedback?
What kind of problem would you like to report?
Please tell us more about what's wrong: