13 #ifndef GR_RenderInfo_h
14 #define GR_RenderInfo_h
33 : myRenderVersion(render_version)
35 myShowSelections =
false;
36 myCanDoInstancing =
false;
37 myObjectSelection = 0;
38 myObjectGhosted =
false;
39 myCanRenderUV =
false;
42 myShownOutsideLOPs =
false;
45 enum { UNSELECTED = 0, SELECTED_OBJ = 1, CURRENT_OBJ = 2 };
48 {
return myRenderVersion; }
50 {
return myShowSelections; }
52 {
return myCanDoInstancing; }
54 {
return (myObjectSelection != UNSELECTED); }
56 {
return (myObjectSelection == CURRENT_OBJ); }
58 {
return myObjectGhosted; }
60 {
return myCanRenderUV; }
62 {
return myShownOutsideLOPs; }
65 {
return myCacheTagHandle; }
69 {
return myDispOpts; }
71 {
return theErrorHandler; }
73 {
return myNodePath; }
78 { myPostPassID++;
return myPostPassID; }
82 {
return myPostPassID; }
86 bool myShowSelections;
87 bool myCanDoInstancing;
90 bool myShownOutsideLOPs;
92 int myObjectSelection;
96 mutable int myPostPassID;
102 friend class DM_SceneManager;
103 friend class jedi_UsdGLRender;
GR_RenderInfo(GR_RenderVersion render_version)
const GR_DisplayOption * getDisplayOption() const
bool canDoInstancing() const
bool isObjectGhosted() const
GR_RenderVersion getRenderVersion() const
int getPostPassID() const
static GR_ErrorManager * getErrorHandler()
bool isObjectSelection() const
int requestRenderPostPass() const
bool showSelections() const
const UT_StringHolder & getNodePath() const
UT_Array< GR_PickRecord > & getPickArray() const
RE_CacheTagHandle getCacheTag() const
bool shownOutsideLOPs() const
bool isObjectCurrent() const