10 #include "mgGL/GLAttrib.h"
11 #include "mgGL/Color.h"
34 MGName(
const std::string& name);
42 void setName(std::string& name);
43 void setName(
char* name);
46 const std::string&
getName()
const{
return m_name;};
75 std::string
whoami()
const{
return "Name";};
83 std::ostream&
out(std::ostream&)
const;
void reset_draw_attrib_mask(unsigned int &mask) const
Turn off the appropriate mask bit for this attribute. See glPushAttrib().
Definition: Name.h:64
MGGLAttrib is an abstract class which defines the enum of undefined or disabled.
Definition: GLAttrib.h:35
void reset_render_attrib_mask(unsigned int &mask) const
Turn off the appropriate mask bit for this attribute. See glPushAttrib().
Definition: Name.h:70
virtual MGGLAttrib * clone() const =0
Generate a newed clone object.
virtual void WriteMembers(MGOfstream &buf) const
Write all member data.
virtual void ReadMembers(MGIfstream &buf)
Read all member data.
MGIfstream is a class to read the serialized data generated by MGOfstream.
Definition: Ifstream.h:30
const std::string & getName() const
Definition: Name.h:46
void set_draw_attrib_mask(unsigned int &mask) const
Turn on the appropriate mask bit for this attribute. See glPushAttrib().
Definition: Name.h:61
Defines MGAttribedGel's Name data.
Definition: Name.h:29
void drawAttrib(mgVBO &vbo, bool no_color=false) const
draw GLAttribute process.
Definition: Name.h:52
virtual std::ostream & out(std::ostream &) const
Output virtual function.
void set_render_attrib_mask(unsigned int &mask) const
Turn on the appropriate mask bit for this attribute. See glPushAttrib().
Definition: Name.h:67
MGOfstream is a class to serialize all of the subclasses of MGGel.
Definition: Ofstream.h:31
std::string & getName()
Definition: Name.h:45
void exec(mgVBO &vbo) const
render GLAttribute process.
Definition: Name.h:49
void render(mgVBO &vbo) const
render GLAttribute process.
Definition: Name.h:58
long identify_type() const
Return This object's typeID.
Definition: Name.h:73
std::string whoami() const
Definition: Name.h:75
virtual bool operator==(const MGGel &gel2) const
Comparison.
Definition: Gel.h:80
OpenGL 4 用描画のためのクラス, in other words, display list.
Definition: VBO.h:76