Navigation
API > API/Plugins > API/Plugins/ShaderAuditCore
RAII progress reporter that works in both editor and standalone. Editor: FScopedSlowTask (modal dialog with cancel). Standalone: modal SWindow with SProgressBar.
| Name | FScopedProgressTask |
| Type | class |
| Header File | /Engine/Plugins/Developer/ShaderToolkit/Source/ShaderAuditCore/Public/ShaderAuditProgress.h |
| Include Path | #include "ShaderAuditProgress.h" |
Syntax
class FScopedProgressTask
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedProgressTask
(
float InTotalWork, |
ShaderAuditProgress.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopedProgressTask() |
ShaderAuditProgress.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bCancelRequested | bool | ShaderAuditProgress.h | ||
| bSilent | bool | ShaderAuditProgress.h | ||
| CompletedWork | float | ShaderAuditProgress.h | ||
| Description | FText | ShaderAuditProgress.h | ||
| ProgressBar | TSharedPtr< SProgressBar > | ShaderAuditProgress.h | ||
| ProgressWindow | TSharedPtr< SWindow > | ShaderAuditProgress.h | ||
| SlowTask | TUniquePtr< FScopedSlowTask > | ShaderAuditProgress.h | ||
| StatusText | TSharedPtr< STextBlock > | ShaderAuditProgress.h | ||
| TotalWork | float | ShaderAuditProgress.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnterProgressFrame
(
float Work, |
ShaderAuditProgress.h | ||
bool ShouldCancel() |
ShaderAuditProgress.h |