Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::COBJMeshFileLoader Class Reference
Inheritance diagram for Skylicht::COBJMeshFileLoader:
Skylicht::CBaseMeshImporter Skylicht::IMeshImporter

Public Member Functions

virtual bool loadModel (const char *resource, CEntityPrefab *output, bool normalMap=true, bool flipNormalMap=true, bool texcoord2=true, bool batching=false)
void readMTL (const c8 *fileName, const io::path &relPath)
SObjMtlfindMtl (const core::stringc &mtlName, const core::stringc &grpName)
bool retrieveVertexIndices (c8 *vertexData, s32 *idx, const c8 *bufEnd, u32 vbsize, u32 vtsize, u32 vnsize)
void constructScene (CEntityPrefab *output, bool normalMap)
Public Member Functions inherited from Skylicht::CBaseMeshImporter
virtual void addTextureFolder (const char *folder)
virtual std::vector< std::string > & getTextureFolder ()

Protected Attributes

core::array< SObjMtl * > m_materials
std::string m_modelName
bool m_flipNormalMap
Protected Attributes inherited from Skylicht::CBaseMeshImporter
std::vector< std::string > m_textureFolder

Member Function Documentation

◆ loadModel()

virtual bool Skylicht::COBJMeshFileLoader::loadModel ( const char * resource,
CEntityPrefab * output,
bool normalMap = true,
bool flipNormalMap = true,
bool texcoord2 = true,
bool batching = false )
virtual

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