OpenMW
Public Member Functions | Private Attributes
MWRender::Refraction Class Reference

#include <refraction.hpp>

List of all members.

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

Constructor & Destructor Documentation

MWRender::Refraction::Refraction ( Ogre::Camera *  parentCamera)

Member Function Documentation

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]

Member Data Documentation

Ogre::Camera* MWRender::Refraction::mCamera [private]
Ogre::Plane MWRender::Refraction::mNearClipPlane [private]
Ogre::Camera* MWRender::Refraction::mParentCamera [private]
Ogre::RenderTarget* MWRender::Refraction::mRenderTarget [private]

The documentation for this class was generated from the following files: