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

Method ReplayOptions

qrenderdoc/Code/Interface/PersistantConfig.cpp:799–813  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

797}
798
799ReplayOptions::ReplayOptions(const QVariant &var)
800{
801 QVariantMap map = var.toMap();
802
803 if(map.contains(lit("apiValidation")))
804 apiValidation = map[lit("apiValidation")].toBool();
805 if(map.contains(lit("forceGPUVendor")))
806 forceGPUVendor = (GPUVendor)map[lit("forceGPUVendor")].toUInt();
807 if(map.contains(lit("forceGPUDeviceID")))
808 forceGPUDeviceID = map[lit("forceGPUDeviceID")].toUInt();
809 if(map.contains(lit("forceGPUDriverName")))
810 forceGPUDriverName = map[lit("forceGPUDriverName")].toString();
811 if(map.contains(lit("optimisation")))
812 optimisation = (ReplayOptimisationLevel)map[lit("optimisation")].toUInt();
813}
814
815ReplayOptions::operator QVariant() const
816{

Callers 12

renderdoc_intro.pyFile · 0.45
remote_capture.pyFile · 0.45
loadCaptureFunction · 0.45
loadCaptureFunction · 0.45
loadCaptureFunction · 0.45
loadCaptureFunction · 0.45
loadCaptureFunction · 0.45
loadCaptureFunction · 0.45
show_buffer.pyFile · 0.45
get_replay_optionsMethod · 0.45
open_captureFunction · 0.45
check_captureMethod · 0.45

Calls 2

containsMethod · 0.45
toStringMethod · 0.45

Tested by 1

get_replay_optionsMethod · 0.36