RigsofRods
Soft-body Physics Simulation
Public Member Functions | Private Attributes
RoR::Renderdash Class Reference

'renderdash' is a name of a classic Render-To-Texture animated material with gauges and other dashboard info. More...

#include <Renderdash.h>

+ Inheritance diagram for RoR::Renderdash:
+ Collaboration diagram for RoR::Renderdash:

Public Member Functions

 Renderdash (std::string const &rg_name, std::string const &tex_name, std::string const &cam_name)
 
 ~Renderdash ()
 
void setEnable (bool en)
 
Ogre::TexturePtr getTexture ()
 
Ogre::RenderTarget * getRenderTarget ()
 
void preRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) override
 
void postRenderTargetUpdate (const Ogre::RenderTargetEvent &evt) override
 

Private Attributes

Ogre::Camera * m_dash_cam
 
Ogre::RenderTexture * m_rtt_tex
 
Ogre::TexturePtr m_texture
 
Ogre::Overlay * m_blend_overlay
 
Ogre::Overlay * m_dash_overlay
 
Ogre::Overlay * m_needles_overlay
 

Detailed Description

'renderdash' is a name of a classic Render-To-Texture animated material with gauges and other dashboard info.

Definition at line 34 of file Renderdash.h.

Constructor & Destructor Documentation

◆ Renderdash()

RoR::Renderdash::Renderdash ( std::string const &  rg_name,
std::string const &  tex_name,
std::string const &  cam_name 
)

Definition at line 35 of file Renderdash.cpp.

+ Here is the call graph for this function:

◆ ~Renderdash()

RoR::Renderdash::~Renderdash ( )

Definition at line 75 of file Renderdash.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ getRenderTarget()

Ogre::RenderTarget* RoR::Renderdash::getRenderTarget ( )
inline

Definition at line 42 of file Renderdash.h.

◆ getTexture()

Ogre::TexturePtr RoR::Renderdash::getTexture ( )
inline

Definition at line 41 of file Renderdash.h.

+ Here is the caller graph for this function:

◆ postRenderTargetUpdate()

void RoR::Renderdash::postRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt)
override

Definition at line 106 of file Renderdash.cpp.

+ Here is the call graph for this function:

◆ preRenderTargetUpdate()

void RoR::Renderdash::preRenderTargetUpdate ( const Ogre::RenderTargetEvent &  evt)
override

Definition at line 88 of file Renderdash.cpp.

+ Here is the call graph for this function:

◆ setEnable()

void RoR::Renderdash::setEnable ( bool  en)

Definition at line 83 of file Renderdash.cpp.

Field Documentation

◆ m_blend_overlay

Ogre::Overlay* RoR::Renderdash::m_blend_overlay
private

Definition at line 52 of file Renderdash.h.

◆ m_dash_cam

Ogre::Camera* RoR::Renderdash::m_dash_cam
private

Definition at line 49 of file Renderdash.h.

◆ m_dash_overlay

Ogre::Overlay* RoR::Renderdash::m_dash_overlay
private

Definition at line 53 of file Renderdash.h.

◆ m_needles_overlay

Ogre::Overlay* RoR::Renderdash::m_needles_overlay
private

Definition at line 54 of file Renderdash.h.

◆ m_rtt_tex

Ogre::RenderTexture* RoR::Renderdash::m_rtt_tex
private

Definition at line 50 of file Renderdash.h.

◆ m_texture

Ogre::TexturePtr RoR::Renderdash::m_texture
private

Definition at line 51 of file Renderdash.h.


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