struct Model {... int m_MaterialCount; Material ** m_Materials;...} typedef Material * MaterialPtr;
C++ (Qt)struct Material { .. Material * m_prev, * m_next; ..};
C++ (Qt)struct Model {... QList<Material> m_materials;...};
C++ (Qt)MaterialPtr Model::advancedMaterial(MaterialPtr base, int offset) { auto pos = std::find(m_Materials, m_Materials + m_MaterialCount, base); return pos + offset;};
C++ (Qt)struct Model {... int m_MaterialCount; Material ** m_Materials;...}
C++ (Qt)class Model {.. QList<Material> m_materials;.. };