MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / ProgressBarUpdate

Function ProgressBarUpdate

Rtxpt/SampleCommon/SampleCommon.cpp:392–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390}
391
392void ProgressBarUpdate(int slotIndex, int percentage)
393{
394 assert(slotIndex >= 0 && slotIndex < g_ProgressSlotCount);
395 {
396 ProgressBarGlobals& slot = g_ProgressSlots[slotIndex];
397 std::lock_guard guard(slot.Mutex);
398 slot.Value = percentage;
399 }
400}
401
402std::filesystem::path GetLocalPath(std::string subfolder)
403{

Callers 1

SetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected