projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added audio
[laserbrain_demo]
/
src
/
material.h
diff --git
a/src/material.h
b/src/material.h
index
979bbd9
..
c46a21d
100644
(file)
--- a/
src/material.h
+++ b/
src/material.h
@@
-32,6
+32,12
@@
public:
void setup() const;
void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN);
void setup() const;
void add_texture(Texture *tex, int type = MTL_TEX_UNKNOWN);
+ void remove_texture(Texture *tex);
};
};
+// returns MTL_TEX_whatever by name
+int mtl_parse_type(const char *str);
+// returns the name of a material type
+const char *mtl_type_string(int type);
+
#endif // MATERIAL_H_
#endif // MATERIAL_H_