|
| Mesh (std::shared_ptr< VertexBuffer > vertexBuffer, std::shared_ptr< IndexBuffer > indexBuffer, const std::string &meshName="NoName", MeshType mType=MeshType::Mesh) |
|
| Mesh (const std::string &filePath) |
|
virtual void | ProcessMesh (aiMesh *meshToProcess) |
|
void | ProcessNode (aiNode *nodeToProcess, const aiScene *theScene) |
|
std::shared_ptr< VertexBuffer > | GetVertexBuffer () const |
|
std::shared_ptr< IndexBuffer > | GetIndexBuffer () const |
|
void | SetVertexBuffer (std::shared_ptr< VertexBuffer > vBuffer) |
|
void | SetIndexBuffer (std::shared_ptr< IndexBuffer > iBuffer) |
|
|
static std::shared_ptr< Mesh > | ProcessTheRawMesh (aiMesh *meshToProcess, const std::string &mName="NoName") |
|
static void | DealVertexIndexBufferData (float *&vertexData, uint32_t &vertexDataSize, uint32_t *&indexData, uint32_t &indexDataLength, aiMesh *meshToProcess, BufferLayout &buffLayout) |
|
static void | GaugeVertexDataLayout (aiMesh *meshToProcess, BufferLayout &buffLayout) |
|
static float | LayoutElementToAttributeValue (unsigned int vertexNumber, uint32_t counter, aiMesh *meshToProcess, const BufferElement &layoutElem) |
|
static void | InitializeAttributeDictionary () |
|
|
std::shared_ptr< VertexBuffer > | m_VertexBuffer |
|
std::shared_ptr< IndexBuffer > | m_IndexBuffer |
|
std::string | m_MeshName |
|
MeshType | m_MeshType |
|
|
static std::shared_ptr< std::unordered_map< std::string, MeshAttribute > > | m_NameToAttributeDictionary = std::make_shared<std::unordered_map<std::string, MeshAttribute>>() |
|
The documentation for this class was generated from the following files:
- Karma/src/Karma/Renderer/Mesh.h
- Karma/src/Karma/Renderer/Mesh.cpp