- Timestamp:
- Jan 18, 2016, 10:35:11 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/shaders_merge/src/orxonox/RenderQueueListener.h
r11074 r11075 21 21 * 22 22 * Author: 23 * Fabian 'x3n' Landau 24 * Reto Grieder (physics) 23 * David 'davidsa' Salvisberg 25 24 * Co-authors: 26 25 * ... … … 52 51 }; 53 52 54 const int STENCIL_VALUE_FOR_GLOW = 1; //!< this is a reference value for our mask,53 constexpr int STENCIL_VALUE_FOR_GLOW = 1; //!< this is a reference value for our mask, 55 54 //!< if more than one type of stencil mask is to be used, each of them need their own value 56 const int STENCIL_FULL_MASK = 0xFFFFFFFF; //!< this is a reference mask used in our stencil buffer55 constexpr int STENCIL_FULL_MASK = 0xFFFFFFFF; //!< this is a reference mask used in our stencil buffer 57 56 58 57 /** … … 85 84 In this case we use it to set the stencil buffer parameters of the render system 86 85 */ 87 virtual void renderQueueStarted(Ogre::uint8 queueGroupId, const Ogre::String& invocation, bool& skipThisInvocation) ;86 virtual void renderQueueStarted(Ogre::uint8 queueGroupId, const Ogre::String& invocation, bool& skipThisInvocation) override; 88 87 /** 89 88 @brief … … 92 91 in this case we use it to unset the stencil buffer parameters, so the rest of the render queue is unaffected by it. 93 92 */ 94 virtual void renderQueueEnded(Ogre::uint8 queueGroupId, const Ogre::String& invocation, bool& repeatThisInvocation) ;93 virtual void renderQueueEnded(Ogre::uint8 queueGroupId, const Ogre::String& invocation, bool& repeatThisInvocation) override; 95 94 96 95 private: … … 98 97 unsigned int pixelCount_; //!< this stores the last pixel count returned by the last HOQ in the corresponding render group 99 98 100 enum PixelState //!< enum to distinguish the several HOQ pixel count states99 enum class PixelState //!< enum to distinguish the several HOQ pixel count states 101 100 { 102 101 READY_FOR_RENDER,
Note: See TracChangeset
for help on using the changeset viewer.