14 #ifndef __diguyGraphicsMaterial_H
15 #define __diguyGraphicsMaterial_H
20 #define CPLUSPLUS_ONLY
64 const char* get_name();
85 void get_ambient(
float* rgba);
104 void get_diffuse(
float* rgba);
123 void get_specular(
float* rgba);
142 void get_emission(
float* rgba);
157 void get_shininess(
float* s);
174 void free_loader_memory();
195 int get_contains_alpha_component();
229 static void clear_last_bound_material();
245 #ifdef CPLUSPLUS_ONLY
272 virtual void build();
295 virtual void unbuild();
322 virtual void bind_now();
334 #ifdef CPLUSPLUS_ONLY
336 bdiGeometryMtl* get_scripted_object() {
return m_scripted_object;}
357 bdiGeometryMtl* m_scripted_object;
359 friend class bdiGeometryMtl;
360 friend class bdiGeometryFactory;
A class that represents a shared material.
Definition: diguyGraphicsMaterial.h:34