| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/opengl/imagetexturearray1dgl.h>

Public Member Functions | |
| ImageTextureArray1DGL (SO< Iterator< SO< Image > > > images, TextureGL::WrapMode wrap=TextureGL::REPEAT, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), const Color &borderColor=Color::black, GLenum internalFormat=GL_ZERO, bool unrefImageAfterBindung=false) | |
| bool | operator== (const ImageTextureArray1DGL &other) const |
| virtual void | setImages (Iterator< SO< Image > > *newImages, GLenum internalFormat) |
| virtual void | setImage (int idx, Image *newImage) |
| virtual SO< Iterator< SO < Image > > > | getImages () const |
| virtual Image * | getImage (int idx) const |
| virtual int | getImageCount () const |
| virtual TextureGL::WrapMode | getWrap () const |
| virtual TextureGL::FilterMode | getMinFilter () const |
| virtual GLenum | getInternalFormat () const |
| void | unrefImageAfterBinding () const |
| Returns whether the texture shall release the vrs image after it has been transferred to the grahics adapter. | |
| VRS_TYPEINFO (ImageTextureArray1DGL, TextureArray1DGL) | |
| VRS_SERIALIZABLE (ImageTextureArray1DGL) | |
Protected Member Functions | |
| ImageTextureArray1DGL () | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
Friends | |
| class | ImageTexture1DPainterGL |
| VRS::ImageTextureArray1DGL::ImageTextureArray1DGL | ( | SO< Iterator< SO< Image > > > | images, | |
| TextureGL::WrapMode | wrap = TextureGL::REPEAT, |
|||
| TextureGL::FilterMode | minFilter = TextureGL::TRILINEAR, |
|||
| TextureGL::FilterMode | magFilter = TextureGL::LINEAR, |
|||
| GLfloat | anisotropic = 1.0, |
|||
| const Matrix & | matrix = Matrix(), |
|||
| const Color & | borderColor = Color::black, |
|||
| GLenum | internalFormat = GL_ZERO, |
|||
| bool | unrefImageAfterBindung = false | |||
| ) |
OpenGL texture. By default (if GL_ZERO is specified for 'internalFormat'), the internal texture format is determined by the number of layers: 1: GL_LUMINANCE 2: GL_LUMINANCE_ALPHA 3: GL_RGB 4: GL_RGBA Or GL_RGB for a PaletteImage.
| VRS::ImageTextureArray1DGL::ImageTextureArray1DGL | ( | ) | [protected] |
| bool VRS::ImageTextureArray1DGL::operator== | ( | const ImageTextureArray1DGL & | other | ) | const |
| virtual void VRS::ImageTextureArray1DGL::setImages | ( | Iterator< SO< Image > > * | newImages, | |
| GLenum | internalFormat | |||
| ) | [virtual] |
| virtual void VRS::ImageTextureArray1DGL::setImage | ( | int | idx, | |
| Image * | newImage | |||
| ) | [virtual] |
| virtual Image* VRS::ImageTextureArray1DGL::getImage | ( | int | idx | ) | const [virtual] |
| virtual int VRS::ImageTextureArray1DGL::getImageCount | ( | ) | const [virtual] |
Get/set the image.
| virtual TextureGL::WrapMode VRS::ImageTextureArray1DGL::getWrap | ( | ) | const [virtual] |
Reimplemented from VRS::TextureArray1DGL.
| virtual TextureGL::FilterMode VRS::ImageTextureArray1DGL::getMinFilter | ( | ) | const [virtual] |
Reimplemented from VRS::TextureGL.
| virtual GLenum VRS::ImageTextureArray1DGL::getInternalFormat | ( | ) | const [virtual] |
Sets/gets the internal texture format used by OpenGL for the texture. The internal texture format determines the texture application formula used for each component of the texture. If GL_ZERO is specified the value described for the constructor is set.
Reimplemented from VRS::TextureGL.
| void VRS::ImageTextureArray1DGL::unrefImageAfterBinding | ( | ) | const |
Returns whether the texture shall release the vrs image after it has been transferred to the grahics adapter.
| VRS::ImageTextureArray1DGL::VRS_TYPEINFO | ( | ImageTextureArray1DGL | , | |
| TextureArray1DGL | ||||
| ) |
| VRS::ImageTextureArray1DGL::VRS_SERIALIZABLE | ( | ImageTextureArray1DGL | ) |
| virtual void VRS::ImageTextureArray1DGL::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.
friend class ImageTexture1DPainterGL [friend] |