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

Public Member Functions | |
| Texture2DGL (TextureGL::WrapMode wrapS=TextureGL::REPEAT, TextureGL::WrapMode wrapT=TextureGL::REPEAT, TextureGL::FilterMode minFilter=TextureGL::TRILINEAR, TextureGL::FilterMode magFilter=TextureGL::LINEAR, GLfloat anisotropic=1.0, const Matrix &matrix=Matrix(), const Color &borderColor=Color(0.0f, 0.0f, 0.0f, 0.0f), GLenum internalFormat=GL_ZERO) | |
| bool | operator== (const Texture2DGL &other) const |
| virtual void | setWrap (TextureGL::WrapMode wrapST) |
| virtual void | setWrapS (TextureGL::WrapMode wrapS) |
| virtual void | setWrapT (TextureGL::WrapMode wrapT) |
| virtual TextureGL::WrapMode | getWrapS () const |
| virtual TextureGL::WrapMode | getWrapT () const |
| VRS_TYPEINFO (Texture2DGL, TextureGL) | |
| VRS_SERIALIZABLE (Texture2DGL) | |
| VRS::Texture2DGL::Texture2DGL | ( | TextureGL::WrapMode | wrapS = TextureGL::REPEAT, |
|
| TextureGL::WrapMode | wrapT = TextureGL::REPEAT, |
|||
| TextureGL::FilterMode | minFilter = TextureGL::TRILINEAR, |
|||
| TextureGL::FilterMode | magFilter = TextureGL::LINEAR, |
|||
| GLfloat | anisotropic = 1.0, |
|||
| const Matrix & | matrix = Matrix(), |
|||
| const Color & | borderColor = Color(0.0f, 0.0f, 0.0f, 0.0f), |
|||
| GLenum | internalFormat = GL_ZERO | |||
| ) |
2D 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.
| bool VRS::Texture2DGL::operator== | ( | const Texture2DGL & | other | ) | const |
| virtual void VRS::Texture2DGL::setWrap | ( | TextureGL::WrapMode | wrapST | ) | [virtual] |
| virtual void VRS::Texture2DGL::setWrapS | ( | TextureGL::WrapMode | wrapS | ) | [virtual] |
| virtual void VRS::Texture2DGL::setWrapT | ( | TextureGL::WrapMode | wrapT | ) | [virtual] |
| virtual TextureGL::WrapMode VRS::Texture2DGL::getWrapS | ( | ) | const [virtual] |
| virtual TextureGL::WrapMode VRS::Texture2DGL::getWrapT | ( | ) | const [virtual] |
S and T are the texture-coordinates. Wrapping means that the texture repeats itself outside the interval [0:1].
| VRS::Texture2DGL::VRS_TYPEINFO | ( | Texture2DGL | , | |
| TextureGL | ||||
| ) |
| VRS::Texture2DGL::VRS_SERIALIZABLE | ( | Texture2DGL | ) |