ShVariableType.hpp

Go to the documentation of this file.
00001 // Sh: A GPU metaprogramming language.
00002 //
00003 // Copyright 2003-2005 Serious Hack Inc.
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., 51 Franklin Street, Fifth Floor, Boston, 
00018 // MA  02110-1301, USA
00020 #ifndef SHVARIABLETYPE_HPP
00021 #define SHVARIABLETYPE_HPP
00022 
00023 #include "ShDllExport.hpp"
00024 
00041 namespace SH {
00042 
00045 enum ShBindingType {
00046   SH_INPUT, 
00047   SH_OUTPUT, 
00048   SH_INOUT,
00049   SH_TEMP,
00050   SH_CONST, 
00051   SH_TEXTURE, 
00052   SH_STREAM, 
00053   SH_PALETTE, 
00054 
00055   SH_BINDINGTYPE_END
00056 };
00057 
00058 SH_DLLEXPORT extern const char* bindingTypeName[];
00059 
00062 enum ShSemanticType {
00063   SH_ATTRIB,
00064   SH_POINT,
00065   SH_VECTOR,
00066   SH_NORMAL,
00067   SH_COLOR,
00068   SH_TEXCOORD,
00069   SH_POSITION,
00070   SH_PLANE,
00071   
00072   SH_SEMANTICTYPE_END
00073 };
00074 
00075 SH_DLLEXPORT extern const char* semanticTypeName[];
00076 
00077 
00078 }
00079 #endif

Generated on Wed Nov 9 15:29:42 2005 for Sh by  doxygen 1.4.5