OpenMW
|
#include <selectionbuffer.hpp>
Public Member Functions | |
SelectionBuffer (Ogre::Camera *camera, int sizeX, int sizeY, int visibilityFlags) | |
virtual | ~SelectionBuffer () |
int | getSelected (int xPos, int yPos) |
void | update () |
virtual Ogre::Technique * | handleSchemeNotFound (unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend) |
Private Member Functions | |
void | getNextColour () |
Private Attributes | |
Ogre::TexturePtr | mTexture |
Ogre::RenderTexture * | mRenderTarget |
Ogre::Image | mBuffer |
std::map< Ogre::ColourValue, int, cmp_ColourValue > | mColourMap |
Ogre::ColourValue | mCurrentColour |
OEngine::Render::SelectionBuffer::SelectionBuffer | ( | Ogre::Camera * | camera, |
int | sizeX, | ||
int | sizeY, | ||
int | visibilityFlags | ||
) |
OEngine::Render::SelectionBuffer::~SelectionBuffer | ( | ) | [virtual] |
void OEngine::Render::SelectionBuffer::getNextColour | ( | ) | [private] |
int OEngine::Render::SelectionBuffer::getSelected | ( | int | xPos, |
int | yPos | ||
) |
Ogre::Technique * OEngine::Render::SelectionBuffer::handleSchemeNotFound | ( | unsigned short | schemeIndex, |
const Ogre::String & | schemeName, | ||
Ogre::Material * | originalMaterial, | ||
unsigned short | lodIndex, | ||
const Ogre::Renderable * | rend | ||
) | [virtual] |
Ogre::Image OEngine::Render::SelectionBuffer::mBuffer [private] |
std::map<Ogre::ColourValue, int, cmp_ColourValue> OEngine::Render::SelectionBuffer::mColourMap [private] |
Ogre::ColourValue OEngine::Render::SelectionBuffer::mCurrentColour [private] |
Ogre::RenderTexture* OEngine::Render::SelectionBuffer::mRenderTarget [private] |
Ogre::TexturePtr OEngine::Render::SelectionBuffer::mTexture [private] |