ParticuleMesh.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 
8 #include <ege/resource/Mesh.hpp>
9 
10 namespace ege {
11  namespace resource {
13  protected:
14  int32_t m_GLMainColor;
15  protected:
16  ParticuleMesh();
17  void init(const std::string& _fileName, const std::string& _shaderName="DATA:ParticuleMesh.prog");
18  public:
19  DECLARE_RESOURCE_NAMED_FACTORY(ParticuleMesh);
20  virtual ~ParticuleMesh();
21  public:
22  virtual void draw(mat4& _positionMatrix,
23  const etk::Color<float>& _mainColor,
24  bool _enableDepthTest = true,
25  bool _enableDepthUpdate = true);
26  };
27  }
28 }
Definition: Mesh.hpp:30
Definition: AudioElement.hpp:8
Definition: ParticuleMesh.hpp:12