INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
glfragmentshader.h00001 /* 00002 * Orca-Robotics Project: Components for robotics 00003 * http://orca-robotics.sf.net/ 00004 * Copyright (c) 2007-2009 Tom Burdick <thomas.burdick@gmail.com> 00005 * 00006 * This copy of Orca is licensed to you under the terms described in 00007 * the LICENSE file included in this distribution. 00008 * 00009 */ 00010 00011 #ifndef HYDRO_GLU_GLFRAGMENTSHADER_H 00012 #define HYDRO_GLU_GLFRAGMENTSHADER_H 00013 00014 #include "glshader.h" 00015 00016 #include <IceUtil/Shared.h> 00017 #include <IceUtil/Handle.h> 00018 00019 namespace hydroglu 00020 { 00021 00022 class GLFragmentShader; 00023 typedef IceUtil::Handle<GLFragmentShader> GLFragmentShaderPtr; 00024 00025 class GLFragmentShader : public GLShader, public virtual IceUtil::Shared 00026 { 00027 public: 00028 static GLFragmentShaderPtr fromString(std::string source, std::string name); 00029 static GLFragmentShaderPtr fromFile(std::string filename, std::string name); 00030 virtual ~GLFragmentShader(); 00031 00032 protected: 00033 GLFragmentShader(std::string source, std::string name); 00034 }; 00035 00036 } 00037 00038 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)