summaryrefslogtreecommitdiff
path: root/include/bufferoption.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/bufferoption.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/bufferoption.h b/include/bufferoption.h
new file mode 100644
index 0000000..62bfbb6
--- /dev/null
+++ b/include/bufferoption.h
@@ -0,0 +1,33 @@
+#ifndef BUFFEROPTION_H
+#define BUFFEROPTION_H
+enum BufferOption
+{
+ BUFFER_RESTEXOBJ = 0x00000001,
+ BUFFER_RESTLUTOBJ = 0x00000002,
+ BUFFER_RESTEXSRT = 0x00000004,
+ BUFFER_RESCHAN = 0x00000008,
+ BUFFER_RESGENMODE = 0x00000010,
+ BUFFER_RESMATMISC = 0x00000020,
+ BUFFER_VIS = 0x00000040,
+
+ BUFFER_RESPIX = 0x00000080,
+ BUFFER_RESTEVCOLOR = 0x00000100,
+ BUFFER_RESINDMTXANDSCALE = 0x00000200,
+ BUFFER_RESTEXCOORDGEN = 0x00000400,
+ BUFFER_RESTEV = 0x00000800,
+
+ BUFFER_VTXPOS = 0x00001000,
+ BUFFER_VTXNRM = 0x00002000,
+ BUFFER_VTXCLR = 0x00004000,
+
+ ALWAYS_BUFFER_ANM_SHP = 0x01000000,
+
+ ANM_MATCLR = BUFFER_RESTEVCOLOR | BUFFER_RESCHAN,
+ ANM_TEXPAT = BUFFER_RESTEXOBJ | BUFFER_RESTLUTOBJ,
+ ANM_TEXSRT = BUFFER_RESTEXSRT,
+ ANM_VIS = BUFFER_VIS,
+ ANM_SHP = BUFFER_VTXPOS | BUFFER_VTXNRM | BUFFER_VTXCLR,
+ ANM_VTX = ANM_SHP,
+ ANM_ALL = ANM_MATCLR | ANM_TEXPAT | ANM_TEXSRT | ANM_VIS | ANM_VTX
+};
+#endif /* BUFFEROPTION_H */