summaryrefslogtreecommitdiff
path: root/include/bufferoption.h
blob: 62bfbb6208eef57fdfc63dd60d703b86c3ecd3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 */