![]() |
Blamite Game Engine - blam!
00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
|
#include <render_model.h>
Collaboration diagram for render_model:Classes | |
| struct | bitfield16_flags |
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, });struct bitfield16_flags { bool rendered :1;bool unused1 :1;bool unused2 :1;bool unused3 :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;bool unused8 :1;bool unused9 :1;bool unused10 :1;bool unused11 :1;bool unused12 :1;bool unused13 :1;bool unused14 :1;bool unused15 :1;};bitfield16_flags flags;data_reference text;}) | |
| TAG_BLOCK (meshes, { data_reference name;struct bitfield16_flags { bool uses_32_bit_indices :1;bool has_normals :1;bool has_tangents :1;bool unused3 :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;bool unused8 :1;bool unused9 :1;bool unused10 :1;bool unused11 :1;bool unused12 :1;bool unused13 :1;bool unused14 :1;bool unused15 :1;};bitfield16_flags 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 | flags |
| Bitfield data for flags. See #bitfield16_flags for details. More... | |
| real | bounding_sphere_radius |
| vector3 | default_scale_modifier |
| render_model::TAG_BLOCK | ( | errors | , |
| { TAG_ENUM8(report_type, { comment, warning, error, });struct bitfield16_flags { bool rendered :1;bool unused1 :1;bool unused2 :1;bool unused3 :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;bool unused8 :1;bool unused9 :1;bool unused10 :1;bool unused11 :1;bool unused12 :1;bool unused13 :1;bool unused14 :1;bool unused15 :1;};bitfield16_flags flags;data_reference text;} | |||
| ) |
| render_model::TAG_BLOCK | ( | import_info | , |
| { int64_t source_filesize;data_reference source_filename;data_reference source_file_format;} | |||
| ) |
| render_model::TAG_BLOCK | ( | materials | , |
| { tag_reference material;TAG_BLOCK(parameters, { });int32_t imported_material_index;} | |||
| ) |
| render_model::TAG_BLOCK | ( | meshes | , |
| { data_reference name;struct bitfield16_flags { bool uses_32_bit_indices :1;bool has_normals :1;bool has_tangents :1;bool unused3 :1;bool unused4 :1;bool unused5 :1;bool unused6 :1;bool unused7 :1;bool unused8 :1;bool unused9 :1;bool unused10 :1;bool unused11 :1;bool unused12 :1;bool unused13 :1;bool unused14 :1;bool unused15 :1;};bitfield16_flags 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;} | |||
| ) |
| real render_model::bounding_sphere_radius |
| vector3 render_model::default_scale_modifier |
| bitfield16_flags render_model::flags |
Bitfield data for flags. See #bitfield16_flags for details.
| data_reference render_model::name |
The name of the model.