class: ewol::resource::Colored3DObject
Description:
Constructor and Destructor:
# Colored3DObject (void );
# virtual ~Colored3DObject (void );
Synopsis:
# ewol::resource::Program* m_GLprogram;
# int32_t m_GLPosition;
# int32_t m_GLMatrix;
# int32_t m_GLColor;
+ 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);
+ ewol::resource::Colored3DObject* keep (void );
+ void release (ewol::resource::Colored3DObject* & _object);
Object Hierarchy:
+ewol::Object
+--> +ewol::Resource
+--> ewol::resource::Colored3DObject
Detail:
m_GLprogram
# 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 (void );
~Colored3DObject
# virtual ~Colored3DObject (void );
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);
keep
+ ewol::resource::Colored3DObject* keep (void );
keep the resource pointer.
Note: Never free this pointer by your own...
Return: | | pointer on the resource or NULL if an error occured. |
release
+ void release (ewol::resource::Colored3DObject* & _object);
release the keeped resources