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

Public Member Functions

int CreateMaterial (AssetHelper::MeshHelper *pcMesh, const aiMesh *pcSource)
 
void DeleteMaterial (AssetHelper::MeshHelper *pcIn)
 
int EndMaterial (AssetHelper::MeshHelper *pcMesh)
 
int FindValidPath (aiString *p_szString)
 
unsigned int GetShaderCount ()
 
int LoadTexture (IDirect3DTexture9 **p_ppiOut, aiString *szPath)
 
void Reset ()
 
int SetupMaterial (AssetHelper::MeshHelper *pcMesh, const aiMatrix4x4 &pcProj, const aiMatrix4x4 &aiMe, const aiMatrix4x4 &pcCam, const aiVector3D &vPos)
 
int UpdateSpecularMaterials ()
 

Static Public Member Functions

static CMaterialManagerInstance ()
 

Static Public Attributes

static CMaterialManager s_cInstance
 

Friends

class CDisplay
 

Member Function Documentation

◆ CreateMaterial()

int AssimpView::CMaterialManager::CreateMaterial ( AssetHelper::MeshHelper pcMesh,
const aiMesh pcSource 
)

◆ DeleteMaterial()

void AssimpView::CMaterialManager::DeleteMaterial ( AssetHelper::MeshHelper pcIn)

◆ EndMaterial()

int AssimpView::CMaterialManager::EndMaterial ( AssetHelper::MeshHelper pcMesh)

◆ FindValidPath()

int AssimpView::CMaterialManager::FindValidPath ( aiString p_szString)

◆ GetShaderCount()

unsigned int AssimpView::CMaterialManager::GetShaderCount ( )
inline

◆ Instance()

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

◆ LoadTexture()

int AssimpView::CMaterialManager::LoadTexture ( IDirect3DTexture9 **  p_ppiOut,
aiString szPath 
)

◆ Reset()

void AssimpView::CMaterialManager::Reset ( void  )
inline

◆ SetupMaterial()

int AssimpView::CMaterialManager::SetupMaterial ( AssetHelper::MeshHelper pcMesh,
const aiMatrix4x4 pcProj,
const aiMatrix4x4 aiMe,
const aiMatrix4x4 pcCam,
const aiVector3D vPos 
)

◆ UpdateSpecularMaterials()

int AssimpView::CMaterialManager::UpdateSpecularMaterials ( )

Friends And Related Function Documentation

◆ CDisplay

friend class CDisplay
friend

Member Data Documentation

◆ s_cInstance

CMaterialManager AssimpView::CMaterialManager::s_cInstance
static

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