#include <texture2d.h>

Public Types | |
| typedef Texture | BaseType |
| typedef Texture2D | ThisType |
Public Member Functions | |
| void | generateMipmap (GLenum target, GLint unit) |
| void | getImage (GLenum target, GLint unit, GLint level, GLenum dataFormat, GLenum dataType, void *data) |
| GLsizei | height (void) const |
| virtual int | imageDimensions (void) const |
| virtual bool | isArray (void) const |
| void | setImage (GLenum target, GLint unit, GLint level, GLsizei width, GLsizei height, GLenum dataFormat, GLenum dataType, const void *data) |
| void | setSampleMode (GLenum target, GLint unit, const TextureSampleMode &sampler) |
| void | setSubImage (GLenum target, GLint unit, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum dataFormat, GLenum dataType, const void *data) |
| virtual Type | type (void) const |
| GLsizei | width (void) const |
Protected Member Functions | |
| bool | create (const Texture2DArguments &args) |
| virtual void | doDestroy (void) |
| virtual bool | doIsValid (void) const |
| Texture2D (Context *ctx) | |
Protected Attributes | |
| GLsizei | m_height |
| GLsizei | m_width |
Friends | |
| class | Context |
Definition at line 40 of file texture2d.h.
| typedef Texture glw::Texture2D::BaseType |
Reimplemented from glw::Texture.
Definition at line 46 of file texture2d.h.
| typedef Texture2D glw::Texture2D::ThisType |
Reimplemented from glw::Texture.
Definition at line 47 of file texture2d.h.
| glw::Texture2D::Texture2D | ( | Context * | ctx | ) | [inline, protected] |
Definition at line 122 of file texture2d.h.
| bool glw::Texture2D::create | ( | const Texture2DArguments & | args | ) | [inline, protected] |
Definition at line 130 of file texture2d.h.
| virtual void glw::Texture2D::doDestroy | ( | void | ) | [inline, protected, virtual] |
Reimplemented from glw::Texture.
Definition at line 146 of file texture2d.h.
| virtual bool glw::Texture2D::doIsValid | ( | void | ) | const [inline, protected, virtual] |
Implements glw::Object.
Definition at line 154 of file texture2d.h.
| void glw::Texture2D::generateMipmap | ( | GLenum | target, |
| GLint | unit | ||
| ) | [inline] |
Definition at line 100 of file texture2d.h.
| void glw::Texture2D::getImage | ( | GLenum | target, |
| GLint | unit, | ||
| GLint | level, | ||
| GLenum | dataFormat, | ||
| GLenum | dataType, | ||
| void * | data | ||
| ) | [inline] |
Definition at line 86 of file texture2d.h.
| GLsizei glw::Texture2D::height | ( | void | ) | const [inline] |
Definition at line 69 of file texture2d.h.
| virtual int glw::Texture2D::imageDimensions | ( | void | ) | const [inline, virtual] |
Implements glw::Renderable.
Definition at line 54 of file texture2d.h.
| virtual bool glw::Texture2D::isArray | ( | void | ) | const [inline, virtual] |
Implements glw::Renderable.
Definition at line 59 of file texture2d.h.
| void glw::Texture2D::setImage | ( | GLenum | target, |
| GLint | unit, | ||
| GLint | level, | ||
| GLsizei | width, | ||
| GLsizei | height, | ||
| GLenum | dataFormat, | ||
| GLenum | dataType, | ||
| const void * | data | ||
| ) | [inline] |
Definition at line 74 of file texture2d.h.
| void glw::Texture2D::setSampleMode | ( | GLenum | target, |
| GLint | unit, | ||
| const TextureSampleMode & | sampler | ||
| ) | [inline] |
Definition at line 107 of file texture2d.h.
| void glw::Texture2D::setSubImage | ( | GLenum | target, |
| GLint | unit, | ||
| GLint | level, | ||
| GLint | xoffset, | ||
| GLint | yoffset, | ||
| GLsizei | width, | ||
| GLsizei | height, | ||
| GLenum | dataFormat, | ||
| GLenum | dataType, | ||
| const void * | data | ||
| ) | [inline] |
Definition at line 93 of file texture2d.h.
| virtual Type glw::Texture2D::type | ( | void | ) | const [inline, virtual] |
Implements glw::Object.
Definition at line 49 of file texture2d.h.
| GLsizei glw::Texture2D::width | ( | void | ) | const [inline] |
Definition at line 64 of file texture2d.h.
friend class Context [friend] |
Reimplemented from glw::Texture.
Definition at line 42 of file texture2d.h.
GLsizei glw::Texture2D::m_height [protected] |
Definition at line 120 of file texture2d.h.
GLsizei glw::Texture2D::m_width [protected] |
Definition at line 119 of file texture2d.h.