| VRS - The Virtual Rendering System |
| version 3.3 |
00001 /****************************************************************************** 00002 * VRS - The Virtual Rendering System 00003 * Copyright (C) 2002 Computer Graphics Systems Group at the 00004 * Hasso-Plattner-Institute (HPI), Potsdam, Germany. 00005 * 00006 * This library is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU Lesser General Public License as published by 00008 * the Free Software Foundation; either version 2.1 of the License, or (at 00009 * your option) any later version. This library is distributed in the hope 00010 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied 00011 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU Lesser General Public License for more details. You should have received 00013 * a copy of the GNU Lesser+ General Public License along with this library; if 00014 * not, write to the FreeSoftware Foundation, Inc., 59 Temple Place, Suite 330, 00015 * Boston, MA, 02111-1307, USA. 00016 ******************************************************************************/ 00017 00018 // $Id: glslvertexshaderreader.h 6101 2007-10-25 08:24:46Z Matthias_Trapp $ 00019 // 00020 // $Log$ 00021 // Revision 1.2 2004/11/03 11:56:56 saar 00022 // Class comment changed (Doxygen style) 00023 // 00024 // Revision 1.1 2004/10/12 08:49:15 nienhaus 00025 // Reader for OpenGL Shading Language scripts 00026 // 00027 00028 #ifndef VRS_IO_GLSLVERTEXSHADERREADER_H_ 00029 #define VRS_IO_GLSLVERTEXSHADERREADER_H_ 00030 00031 #include <vrs/io/objectreader.h> 00032 00033 namespace VRS { 00034 00036 class VRS_CORE_API GLSLVertexShaderReader : public ObjectReader { 00037 00038 public: 00039 virtual SO<SharedObj> read(DataResource* resource, const ID& targetType) const; 00041 00042 virtual const char* objectFormatName() const { return "GLSL Vertex Shader"; } 00043 virtual const char* objectFileSuffix() const { return "vert vs v"; } 00045 00046 virtual bool canProduce(const ID& targetType) const; 00047 00048 VRS_TYPEINFO(GLSLVertexShaderReader, ObjectReader); 00049 }; 00050 00051 } // namespace VRS 00052 00053 #endif // VRS_IO_GLSLSHADEROBJECTREADER_H_ 00054