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

gliftDecl.h

Go to the documentation of this file.
00001 //////////////////////////////////////////////////////////////////////
00002 // 6/25/02      Aaron Lefohn    Scientific Computing and Imaging Institute
00003 // School of Computing          University of Utah
00004 //
00005 //  This library is free software; you can redistribute it and/or
00006 //  modify it under the terms of the GNU Lesser General Public
00007 //  License as published by the Free Software Foundation; either
00008 //  version 2.1 of the License, or (at your option) any later version.
00009 //
00010 //  This library is distributed in the hope that it will be useful,
00011 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 //  Lesser General Public License for more details.
00014 //
00015 //  You should have received a copy of the GNU Lesser General Public
00016 //  License along with this library; if not, write to the Free Software
00017 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00018 /////////////////////////////////////////////////////////////////////////
00019 
00020 #ifndef GLIFT_DECL_H_
00021 #define GLIFT_DECL_H_
00022 
00023 namespace glift {
00024 
00025 enum GliftShadeLang {
00026    GSL_UNKNOWN  = -1,
00027    GSL_ATI8K    = 0,
00028    GSL_ATI9K    = 1,
00029    GSL_ARB              = 2,
00030    GSL_NV2X     = 3,
00031    GSL_NV30     = 4,
00032    GSL_LAST     = 5 
00033 };
00034 
00035 enum GliftArch {
00036    GA_UNKNOWN   = -1,
00037    GA_ATI8K     = 0,
00038    GA_ATI9K     = 1,
00039    GA_NV2X              = 2,
00040    GA_NV30              = 3,
00041    GA_LAST              = 4 
00042 };
00043 
00044 #ifdef WIN32
00045 #define _export_ //TODO: Define this for DLL exporting
00046 
00047 #ifdef GL_FRAGMENT_SHADER_ATI
00048 #define GLIFT_ATI
00049 #endif
00050 
00051 #ifdef _DEBUG
00052 #pragma warning(disable : 4786)
00053 #endif
00054 #else
00055 #define _export_
00056 #endif
00057 
00058 } /// End of namespace glift
00059 
00060 #endif

Send questions, comments, and bug reports to:
jmk