17 #ifndef GZ_RENDERING_OGRE2_OGRE2RENDERTARGET_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2RENDERTARGET_HH_
23 #include <gz/math/Color.hh>
31 #pragma warning(push, 0)
33 #include <Compositor/OgreCompositorShadowNode.h>
49 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
52 class Ogre2RenderTargetPrivate;
73 public:
virtual void Copy(
Image &_image)
const override;
77 public:
virtual Ogre::Camera *
Camera()
const;
81 public:
virtual void SetCamera(Ogre::Camera *_camera);
169 Ogre::CompositorWorkspace *_workspace,
174 Ogre::TextureGpu *(*_ogreTextures)[2],
175 bool _isRenderWindow);
208 protected: Ogre::Camera *ogreCamera =
nullptr;
212 protected: Ogre::CompositorWorkspace *ogreCompositorWorkspace =
nullptr;
230 protected:
bool colorDirty =
true;
234 protected:
bool backgroundMaterialDirty =
false;
237 protected:
unsigned int antiAliasing = 4;
275 public:
virtual unsigned int GLId()
const override;
278 public:
virtual void MetalId(
void *_textureIdPtr)
const override;
324 protected: Ogre::TextureGpu *ogreRenderWindow =
nullptr;