17 #ifndef GZ_RENDERING_OGRE2_OGRE2SELECTIONBUFFER_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2SELECTIONBUFFER_HH_
23 #include "gz/rendering/config.hh"
24 #include "gz/rendering/ogre2/Export.hh"
37 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
40 struct Ogre2SelectionBufferPrivate;
57 unsigned int _height);
66 public: Ogre::Item *OnSelectionClick(
const int _x,
const int _y);
75 public:
bool ExecuteQuery(
const int _x,
const int _y, Ogre::Item *&_item,
81 public:
void SetDimensions(
unsigned int _width,
unsigned int _height);
84 public:
void Update();
87 private:
void DeleteRTTBuffer();
90 private:
void CreateRTTBuffer();