KarmaEngine
Game Engine for practical learning and research purposes
Loading...
Searching...
No Matches
Mesh.h File Reference

This file contains the class Mesh and relevant data structures. More...

#include "krpch.h"
#include "Buffer.h"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
Include dependency graph for Mesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Karma::Mesh
 An organized collection of vertex and index buffers along with rest of the model specific information which includes colors, texture coordinates and perhaps animation attributes. More...
 

Enumerations

enum class  MeshType { Mesh = 0 , SkeletalMesh }
 
enum class  Karma::MeshAttribute {
  Vertices = 0 , Normals , Tangents , Bitangents ,
  Colors , TextureCoords , AnimMeshes
}
 An enum for cherning data by interleaving the following attributes. More...
 

Detailed Description

This file contains the class Mesh and relevant data structures.

Author
Ravi Mohan (the_cowboy)
Version
1.0
Date
May 15, 2022

Enumeration Type Documentation

◆ MeshAttribute

enum class Karma::MeshAttribute
strong

An enum for cherning data by interleaving the following attributes.

Since
Karma 1.0.0
Enumerator
Vertices 

Vertex attribute

Normals 

Normal attribute

Tangents 

Tangent attribute

Bitangents 

Bitangents attribute which IDK

Colors 

Color attribute

TextureCoords 

Texture coordinates attributes

AnimMeshes 

Animation mesh attribute