Chicane

Manager

Header
Chicane/Renderer/Model/Manger.hpp
Namespace
Chicane::Model::Manager

Constructors

ModifierNameDescription
Manager()

Override Functions

AccessModifierTypeNameDescription
protectedvoidonAllocation(const std::string& inId, const Model::Data& inData)
protectedvoidonDeallocation(const std::string& inId)
protectedvoidonActivation(const std::string& inId)
protectedvoidonDeactivation(const std::string& inId)

Functions

AccessModifierTypeNameDescription
publicvoidload(const std::string& inId, const Box::Model* inModel)
publicconst Model::Instance&getInstance(const std::string& inId) const
publicconst Model::Data&getData(const std::string& inId) const
publicconst std::vector<Vertex::Instance>&getVertices() const
publicconst std::vector<std::uint32_t>&getIndices() const
publicstd::uint32_tgetFirstInstance(const std::string& inId) const

Properties

AccessModifierTypeNameDescription
privatestd::vector<Vertex::Instance>m_vertices
privatestd::vector<std::uint32_t>m_indices