MCPcopy Create free account
hub / github.com/baldurk/renderdoc / setPercentage

Method setPercentage

qrenderdoc/Code/QRDUtils.cpp:2958–2958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2956
2957 void enableCancel() { setCancelButtonText(tr("Cancel")); }
2958 void setPercentage(float percent) { setValue(int(maxProgress * percent)); }
2959 void setInfinite(bool infinite)
2960 {
2961 if(infinite)

Callers 1

ShowProgressDialogFunction · 0.80

Calls 1

setValueFunction · 0.50

Tested by

no test coverage detected