Class: ewol::Material
Synopsis:
+ Material (void);
+ ~Material (void);
+ void draw (ewol::Program * _prog,
const 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:
ewol::Material ()
Material(void);
ewol::~Material ()
~Material(void);
draw ()
void draw(ewol::Program * _prog,
const 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);
ewol::Material ()
Material(void);
ewol::~Material ()
~Material(void);
draw ()
void draw(ewol::Program * _prog, const 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);