arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

GrinderTokens.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     3-20-03
00005 //                   ________    ____   ___ 
00006 //                  |        \  /    | /  /
00007 //                  +---+     \/     |/  /
00008 //                  +--+|  |\    /|     < 
00009 //                  |  ||  | \  / |  |\  \ 
00010 //                  |      |  \/  |  | \  \ 
00011 //                   \_____|      |__|  \__\
00012 //                       Copyright  2003 
00013 //                      Joe Michael Kniss
00014 //                   <<< jmk@cs.utah.edu >>>
00015 //               "All Your Base are Belong to Us"
00016 //-------------------------------------------------------------------------
00017 
00018 ///GrinderTokens.h
00019 
00020 /// reserved tokens for grinder meta-compiling
00021 
00022 #ifndef __GRINDER_TOKENS_DOT_H
00023 #define __GRINDER_TOKENS_DOT_H
00024 
00025 #include <string>
00026 
00027 typedef std::string TokenStr;
00028 
00029 /////////////////////////////////////////
00030 //// common scopes
00031 
00032 /// environment
00033 const TokenStr EnvT("env");
00034 
00035 /////////////////////////////////////////
00036 /// sample
00037 const TokenStr SampleT("sample");
00038 
00039 /////////////////////////////////////////
00040 //// common data tokens
00041 
00042 const TokenStr TexCTBase("$tex_coord");
00043 
00044 /// texture coordinates
00045 const TokenStr TexCT[] =
00046 {
00047       TokenStr("$tex_coord0"),
00048       TokenStr("$tex_coord1"),
00049       TokenStr("$tex_coord2"),
00050       TokenStr("$tex_coord3"),
00051       TokenStr("$tex_coord4"),
00052       TokenStr("$tex_coord5"),
00053       TokenStr("$tex_coord6"),
00054       TokenStr("$tex_coord7"),
00055       TokenStr("$tex_coord8"),
00056       TokenStr("$tex_coord9"),
00057       TokenStr("$tex_coord10"),
00058       TokenStr("$tex_coord11"),
00059       TokenStr("$tex_coord12"),
00060       TokenStr("$tex_coord13"),
00061       TokenStr("$tex_coord14"),
00062       TokenStr("$tex_coord15"),
00063       TokenStr("$tex_coord16"),
00064       TokenStr("$tex_coord17"),
00065       TokenStr("$tex_coord18"),
00066       TokenStr("$tex_coord19"),
00067       TokenStr("$tex_coord20")
00068 };
00069 
00070 /// values AKA sampled textures
00071 
00072 const TokenStr DataValTBase("$data");
00073 
00074 const TokenStr DataValT[] =
00075 {
00076       TokenStr("$data0"),
00077       TokenStr("$data1"),
00078       TokenStr("$data2"),
00079       TokenStr("$data3"),
00080       TokenStr("$data4"),
00081       TokenStr("$data5"),
00082       TokenStr("$data6"),
00083       TokenStr("$data7"),
00084       TokenStr("$data8"),
00085       TokenStr("$data9"),
00086       TokenStr("$data10"),
00087       TokenStr("$data11"),
00088       TokenStr("$data12"),
00089       TokenStr("$data13"),
00090       TokenStr("$data14"),
00091       TokenStr("$data15"),
00092       TokenStr("$data16"),
00093       TokenStr("$data17"),
00094       TokenStr("$data18"),
00095       TokenStr("$data19"),
00096       TokenStr("$data20")
00097 };
00098 
00099 /////////////////////////////////////////
00100 /// output tokens
00101 const TokenStr ColorOutT("colorOut");
00102 
00103 #endif
00104 
00105 

Send questions, comments, and bug reports to:
jmk