Symphony Of Empires
Eng3D::Model Struct Reference

A complex object being composed by many simple objects. More...

#include <model.hpp>

Public Member Functions

 Model ()=default
 
virtual ~Model ()=default
 
 Model (const Model &)=delete
 
 Model (Model &&) noexcept=default
 
Modeloperator= (const Model &)=delete
 
virtual void draw (const Eng3D::OpenGL::Program &shader, int instances=0) const
 

Public Attributes

std::vector< Eng3D::SimpleModelsimple_models
 

Detailed Description

A complex object being composed by many simple objects.

Definition at line 65 of file model.hpp.

Constructor & Destructor Documentation

◆ Model() [1/3]

Eng3D::Model::Model ( )
default

◆ ~Model()

virtual Eng3D::Model::~Model ( )
virtualdefault

◆ Model() [2/3]

Eng3D::Model::Model ( const Model )
delete

◆ Model() [3/3]

Eng3D::Model::Model ( Model &&  )
defaultnoexcept

Member Function Documentation

◆ draw()

virtual void Eng3D::Model::draw ( const Eng3D::OpenGL::Program shader,
int  instances = 0 
) const
inlinevirtual

Definition at line 72 of file model.hpp.

◆ operator=()

Model& Eng3D::Model::operator= ( const Model )
delete

Member Data Documentation

◆ simple_models

std::vector<Eng3D::SimpleModel> Eng3D::Model::simple_models

Definition at line 81 of file model.hpp.


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