Assimp  v4.1. (December 2018)
AssimpView::CBackgroundPainter Class Reference

Public Types

enum  MODE { SIMPLE_COLOR , TEXTURE_2D , TEXTURE_CUBE }
 

Public Member Functions

ID3DXBaseEffect * GetEffect ()
 
MODE GetMode () const
 
IDirect3DBaseTexture9 * GetTexture ()
 
void OnPostRender ()
 
void OnPreRender ()
 
void RecreateNativeResource ()
 
void ReleaseNativeResource ()
 
void ResetSB ()
 
void RotateSB (const aiMatrix4x4 *pm)
 
void SetColor (D3DCOLOR p_clrNew)
 
void SetCubeMapBG (const char *p_szPath)
 
void SetTextureBG (const char *p_szPath)
 

Static Public Member Functions

static CBackgroundPainterInstance ()
 

Static Public Attributes

static CBackgroundPainter s_cInstance
 

Member Enumeration Documentation

◆ MODE

Enumerator
SIMPLE_COLOR 
TEXTURE_2D 
TEXTURE_CUBE 

Member Function Documentation

◆ GetEffect()

ID3DXBaseEffect* AssimpView::CBackgroundPainter::GetEffect ( )
inline

◆ GetMode()

MODE AssimpView::CBackgroundPainter::GetMode ( ) const
inline

◆ GetTexture()

IDirect3DBaseTexture9* AssimpView::CBackgroundPainter::GetTexture ( )
inline

◆ Instance()

static CBackgroundPainter& AssimpView::CBackgroundPainter::Instance ( )
inlinestatic

◆ OnPostRender()

void AssimpView::CBackgroundPainter::OnPostRender ( )

◆ OnPreRender()

void AssimpView::CBackgroundPainter::OnPreRender ( )

◆ RecreateNativeResource()

void AssimpView::CBackgroundPainter::RecreateNativeResource ( )

◆ ReleaseNativeResource()

void AssimpView::CBackgroundPainter::ReleaseNativeResource ( )

◆ ResetSB()

void AssimpView::CBackgroundPainter::ResetSB ( )

◆ RotateSB()

void AssimpView::CBackgroundPainter::RotateSB ( const aiMatrix4x4 pm)

◆ SetColor()

void AssimpView::CBackgroundPainter::SetColor ( D3DCOLOR  p_clrNew)

◆ SetCubeMapBG()

void AssimpView::CBackgroundPainter::SetCubeMapBG ( const char *  p_szPath)

◆ SetTextureBG()

void AssimpView::CBackgroundPainter::SetTextureBG ( const char *  p_szPath)

Member Data Documentation

◆ s_cInstance

CBackgroundPainter AssimpView::CBackgroundPainter::s_cInstance
static

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