OpenMW
|
#include <refraction.hpp>
Public Member Functions | |
Refraction (Ogre::Camera *parentCamera) | |
~Refraction () | |
void | setHeight (float height) |
void | preRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) |
void | postRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) |
void | setUnderwater (bool underwater) |
void | setActive (bool active) |
void | renderQueueStarted (Ogre::uint8 queueGroupId, const Ogre::String &invocation, bool &skipThisInvocation) |
void | renderQueueEnded (Ogre::uint8 queueGroupId, const Ogre::String &invocation, bool &repeatThisInvocation) |
Private Attributes | |
Ogre::Camera * | mParentCamera |
Ogre::Camera * | mCamera |
Ogre::RenderTarget * | mRenderTarget |
Ogre::Plane | mNearClipPlane |
Ogre::Plane | mNearClipPlaneUnderwater |
bool | mRenderActive |
bool | mIsUnderwater |
MWRender::Refraction::Refraction | ( | Ogre::Camera * | parentCamera | ) |
void MWRender::Refraction::postRenderTargetUpdate | ( | const Ogre::RenderTargetEvent & | evt | ) |
void MWRender::Refraction::preRenderTargetUpdate | ( | const Ogre::RenderTargetEvent & | evt | ) |
void MWRender::Refraction::renderQueueEnded | ( | Ogre::uint8 | queueGroupId, |
const Ogre::String & | invocation, | ||
bool & | repeatThisInvocation | ||
) |
void MWRender::Refraction::renderQueueStarted | ( | Ogre::uint8 | queueGroupId, |
const Ogre::String & | invocation, | ||
bool & | skipThisInvocation | ||
) |
void MWRender::Refraction::setActive | ( | bool | active | ) |
void MWRender::Refraction::setHeight | ( | float | height | ) |
void MWRender::Refraction::setUnderwater | ( | bool | underwater | ) | [inline] |
Ogre::Camera* MWRender::Refraction::mCamera [private] |
bool MWRender::Refraction::mIsUnderwater [private] |
Ogre::Plane MWRender::Refraction::mNearClipPlane [private] |
Ogre::Plane MWRender::Refraction::mNearClipPlaneUnderwater [private] |
Ogre::Camera* MWRender::Refraction::mParentCamera [private] |
bool MWRender::Refraction::mRenderActive [private] |
Ogre::RenderTarget* MWRender::Refraction::mRenderTarget [private] |