class: ege::Material
Description:
Constructor and Destructor:
+ Material (void );
+ ~Material (void );
Synopsis:
+ std::vector<uint32_t> m_listIndexFaces;
+ void draw (ewol::resource::Program* _prog,
const ege::MaterialGlId & _glID);
+ void setAmbientFactor (const vec4 & _val);
+ void setDiffuseFactor (const vec4 & _val);
+ void setSpecularFactor (const vec4 & _val);
+ void setShininess (float _val);
+ void setTexture0 (const std::string & _filename);
+ void setImageSize (const ivec2 & _newSize);
+ egami::Image* get (void );
+ void flush (void );
Detail:
m_listIndexFaces
+ std::vector<uint32_t> m_listIndexFaces;
Material
+ Material (void );
~Material
+ ~Material (void );
draw
+ void draw (ewol::resource::Program* _prog,
const ege::MaterialGlId & _glID);
setAmbientFactor
+ void setAmbientFactor (const vec4 & _val);
setDiffuseFactor
+ void setDiffuseFactor (const vec4 & _val);
setSpecularFactor
+ void setSpecularFactor (const vec4 & _val);
setShininess
+ void setShininess (float _val);
setTexture0
+ void setTexture0 (const std::string & _filename);
setImageSize
+ void setImageSize (const ivec2 & _newSize);
get
+ egami::Image* get (void );
flush
+ void flush (void );