class: ewol::resource::Colored3DObject


Description:



Constructor and Destructor:

#                                                  Colored3DObject          ();
+ virtual ~Colored3DObject ();

Synopsis:

#         std::shared_ptr<ewol::resource::Program> m_GLprogram;
# int32_t m_GLPosition;
# int32_t m_GLMatrix;
# int32_t m_GLColor;
# void init ();
+ DECLARE_RESOURCE_FACTORY (Colored3DObject );
+ virtual void draw (std::vector<vec3> & _vertices,
const etk::Color<float> & _color,
bool _updateDepthBuffer,
bool _depthtest);
+ virtual void draw (std::vector<vec3> & _vertices,
const etk::Color<float> & _color,
mat4 & _transformationMatrix,
bool _updateDepthBuffer,
bool _depthtest);
+ virtual void drawLine (std::vector<vec3> & _vertices,
const etk::Color<float> & _color,
mat4 & _transformationMatrix,
bool _updateDepthBuffer,
bool _depthtest);

Object Hierarchy:

+std::enable_shared_from_this<Object>
+ewol::object::ParameterList
+ewol::object::SignalList
+--> +ewol::Object
+--> +ewol::Resource
+--> ewol::resource::Colored3DObject

Detail:

m_GLprogram

# std::shared_ptr<ewol::resource::Program> m_GLprogram;



m_GLPosition

# int32_t m_GLPosition;



m_GLMatrix

# int32_t m_GLMatrix;



m_GLColor

# int32_t m_GLColor;



Colored3DObject

#  Colored3DObject ();



init

# void init ();



DECLARE_RESOURCE_FACTORY

+  DECLARE_RESOURCE_FACTORY (Colored3DObject );



~Colored3DObject

+ virtual  ~Colored3DObject ();



draw

+ virtual void draw (std::vector<vec3> & _vertices,
const etk::Color<float> & _color,
bool _updateDepthBuffer,
bool _depthtest);



draw

+ virtual void draw (std::vector<vec3> & _vertices,
const etk::Color<float> & _color,
mat4 & _transformationMatrix,
bool _updateDepthBuffer,
bool _depthtest);



drawLine

+ virtual void drawLine (std::vector<vec3> & _vertices,
const etk::Color<float> & _color,
mat4 & _transformationMatrix,
bool _updateDepthBuffer,
bool _depthtest);