Go to the
documentation of this file.
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #pragma once
00017 #include "maxtypes.h"
00018
00019 typedef ULONG ChannelMask;
00020
00022
00023 #define NUM_OBJ_CHANS 11
00024
00025
00034
00035
00041
00042
00044 #define TOPO_CHANNEL (1<<0)
00045
00046
00047 #define GEOM_CHANNEL (1<<1)
00048
00049 #define TEXMAP_CHANNEL (1<<2)
00050
00051
00052 #define MTL_CHANNEL (1<<3)
00053
00054
00058 #define SELECT_CHANNEL (1<<4)
00059
00060
00065 #define SUBSEL_TYPE_CHANNEL (1<<5)
00066
00067
00069 #define DISP_ATTRIB_CHANNEL (1<<6)
00070
00071
00072 #define VERTCOLOR_CHANNEL (1<<7)
00073
00074
00075 #define GFX_DATA_CHANNEL (1<<8) // stripping, edge list, etc.
00076
00077 #define DISP_APPROX_CHANNEL (1<<9)
00078
00079 #define EXTENSION_CHANNEL (1<<13)
00080
00081
00082 #define TM_CHANNEL (1<<10)
00083
00085
00086 #define EDGEVISIBLITY_CHANNEL (1<<11)
00087
00089
00090 #define DONT_RECREATE_TRISTRIP_CHANNEL (1<<12)
00091
00092
00094 #define GLOBMTL_CHANNEL (1<<31)
00095
00096 #define OBJ_CHANNELS (TOPO_CHANNEL|GEOM_CHANNEL|SELECT_CHANNEL|TEXMAP_CHANNEL|MTL_CHANNEL|SUBSEL_TYPE_CHANNEL|DISP_ATTRIB_CHANNEL|VERTCOLOR_CHANNEL|GFX_DATA_CHANNEL|DISP_APPROX_CHANNEL|EXTENSION_CHANNEL)
00097
00098 #define ALL_CHANNELS (OBJ_CHANNELS|TM_CHANNEL|GLOBMTL_CHANNEL)
00099
00101
00107
00108
00109 #define TOPO_CHAN_NUM 0
00110
00111 #define GEOM_CHAN_NUM 1
00112
00113 #define TEXMAP_CHAN_NUM 2
00114
00115 #define MTL_CHAN_NUM 3
00116
00117 #define SELECT_CHAN_NUM 4
00118
00119 #define SUBSEL_TYPE_CHAN_NUM 5
00120
00121 #define DISP_ATTRIB_CHAN_NUM 6
00122
00123 #define VERT_COLOR_CHAN_NUM 7
00124
00125 #define GFX_DATA_CHAN_NUM 8
00126
00127 #define DISP_APPROX_CHAN_NUM 9
00128
00129
00134 #define EXTENSION_CHAN_NUM 10
00135
00137
00139