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

Public Member Functions | |
| VRS_TYPEINFO (MipmapTexture2DGL, Texture2DGL) | |
| VRS_SERIALIZABLE (MipmapTexture2DGL) | |
| MipmapTexture2DGL (SO< Iterator< SO< Image > > > images, TextureGL::WrapMode wrapS=TextureGL::REPEAT, TextureGL::WrapMode wrapT=TextureGL::REPEAT, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, unsigned int baseLevel=0, bool unrefAfterBinding=false, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), const Color &borderColor=Color::black, GLenum internalFormat=GL_ZERO) | |
| bool | operator== (const MipmapTexture2DGL &other) const |
| virtual void | setImages (SO< Iterator< SO< Image > > > newImages, unsigned int baseLevel=0, GLenum internalFormat=GL_ZERO) |
| virtual void | setImage (unsigned int level, SO< Image > newImage) |
| virtual SO< Iterator< SO < Image > > > | getImages () const |
| virtual SO< Image > | getImage (unsigned int level) const |
| virtual SO< Iterator< SO < ImageProxy > > > | getImageProxies () const |
| virtual SO< ImageProxy > | getImageProxy (unsigned int level) const |
| virtual int | getLevels () const |
| virtual unsigned int | getBaseLevel () const |
| virtual unsigned int | getMinMipmapLevel () const |
| virtual unsigned int | getMaxMipmapLevel () const |
| virtual GLenum | getInternalFormat () const |
| virtual Matrix | adjustMatrix () const |
| bool | unrefAfterBinding () const |
Protected Member Functions | |
| MipmapTexture2DGL () | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
| SO< Iterator< SO< Image > > > | ensureImageFormatConsistence (const SO< Iterator< SO< Image > > > &images) |
Classes | |
| class | ImageProxy |
| VRS::MipmapTexture2DGL::MipmapTexture2DGL | ( | SO< Iterator< SO< Image > > > | images, | |
| TextureGL::WrapMode | wrapS = TextureGL::REPEAT, |
|||
| TextureGL::WrapMode | wrapT = TextureGL::REPEAT, |
|||
| TextureGL::FilterMode | minFilter = TextureGL::TRILINEAR, |
|||
| TextureGL::FilterMode | magFilter = TextureGL::LINEAR, |
|||
| unsigned int | baseLevel = 0, |
|||
| bool | unrefAfterBinding = false, |
|||
| GLfloat | anisotropic = 1.0, |
|||
| const Matrix & | matrix = Matrix(), |
|||
| const Color & | borderColor = Color::black, |
|||
| GLenum | internalFormat = GL_ZERO | |||
| ) |
OpenGL mipmap 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::MipmapTexture2DGL::MipmapTexture2DGL | ( | ) | [protected] |
| VRS::MipmapTexture2DGL::VRS_TYPEINFO | ( | MipmapTexture2DGL | , | |
| Texture2DGL | ||||
| ) |
| VRS::MipmapTexture2DGL::VRS_SERIALIZABLE | ( | MipmapTexture2DGL | ) |
| bool VRS::MipmapTexture2DGL::operator== | ( | const MipmapTexture2DGL & | other | ) | const |
| virtual void VRS::MipmapTexture2DGL::setImages | ( | SO< Iterator< SO< Image > > > | newImages, | |
| unsigned int | baseLevel = 0, |
|||
| GLenum | internalFormat = GL_ZERO | |||
| ) | [virtual] |
| virtual void VRS::MipmapTexture2DGL::setImage | ( | unsigned int | level, | |
| SO< Image > | newImage | |||
| ) | [virtual] |
| virtual SO<Iterator<SO<ImageProxy> > > VRS::MipmapTexture2DGL::getImageProxies | ( | ) | const [virtual] |
| virtual SO<ImageProxy> VRS::MipmapTexture2DGL::getImageProxy | ( | unsigned int | level | ) | const [virtual] |
| virtual int VRS::MipmapTexture2DGL::getLevels | ( | ) | const [virtual] |
Get/set the image.
| virtual unsigned int VRS::MipmapTexture2DGL::getBaseLevel | ( | ) | const [virtual] |
| virtual unsigned int VRS::MipmapTexture2DGL::getMinMipmapLevel | ( | ) | const [virtual] |
Reimplemented from VRS::TextureGL.
| virtual unsigned int VRS::MipmapTexture2DGL::getMaxMipmapLevel | ( | ) | const [virtual] |
Get/set the mimimum/maximum mipmap level that should be addressed during rendering.
Reimplemented from VRS::TextureGL.
| virtual GLenum VRS::MipmapTexture2DGL::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.
| virtual Matrix VRS::MipmapTexture2DGL::adjustMatrix | ( | ) | const [virtual] |
| bool VRS::MipmapTexture2DGL::unrefAfterBinding | ( | ) | const |
| virtual void VRS::MipmapTexture2DGL::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.
| SO<Iterator<SO<Image> > > VRS::MipmapTexture2DGL::ensureImageFormatConsistence | ( | const SO< Iterator< SO< Image > > > & | images | ) | [protected] |