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

Public Types | |
| enum | Side { Right = 0, Left, Top, Bottom, Front, Back } |
Public Member Functions | |
| VRS_SERIALIZABLE_CLASS_ENUM (Side) | |
| CubeMapTextureGL (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 void | setWrap (TextureGL::WrapMode wrapMode) |
| virtual TextureGL::WrapMode | getWrap () const |
| virtual void | setObjectRelativeReflectionMap (bool yesno) |
| virtual bool | isObjectRelativeReflectionMap () const |
| VRS_TYPEINFO (CubeMapTextureGL, TextureGL) | |
| VRS_SERIALIZABLE (CubeMapTextureGL) | |
| VRS::CubeMapTextureGL::CubeMapTextureGL | ( | 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::CubeMapTextureGL::VRS_SERIALIZABLE_CLASS_ENUM | ( | Side | ) |
| virtual void VRS::CubeMapTextureGL::setWrap | ( | TextureGL::WrapMode | wrapMode | ) | [virtual] |
| virtual TextureGL::WrapMode VRS::CubeMapTextureGL::getWrap | ( | ) | const [virtual] |
| virtual void VRS::CubeMapTextureGL::setObjectRelativeReflectionMap | ( | bool | yesno | ) | [virtual] |
| virtual bool VRS::CubeMapTextureGL::isObjectRelativeReflectionMap | ( | ) | const [virtual] |
| VRS::CubeMapTextureGL::VRS_TYPEINFO | ( | CubeMapTextureGL | , | |
| TextureGL | ||||
| ) |
| VRS::CubeMapTextureGL::VRS_SERIALIZABLE | ( | CubeMapTextureGL | ) |