| VRS - The Virtual Rendering System |
| version 3.3 |
00001 /********************************************************************** 00002 VRS - The Virtual Rendering System 00003 Copyright (C) 2001 Computer Graphics Systems Group at the 00004 Hasso-Plattner-Institute, Potsdam, Germany. 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 This library is distributed in the hope that it will be useful, but 00010 WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 00012 See the GNU Lesser General Public License for more details. 00013 You should have received a copy of the GNU Lesser+ General Public 00014 License along with this library; if not, write to the FreeSoftware 00015 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA, 02111-1307, USA. 00016 **********************************************************************/ 00017 #ifndef VRS_OPENGL_TEXTURE_TEXTUREARRAY1DGL_H 00018 #define VRS_OPENGL_TEXTURE_TEXTUREARRAY1DGL_H 00019 00020 #include <vrs/opengl/texturegl.h> 00021 00022 namespace VRS 00023 { 00025 class VRS_CORE_API TextureArray1DGL : public TextureGL 00026 { 00027 public: 00028 00029 TextureArray1DGL(TextureGL::WrapMode wrap = TextureGL::REPEAT, 00030 TextureGL::FilterMode minFilter = TextureGL::TRILINEAR, 00031 TextureGL::FilterMode magFilter = TextureGL::LINEAR, 00032 GLfloat anisotropic=1.0, 00033 const Matrix& matrix = Matrix(), 00034 const Color& borderColor = Color::black, 00035 GLenum internalFormat = GL_ZERO); 00046 bool operator==(const TextureArray1DGL& other) const; 00047 00048 virtual void setWrap(TextureGL::WrapMode wrap); 00049 virtual TextureGL::WrapMode getWrap() const; 00050 00051 VRS_TYPEINFO(TextureArray1DGL, TextureGL); 00052 VRS_SERIALIZABLE(TextureArray1DGL); 00053 00054 private: 00055 00056 WrapMode wrap_; 00057 00058 };//endclass TextureArray1DGL 00059 00060 };//endnamespace VRS 00061 00062 #endif // VRS_OPENGL_TEXTURE_TEXTUREARRAY1DGL_H