Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::MeshImporter Class Reference

#include <MeshImporter.h>

Static Public Member Functions

static bool loadMesh (PlatformContext &context, ResourcePtr< Mesh > mesh)
 

Static Protected Member Functions

static bool loadMeshDataFromFile (PlatformContext &context, Import::ImportData &dataOut)
 
static Handle< MaterialloadSubMeshMaterial (const Import::MaterialData &importData, bool loadedFromCache, bool skinned, std::atomic_uint &taskCounter)
 Load the material for the current SubMesh.
 

Detailed Description

Definition at line 176 of file MeshImporter.h.

Member Function Documentation

◆ loadMesh()

bool Divide::MeshImporter::loadMesh ( PlatformContext context,
ResourcePtr< Mesh >  mesh 
)
static

Definition at line 346 of file MeshImporter.cpp.

◆ loadMeshDataFromFile()

bool Divide::MeshImporter::loadMeshDataFromFile ( PlatformContext context,
Import::ImportData dataOut 
)
staticprotected

Definition at line 306 of file MeshImporter.cpp.

◆ loadSubMeshMaterial()

Handle< Material > Divide::MeshImporter::loadSubMeshMaterial ( const Import::MaterialData importData,
bool  loadedFromCache,
bool  skinned,
std::atomic_uint &  taskCounter 
)
staticprotected

Load the material for the current SubMesh.

Definition at line 452 of file MeshImporter.cpp.


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