18 #ifndef __HUSD_RendererInfo_h__
19 #define __HUSD_RendererInfo_h__
48 , myDrawComplexityMultiplier(1.0)
50 , myIsNativeRenderer(false)
52 , myNeedsNativeDepthPass(false)
53 , myNeedsNativeSelectionPass(false)
54 , myAllowBackgroundUpdate(false)
56 , myViewportRenderer(false)
57 , myDrawModeSupport(false)
58 , myHuskFastExit(false)
59 , myHuskVerboseInterval(0)
66 fpreal complexitymultiplier,
77 fpreal husk_verbose_interval,
79 bool needsnativedepth,
80 bool needsnativeselection,
81 bool allowbackgroundupdate,
83 bool viewportrenderer,
87 , myDisplayName(displayname)
88 , myMenuLabel(menulabel)
89 , myMenuPriority(menupriority)
90 , myDrawComplexityMultiplier(complexitymultiplier)
92 , myIsNativeRenderer(isnative)
93 , myDepthStyle(depth_style)
94 , myDefaultPurposes(defaultpurposes)
95 , myRestartRenderSettings(restartrendersettings)
96 , myRestartCameraSettings(restartcamerasettings)
97 , myRenderViewStats(renderstats)
98 , myHuskMetadata(husk_metadata)
99 , myHuskStatsMetadata(husk_stats_metadata)
100 , myStatsDataPaths(statsdatapaths)
101 , myHuskVerboseScript(husk_verbose_script)
102 , myHuskVerboseInterval(husk_verbose_interval)
103 , myPreloadLibraries(preload_libraries)
104 , myNeedsNativeDepthPass(needsnativedepth)
105 , myNeedsNativeSelectionPass(needsnativeselection)
106 , myAllowBackgroundUpdate(allowbackgroundupdate)
107 , myAovSupport(aovsupport)
108 , myViewportRenderer(viewportrenderer)
109 , myDrawModeSupport(drawmodesupport)
110 , myHuskFastExit(husk_fastexit)
120 {
return myDisplayName; }
123 {
return myMenuLabel; }
127 {
return myMenuPriority; }
131 {
return myDrawComplexityMultiplier; }
135 {
return myIsValid; }
138 {
return myIsNativeRenderer; }
141 {
return myDepthStyle; }
145 {
return myDefaultPurposes; }
149 {
return myRestartRenderSettings; }
153 {
return myRestartCameraSettings; }
156 {
return myRenderViewStats; }
160 {
return myNeedsNativeDepthPass; }
164 {
return myNeedsNativeSelectionPass; }
168 {
return myAllowBackgroundUpdate; }
171 {
return myAovSupport; }
174 {
return myViewportRenderer; }
177 {
return myDrawModeSupport; }
180 {
return myHuskFastExit; }
213 {
return myHuskMetadata; }
222 {
return myHuskStatsMetadata; }
246 {
return myStatsDataPaths; }
271 const char *key)
const;
275 {
return myHuskVerboseScript; }
277 {
return myHuskVerboseInterval; }
283 void preloadLibraries()
const;
290 fpreal myDrawComplexityMultiplier;
296 StatsDataPaths myStatsDataPaths;
297 HuskMetadata myHuskMetadata;
300 fpreal myHuskVerboseInterval;
303 bool myIsNativeRenderer;
304 bool myNeedsNativeDepthPass;
305 bool myNeedsNativeSelectionPass;
306 bool myAllowBackgroundUpdate;
308 bool myViewportRenderer;
309 bool myDrawModeSupport;
bool needsNativeDepthPass() const
Parse and provide information from UsdRenderers.json.
const UT_StringHolder & displayName() const
const UT_StringArray & defaultPurposes() const
const UT_StringHolder & name() const
UT_StringMap< HUSD_RendererInfo > HUSD_RendererInfoMap
bool drawModeSupport() const
fpreal huskVerboseInterval() const
HUSD_DepthStyle depthStyle() const
bool allowBackgroundUpdate() const
bool isNativeRenderer() const
const UT_StringArray & restartRenderSettings() const
fpreal drawComplexityMultiplier() const
const UT_StringHolder & menuLabel() const
HUSD_RendererInfo(const UT_StringHolder &name, const UT_StringHolder &displayname, const UT_StringHolder &menulabel, int menupriority, fpreal complexitymultiplier, bool isnative, HUSD_DepthStyle depth_style, const UT_StringArray &defaultpurposes, const UT_StringArray &restartrendersettings, const UT_StringArray &restartcamerasettings, const UT_StringArray &renderstats, const HuskMetadata &husk_metadata, const UT_StringHolder &husk_stats_metadata, const StatsDataPaths &statsdatapaths, const UT_StringHolder &husk_verbose_script, fpreal husk_verbose_interval, const UT_StringArray &preload_libraries, bool needsnativedepth, bool needsnativeselection, bool allowbackgroundupdate, bool aovsupport, bool viewportrenderer, bool drawmodesupport, bool husk_fastexit)
const UT_StringHolder & huskVerboseScript() const
Python script used by husk for verbose callbacks.
GLuint const GLchar * name
A map of string to various well defined value types.
const UT_StringArray & renderViewStats() const
bool needsNativeSelectionPass() const
const HuskMetadata & huskMetadata() const
bool huskFastExit() const
Class to store JSON objects as C++ objects.
bool viewportRenderer() const
const StatsDataPaths & statsDataPaths() const
const UT_StringHolder & huskStatsMetadata() const
const UT_StringArray & restartCameraSettings() const