34 #ifndef __diguyGraphicsMaterial_H
35 #define __diguyGraphicsMaterial_H
40 #define CPLUSPLUS_ONLY
84 const char* get_name();
105 void get_ambient(
float* rgba);
124 void get_diffuse(
float* rgba);
143 void get_specular(
float* rgba);
162 void get_emission(
float* rgba);
177 void get_shininess(
float* s);
195 int get_contains_alpha_component();
211 void free_loader_memory();
243 static void clear_last_bound_material();
260 #ifdef CPLUSPLUS_ONLY
287 virtual void build();
310 virtual void unbuild();
337 virtual void bind_now();
349 #ifdef CPLUSPLUS_ONLY
351 bdiGeometryMtl* get_scripted_object() {
return m_scripted_object;}
372 bdiGeometryMtl* m_scripted_object;
374 friend class bdiGeometryMtl;
375 friend class bdiGeometryFactory;