![]()  | 
  
    MAGE
    v0.171.0
    
   Matthias Advanced Game Engine 
   | 
 
#include <model_output.hpp>
Public Member Functions | |
| void XM_CALLCONV | AddModelPart (ModelPart model_part) | 
| void | ComputeBoundingVolumes () noexcept | 
| void | NormalizeModelParts () noexcept | 
Public Attributes | |
| std::vector< VertexT > | m_vertex_buffer | 
| std::vector< IndexT > | m_index_buffer | 
| std::vector< Material > | m_material_buffer | 
| AlignedVector< ModelPart > | m_model_parts | 
Private Member Functions | |
| void | NormalizeInWorldSpace () noexcept | 
| void | NormalizeInObjectSpace () noexcept | 
A struct of model outputs.
| VertexT | The vertex type. | 
| IndexT | The index type. | 
| void XM_CALLCONV mage::rendering::ModelOutput< VertexT, IndexT >::AddModelPart | ( | ModelPart | model_part | ) | 
Adds a model part to this model output.
| [in] | model_part | The model part to add. | 
      
  | 
  noexcept | 
Computes the bounding volumes of the model parts of this model output.
      
  | 
  privatenoexcept | 
Normalizes the vertices in object space of this model output.
      
  | 
  privatenoexcept | 
Normalizes the vertices in world space of this model output.
      
  | 
  noexcept | 
Normalizes the model parts of this model output.
| std::vector< IndexT > mage::rendering::ModelOutput< VertexT, IndexT >::m_index_buffer | 
A vector containing the indices of this model output.
| std::vector< Material > mage::rendering::ModelOutput< VertexT, IndexT >::m_material_buffer | 
A vector containing the materials of this model output.
| AlignedVector< ModelPart > mage::rendering::ModelOutput< VertexT, IndexT >::m_model_parts | 
A vector containing the model parts of this model output.
| std::vector< VertexT > mage::rendering::ModelOutput< VertexT, IndexT >::m_vertex_buffer | 
A vector containing the vertices of this model output.