summaryrefslogtreecommitdiff
path: root/src/material/material.h
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-02-11 19:46:23 -0600
committersanine <sanine.not@pm.me>2023-02-11 19:46:23 -0600
commit6722ef01e34f75bde72ba29e3279c0d1df030593 (patch)
tree1cb389a5af3c0aa4709def8a76c0628342c8aa7c /src/material/material.h
parent3b740d521a685fdc4f85d100447ff6d88c0b1d28 (diff)
add materials and images processingyacc-xml
Diffstat (limited to 'src/material/material.h')
-rw-r--r--src/material/material.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/material/material.h b/src/material/material.h
new file mode 100644
index 0000000..f69f00b
--- /dev/null
+++ b/src/material/material.h
@@ -0,0 +1,16 @@
+#ifndef KALMIA_MATERIAL_H
+#define KALMIA_MATERIAL_H
+
+#include <kalmia.h>
+#include "xml/xml.h"
+
+int kai_read_instance_effect(struct ka_instance_effect_t *dest, struct kai_tag_t *src);
+void kai_release_instance_effect(struct ka_instance_effect_t i);
+
+int kai_read_material(struct ka_material_t *dest, struct kai_tag_t *src);
+void kai_release_material(struct ka_material_t m);
+
+int kai_read_library_materials(struct ka_library_materials_t *dest, struct kai_tag_t *src);
+void kai_release_library_materials(struct ka_library_materials_t l);
+
+#endif