vengine  0.0.1
3D graphics engine
Loading...
Searching...
No Matches
ven::Model::Builder Struct Reference

#include <Model.hpp>

+ Collaboration diagram for ven::Model::Builder:

Public Member Functions

void loadModel (const std::string &filename)
 
void processNode (const aiNode *node, const aiScene *scene)
 
void processMesh (const aiMesh *mesh, const aiScene *scene)
 

Public Attributes

std::vector< Vertexvertices
 
std::vector< uint32_t > indices
 

Detailed Description

Definition at line 45 of file Model.hpp.

Member Function Documentation

◆ loadModel()

void ven::Model::Builder::loadModel ( const std::string & filename)

Definition at line 105 of file model.cpp.

Referenced by ven::ModelFactory::create().

+ Here is the caller graph for this function:

◆ processMesh()

void ven::Model::Builder::processMesh ( const aiMesh * mesh,
const aiScene * scene )

Definition at line 132 of file model.cpp.

References ven::Model::Vertex::position.

◆ processNode()

void ven::Model::Builder::processNode ( const aiNode * node,
const aiScene * scene )

Definition at line 121 of file model.cpp.

Member Data Documentation

◆ indices

std::vector<uint32_t> ven::Model::Builder::indices

Definition at line 47 of file Model.hpp.

Referenced by ven::Model::Model().

◆ vertices

std::vector<Vertex> ven::Model::Builder::vertices

Definition at line 46 of file Model.hpp.

Referenced by ven::Model::Model().


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