Changeset 9407 for code/branches/shaders/src/orxonox/graphics/Model.h
- Timestamp:
- Oct 21, 2012, 5:32:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/shaders/src/orxonox/graphics/Model.h
r9402 r9407 34 34 #include <string> 35 35 #include "tools/Mesh.h" 36 #include "RenderQueueListener.h" 36 37 #include "worldentities/StaticEntity.h" 37 38 … … 58 59 { return this->meshSrc_; } 59 60 61 //TODO: let this function accept strings instead of ints for the XML Port, so we don't have to rely on static int values which may change in future Ogre revisions 62 inline void setRenderQueueGroup(const int renderQueueGroup) 63 { this->renderQueueGroup_ = renderQueueGroup; this->changedRenderQueueGroup(); } 64 inline const int getRenderQueueGroup() const 65 { return this->renderQueueGroup_; } 66 60 67 inline void setCastShadows(bool bCastShadows) 61 68 { this->bCastShadows_ = bCastShadows; this->changedShadows(); } … … 71 78 void registerVariables(); 72 79 void changedMesh(); 80 void changedRenderQueueGroup(); 73 81 void changedMaterial(); 74 82 void changedShadows(); … … 86 94 Mesh mesh_; 87 95 bool bCastShadows_; 96 int renderQueueGroup_; 88 97 std::string materialName_; 89 98
Note: See TracChangeset
for help on using the changeset viewer.