Elaztek Developer Hub
Blamite Game Engine - blam!  00423.10.27.24.0533.blamite
The core library for the Blamite Game Engine.
render_model Struct Reference

#include <render_model.h>

+ Collaboration diagram for render_model:

Public Member Functions

 TAG_BLOCK (materials, { tag_reference material;TAG_BLOCK(parameters, { });int32_t imported_material_index;})
 
 TAG_BLOCK (errors, { TAG_ENUM8(report_type, { comment, warning, error, });bitfield16 flags;data_reference text;})
 
 TAG_BLOCK (meshes, { data_reference name;bitfield16 flags;int32_t material_index;data_reference vertex_data;data_reference triangles_data;int8_t vertex_color_channels;int8_t uv_channels;vector3 extents_min;vector3 extents_max;})
 
 TAG_BLOCK (import_info, { int64_t source_filesize;data_reference source_filename;data_reference source_file_format;})
 

Public Attributes

data_reference name
 The name of the model. More...
 
bitfield16 flags
 
real bounding_sphere_radius
 
vector3 default_scale_modifier
 

Member Function Documentation

◆ TAG_BLOCK() [1/4]

render_model::TAG_BLOCK ( errors  ,
{ TAG_ENUM8(report_type, { comment, warning, error, });bitfield16 flags;data_reference text;}   
)

◆ TAG_BLOCK() [2/4]

render_model::TAG_BLOCK ( import_info  ,
{ int64_t source_filesize;data_reference source_filename;data_reference source_file_format;}   
)

◆ TAG_BLOCK() [3/4]

render_model::TAG_BLOCK ( materials  ,
{ tag_reference material;TAG_BLOCK(parameters, { });int32_t imported_material_index;}   
)

◆ TAG_BLOCK() [4/4]

render_model::TAG_BLOCK ( meshes  ,
{ data_reference name;bitfield16 flags;int32_t material_index;data_reference vertex_data;data_reference triangles_data;int8_t vertex_color_channels;int8_t uv_channels;vector3 extents_min;vector3 extents_max;}   
)

Member Data Documentation

◆ bounding_sphere_radius

real render_model::bounding_sphere_radius

◆ default_scale_modifier

vector3 render_model::default_scale_modifier

◆ flags

bitfield16 render_model::flags

◆ name

data_reference render_model::name

The name of the model.


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