Am I on the right track thinking that a static mesh should only read everything but excluding the bones, skin and blendshapes; whereas animating meshes store the whole mesh data?
Would this seem right?
struct MeshStructureData {
Mesh's Vertices position, normals, uvs, etc...
};
struct MeshBase {
...
neccessary functions to initialize buffers (vertex and indices).
function to apply material.
function to detect collision.
function to render out buffers.
};
struct StaticMesh : public MeshBase {
function to load mesh file and store necessary information.
};
The meshbase is the interface object. So, does this seem like the correct assumption how loading various of different types of meshes are? As of Static Mesh, Fracture Mesh, Physic Meshes, Foliage Meshes, Actor Meshes or what not?
Thanks for taking the time out and reading this thread!