17 #ifndef GZ_RENDERING_OGRE_OGRERENDERTARGET_HH_
18 #define GZ_RENDERING_OGRE_OGRERENDERTARGET_HH_
20 #include <gz/math/Color.hh>
40 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
53 public:
virtual void Copy(
Image &_image)
const override;
55 public:
virtual Ogre::Camera *
Camera()
const;
57 public:
virtual void SetCamera(Ogre::Camera *_camera);
72 public:
virtual void Destroy()
override = 0;
83 public: Ogre::Viewport *
Viewport(
const int _viewportId)
const;
111 protected: Ogre::Camera *ogreCamera =
nullptr;
113 protected: Ogre::Viewport *ogreViewport =
nullptr;
123 protected:
bool colorDirty =
true;
125 protected:
unsigned int antiAliasing = 4;
147 public:
virtual unsigned int GLId();
149 public:
virtual void Buffer(
float *buffer);
159 protected: Ogre::Texture *ogreTexture =
nullptr;
179 protected: Ogre::RenderTarget *ogreRenderWindow =
nullptr;