SpiecsEngine
 
Loading...
Searching...
No Matches
GltfPack.cpp
Go to the documentation of this file.
1/**
2* @file GltfPack.cpp.
3* @brief The GltfPack Class Implementation.
4* @author Spices.
5*/
6
7#include "Pchheader.h"
8#include "GltfPack.h"
9#include "../Loader/GltfLoader.h"
10
11namespace Spices {
12
13 bool GltfPack::OnCreatePack(bool isCreateBuffer)
14 {
16
17 if (MeshPack::OnCreatePack(isCreateBuffer)) return true;
18
19 m_Func(this);
20
21 if (isCreateBuffer)
22 {
25 }
26
27 return true;
28 }
29}
#define SPICES_PROFILE_ZONE
virtual bool OnCreatePack(bool isCreateBuffer=true) override
This interface is used for build specific meshPack data.
Definition GltfPack.cpp:13
GltfPack Class. This class defines gltf type meshPack.
Definition GltfPack.h:19
virtual bool OnCreatePack(bool isCreateBuffer=true)
This interface is used for build specific mesh pack data.
Definition MeshPack.cpp:119
void CreateBuffer()
Create Vertices buffer anf Indices buffer.
Definition MeshPack.cpp:278
MeshPack Class. This class defines some basic behaves and variables. This class need to be inherited ...
Definition MeshPack.h:156
static void GenerateMeshLodClusterHierarchy(MeshPack *meshPack)
Generate Mesh Lod Resources.
Class for provide functions of process Meshpack.