Elaztek Developer Hub
Blamite Game Engine - Guerilla (Library)  00425.12.30.24.2120.blamite
The tag editor for the Blamite Game Engine.
render_model.cpp File Reference
#include "render_model.h"
#include <assimp/Importer.hpp>
#include <assimp/scene.h>
#include <assimp/postprocess.h>
#include <map>
#include <Strings/components/utils/io/io.h>
#include <Strings/components/classes/map/map.h>
#include <Strings/components/logger/logger.h>
#include <Strings/components/utils/converters/converters.h>
#include "components/tags/fields/enum/enum.h"
#include "components/tags/fields/int/int.h"
#include "components/tags/fields/dataref/dataref.h"
#include "components/tags/fields/vector/vector.h"
#include "components/tags/fields/block/block.h"
#include "components/tags/fields/bitfield/bitfield.h"
#include "components/tags/fields/tagref/tagref.h"
#include "components/tags/tags.h"
+ Include dependency graph for render_model.cpp:

Enumerations

enum  render_model_report_type { render_model_report_type::comment, render_model_report_type::warning, render_model_report_type::error }
 

Functions

bool validate_render_model_plugin (BlamPlugin *plugin)
 
void write_render_model_error (BlamTag *tag, std::string error_text, render_model_report_type report_type)
 
BlamTagBlockEntryget_material_index_entry (BlamTag *tag, int material_index, aiMaterial *material)
 
void populate_vertex_data (BlamTag *new_tag, bool *errored, BlamTagBlockEntry *entry, aiMesh *mesh)
 
void populate_index_data (BlamTag *new_tag, bool *errored, BlamTagBlockEntry *entry, aiMesh *mesh)
 

Enumeration Type Documentation

◆ render_model_report_type

Enumerator
comment 
warning 
error 

Function Documentation

◆ get_material_index_entry()

BlamTagBlockEntry* get_material_index_entry ( BlamTag tag,
int  material_index,
aiMaterial *  material 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ populate_index_data()

void populate_index_data ( BlamTag new_tag,
bool *  errored,
BlamTagBlockEntry entry,
aiMesh *  mesh 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ populate_vertex_data()

void populate_vertex_data ( BlamTag new_tag,
bool *  errored,
BlamTagBlockEntry entry,
aiMesh *  mesh 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ validate_render_model_plugin()

bool validate_render_model_plugin ( BlamPlugin plugin)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_render_model_error()

void write_render_model_error ( BlamTag tag,
std::string  error_text,
render_model_report_type  report_type 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: