Castor3D  ..
Classes | Fonctions membres publiques | Fonctions membres protégées | Attributs protégés | Liste de tous les membres
Référence de la classe Castor3D::Generator
+ Graphe de collaboration de Castor3D::Generator:

Classes

class  Thread
 

Fonctions membres publiques

 Generator (Engine *p_pEngine, int p_width, int p_height)
 
virtual ~Generator ()
 
virtual bool Step ()
 
virtual void SetRed (uint8_t val)
 
virtual void SetGreen (uint8_t val)
 
virtual void SetBlue (uint8_t val)
 
virtual void SwapBuffers ()
 
virtual void InitialiseStep ()
 
virtual void ClearAllThreads ()
 
bool AllEnded ()
 
void Suspend ()
 
void SetSize (int p_iWidth, int p_iHeight)
 
void SetSize (Castor::Point2i const &p_size)
 
void SaveFrame ()
 
template<class ThreadClass >
ThreadClass * CreateThread (int iWidth, int iTop, int iBottom, int iTotalHeight, Castor::UbPixel const &p_pxColour)
 
uint8_t GetRed () const
 
uint8_t GetGreen () const
 
uint8_t GetBlue () const
 
bool IsInitialised () const
 
Castor::PixelBuffer const * GetPixelsBuffer () const
 
Castor::PixelBuffer * GetPixelsBuffer ()
 
int GetWidth () const
 
int GetHeight () const
 

Fonctions membres protégées

void DoCleanup ()
 
uint32_t DoGetThreadsCount ()
 
Castor::Point2i _loadImage (Castor::String const &p_strImagePath, Castor::Image &p_pImage)
 
void _subRender ()
 
void _saveFrame ()
 

Attributs protégés

int m_iWidth
 
int m_iHeight
 
unsigned long long m_ullStep
 
Castor::PixelBuffer m_frontBuffer
 
Castor::PixelBuffer m_backBuffer
 
Castor::UbPixel m_pxColour
 
uint32_t m_uiThreadCount
 
bool m_bEnded
 
std::vector< Thread * > m_arraySlaveThreads
 
bool m_bInitialised
 
TextureUnitm_pTexture
 
Enginem_pEngine
 

Documentation des constructeurs et destructeur

Castor3D::Generator::Generator ( Engine p_pEngine,
int  p_width,
int  p_height 
)
virtual Castor3D::Generator::~Generator ( )
virtual

Documentation des fonctions membres

Castor::Point2i Castor3D::Generator::_loadImage ( Castor::String const &  p_strImagePath,
Castor::Image &  p_pImage 
)
protected
void Castor3D::Generator::_saveFrame ( )
protected
void Castor3D::Generator::_subRender ( )
protected
bool Castor3D::Generator::AllEnded ( )
virtual void Castor3D::Generator::ClearAllThreads ( )
virtual
template<class ThreadClass >
ThreadClass* Castor3D::Generator::CreateThread ( int  iWidth,
int  iTop,
int  iBottom,
int  iTotalHeight,
Castor::UbPixel const &  p_pxColour 
)
inline
void Castor3D::Generator::DoCleanup ( )
protected
uint32_t Castor3D::Generator::DoGetThreadsCount ( )
inlineprotected
uint8_t Castor3D::Generator::GetBlue ( ) const
inline
uint8_t Castor3D::Generator::GetGreen ( ) const
inline
int Castor3D::Generator::GetHeight ( ) const
inline
Castor::PixelBuffer const* Castor3D::Generator::GetPixelsBuffer ( ) const
inline
Castor::PixelBuffer* Castor3D::Generator::GetPixelsBuffer ( )
inline
uint8_t Castor3D::Generator::GetRed ( ) const
inline
int Castor3D::Generator::GetWidth ( ) const
inline
virtual void Castor3D::Generator::InitialiseStep ( )
virtual
bool Castor3D::Generator::IsInitialised ( ) const
inline
void Castor3D::Generator::SaveFrame ( )
virtual void Castor3D::Generator::SetBlue ( uint8_t  val)
virtual
virtual void Castor3D::Generator::SetGreen ( uint8_t  val)
virtual
virtual void Castor3D::Generator::SetRed ( uint8_t  val)
virtual
void Castor3D::Generator::SetSize ( int  p_iWidth,
int  p_iHeight 
)
void Castor3D::Generator::SetSize ( Castor::Point2i const &  p_size)
virtual bool Castor3D::Generator::Step ( )
virtual
void Castor3D::Generator::Suspend ( )
virtual void Castor3D::Generator::SwapBuffers ( )
virtual

Documentation des données membres

std::vector<Thread *> Castor3D::Generator::m_arraySlaveThreads
protected
Castor::PixelBuffer Castor3D::Generator::m_backBuffer
protected
bool Castor3D::Generator::m_bEnded
protected
bool Castor3D::Generator::m_bInitialised
protected
Castor::PixelBuffer Castor3D::Generator::m_frontBuffer
protected
int Castor3D::Generator::m_iHeight
protected
int Castor3D::Generator::m_iWidth
protected
Engine* Castor3D::Generator::m_pEngine
protected
TextureUnit* Castor3D::Generator::m_pTexture
protected
Castor::UbPixel Castor3D::Generator::m_pxColour
protected
uint32_t Castor3D::Generator::m_uiThreadCount
protected
unsigned long long Castor3D::Generator::m_ullStep
protected

La documentation de cette classe a été générée à partir du fichier suivant :