44 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
68 static const int DefaultRenderWidth = 1200;
73 static const int DefaultRenderHeight = 720;
118 unsigned int getWidth()
const;
125 unsigned int getHeight()
const;
132 virtual void redrawTriggered ();
137 void setTargetMultiplier();
147 Ogre::String generateTexture(
const QString &name, Ogre::TextureType texType, Ogre::uint width, Ogre::uint height,
int num_mips, Ogre::PixelFormat format,
int usage=Ogre::TU_DEFAULT);
154 void initializeRenderTarget(Ogre::Camera* cam, Ogre::ColourValue bkColor = Ogre::ColourValue(0,0,0), Ogre::PixelFormat format = Ogre::PF_R8G8B8,
bool clearFrame =
true,
int fsaa = 4);
161 void initializeRenderTargetsInHash (Ogre::Camera* cam = 0,
bool clearFrame =
true);
168 void initializeAllTargets(Ogre::Camera* cam);
176 void resizeAllTargets(
int width,
int height);
184 void resizeAllTexturesInHash(
int width,
int height);
192 void resizeRenderTexture(
int width,
int height, Ogre::PixelFormat pixelFormat = Ogre::PF_R8G8B8,
int fsaa = 4);
197 void finalizeRenderTargets();
202 void removeRenderTexture(Ogre::TexturePtr &texture);
207 void removeViewportsFromRenderTargets();