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

Public Member Functions | |
| ImageCubeMapTextureGL (Image *right, Image *left, Image *top, Image *bottom, Image *front, Image *back, TextureGL::WrapMode wrap=TextureGL::CLAMP_TO_EDGE, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), GLenum internalFormat=GL_ZERO, bool isObjectRelativeReflectionMap=false) | |
| ImageCubeMapTextureGL (Iterator< SO< Image > > *images, TextureGL::WrapMode wrap=TextureGL::CLAMP_TO_EDGE, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), GLenum internalFormat=GL_ZERO, bool isObjectRelativeReflectionMap=false) | |
| OpenGL cube map texture. | |
| virtual Image * | getImage (CubeMapTextureGL::Side side) const |
| virtual void | setImage (CubeMapTextureGL::Side side, Image *image) |
| virtual Iterator< SO< Image > > * | getImages () const |
| virtual void | setImages (Iterator< SO< Image > > *images, GLenum internalFormat=GL_ZERO) |
| virtual GLenum | getInternalFormat () const |
| VRS_TYPEINFO (ImageCubeMapTextureGL, CubeMapTextureGL) | |
| VRS_SERIALIZABLE (ImageCubeMapTextureGL) | |
Protected Member Functions | |
| ImageCubeMapTextureGL () | |
| virtual void | acceptChildren (std::vector< Visitable * > &appendChildrenHere) const |
| VRS::ImageCubeMapTextureGL::ImageCubeMapTextureGL | ( | Image * | right, | |
| Image * | left, | |||
| Image * | top, | |||
| Image * | bottom, | |||
| Image * | front, | |||
| Image * | back, | |||
| TextureGL::WrapMode | wrap = TextureGL::CLAMP_TO_EDGE, |
|||
| TextureGL::FilterMode | minFilter = TextureGL::TRILINEAR, |
|||
| TextureGL::FilterMode | magFilter = TextureGL::LINEAR, |
|||
| GLfloat | anisotropic = 1.0, |
|||
| const Matrix & | matrix = Matrix(), |
|||
| GLenum | internalFormat = GL_ZERO, |
|||
| bool | isObjectRelativeReflectionMap = false | |||
| ) |
| VRS::ImageCubeMapTextureGL::ImageCubeMapTextureGL | ( | Iterator< SO< Image > > * | images, | |
| TextureGL::WrapMode | wrap = TextureGL::CLAMP_TO_EDGE, |
|||
| TextureGL::FilterMode | minFilter = TextureGL::TRILINEAR, |
|||
| TextureGL::FilterMode | magFilter = TextureGL::LINEAR, |
|||
| GLfloat | anisotropic = 1.0, |
|||
| const Matrix & | matrix = Matrix(), |
|||
| GLenum | internalFormat = GL_ZERO, |
|||
| bool | isObjectRelativeReflectionMap = false | |||
| ) |
OpenGL cube map texture.
Use "isObjectRelativeReflectionMap = true" in case the cubemap is used as reflection or normal map, that is located in object space, i.e. the map is linked to the object and rotates with it. Otherwise, the such a map located in eye space, i.e. the reflection is rotated with the camera. Leave the flag at its default value if the cubemap is not used for reflection.
| VRS::ImageCubeMapTextureGL::ImageCubeMapTextureGL | ( | ) | [protected] |
| virtual Image* VRS::ImageCubeMapTextureGL::getImage | ( | CubeMapTextureGL::Side | side | ) | const [virtual] |
| virtual void VRS::ImageCubeMapTextureGL::setImage | ( | CubeMapTextureGL::Side | side, | |
| Image * | image | |||
| ) | [virtual] |
| virtual void VRS::ImageCubeMapTextureGL::setImages | ( | Iterator< SO< Image > > * | images, | |
| GLenum | internalFormat = GL_ZERO | |||
| ) | [virtual] |
| virtual GLenum VRS::ImageCubeMapTextureGL::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.
| VRS::ImageCubeMapTextureGL::VRS_TYPEINFO | ( | ImageCubeMapTextureGL | , | |
| CubeMapTextureGL | ||||
| ) |
| VRS::ImageCubeMapTextureGL::VRS_SERIALIZABLE | ( | ImageCubeMapTextureGL | ) |
| virtual void VRS::ImageCubeMapTextureGL::acceptChildren | ( | std::vector< Visitable * > & | appendChildrenHere | ) | const [protected, virtual] |
Reimplemented from VRS::Visitable.