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,
76 fpreal husk_verbose_interval,
77 bool needsnativedepth,
78 bool needsnativeselection,
79 bool allowbackgroundupdate,
81 bool viewportrenderer,
85 , myDisplayName(displayname)
86 , myMenuLabel(menulabel)
87 , myMenuPriority(menupriority)
88 , myDrawComplexityMultiplier(complexitymultiplier)
90 , myIsNativeRenderer(isnative)
91 , myDepthStyle(depth_style)
92 , myDefaultPurposes(defaultpurposes)
93 , myRestartRenderSettings(restartrendersettings)
94 , myRestartCameraSettings(restartcamerasettings)
95 , myRenderViewStats(renderstats)
96 , myHuskMetadata(husk_metadata)
97 , myStatsDataPaths(statsdatapaths)
98 , myHuskVerboseScript(husk_verbose_script)
99 , myHuskVerboseInterval(husk_verbose_interval)
100 , myNeedsNativeDepthPass(needsnativedepth)
101 , myNeedsNativeSelectionPass(needsnativeselection)
102 , myAllowBackgroundUpdate(allowbackgroundupdate)
103 , myAovSupport(aovsupport)
104 , myViewportRenderer(viewportrenderer)
105 , myDrawModeSupport(drawmodesupport)
106 , myHuskFastExit(husk_fastexit)
116 {
return myDisplayName; }
119 {
return myMenuLabel; }
123 {
return myMenuPriority; }
127 {
return myDrawComplexityMultiplier; }
131 {
return myIsValid; }
134 {
return myIsNativeRenderer; }
137 {
return myDepthStyle; }
141 {
return myDefaultPurposes; }
145 {
return myRestartRenderSettings; }
149 {
return myRestartCameraSettings; }
152 {
return myRenderViewStats; }
156 {
return myNeedsNativeDepthPass; }
160 {
return myNeedsNativeSelectionPass; }
164 {
return myAllowBackgroundUpdate; }
167 {
return myAovSupport; }
170 {
return myViewportRenderer; }
173 {
return myDrawModeSupport; }
176 {
return myHuskFastExit; }
209 {
return myHuskMetadata; }
233 {
return myStatsDataPaths; }
258 const char *key)
const;
262 {
return myHuskVerboseScript; }
264 {
return myHuskVerboseInterval; }
271 fpreal myDrawComplexityMultiplier;
277 StatsDataPaths myStatsDataPaths;
278 HuskMetadata myHuskMetadata;
280 fpreal myHuskVerboseInterval;
282 bool myIsNativeRenderer;
283 bool myNeedsNativeDepthPass;
284 bool myNeedsNativeSelectionPass;
285 bool myAllowBackgroundUpdate;
287 bool myViewportRenderer;
288 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
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
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 StatsDataPaths &statsdatapaths, const UT_StringHolder &husk_verbose_script, fpreal husk_verbose_interval, bool needsnativedepth, bool needsnativeselection, bool allowbackgroundupdate, bool aovsupport, bool viewportrenderer, bool drawmodesupport, bool husk_fastexit)
const HuskMetadata & huskMetadata() const
bool huskFastExit() const
Class to store JSON objects as C++ objects.
bool viewportRenderer() const
const StatsDataPaths & statsDataPaths() const
const UT_StringArray & restartCameraSettings() const