#include <texturecube.h>
Public Types | |
typedef Texture | BaseType |
typedef TextureCube | 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 size, 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) |
GLsizei | size (void) const |
virtual Type | type (void) const |
GLsizei | width (void) const |
Protected Member Functions | |
bool | create (const TextureCubeArguments &args) |
virtual void | doDestroy (void) |
virtual bool | doIsValid (void) const |
TextureCube (Context *ctx) | |
Protected Attributes | |
GLsizei | m_size |
Friends | |
class | Context |
Definition at line 38 of file texturecube.h.
typedef Texture glw::TextureCube::BaseType |
Reimplemented from glw::Texture.
Definition at line 44 of file texturecube.h.
Reimplemented from glw::Texture.
Definition at line 45 of file texturecube.h.
glw::TextureCube::TextureCube | ( | Context * | ctx | ) | [inline, protected] |
Definition at line 119 of file texturecube.h.
bool glw::TextureCube::create | ( | const TextureCubeArguments & | args | ) | [inline, protected] |
Definition at line 126 of file texturecube.h.
virtual void glw::TextureCube::doDestroy | ( | void | ) | [inline, protected, virtual] |
Reimplemented from glw::Texture.
Definition at line 144 of file texturecube.h.
virtual bool glw::TextureCube::doIsValid | ( | void | ) | const [inline, protected, virtual] |
Implements glw::Object.
Definition at line 151 of file texturecube.h.
void glw::TextureCube::generateMipmap | ( | GLenum | target, |
GLint | unit | ||
) | [inline] |
Definition at line 98 of file texturecube.h.
void glw::TextureCube::getImage | ( | GLenum | target, |
GLint | unit, | ||
GLint | level, | ||
GLenum | dataFormat, | ||
GLenum | dataType, | ||
void * | data | ||
) | [inline] |
Definition at line 84 of file texturecube.h.
GLsizei glw::TextureCube::height | ( | void | ) | const [inline] |
Definition at line 72 of file texturecube.h.
virtual int glw::TextureCube::imageDimensions | ( | void | ) | const [inline, virtual] |
Implements glw::Renderable.
Definition at line 52 of file texturecube.h.
virtual bool glw::TextureCube::isArray | ( | void | ) | const [inline, virtual] |
Implements glw::Renderable.
Definition at line 57 of file texturecube.h.
void glw::TextureCube::setImage | ( | GLenum | target, |
GLint | unit, | ||
GLint | level, | ||
GLsizei | size, | ||
GLenum | dataFormat, | ||
GLenum | dataType, | ||
const void * | data | ||
) | [inline] |
Definition at line 77 of file texturecube.h.
void glw::TextureCube::setSampleMode | ( | GLenum | target, |
GLint | unit, | ||
const TextureSampleMode & | sampler | ||
) | [inline] |
Definition at line 105 of file texturecube.h.
void glw::TextureCube::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 91 of file texturecube.h.
GLsizei glw::TextureCube::size | ( | void | ) | const [inline] |
Definition at line 62 of file texturecube.h.
virtual Type glw::TextureCube::type | ( | void | ) | const [inline, virtual] |
Implements glw::Object.
Definition at line 47 of file texturecube.h.
GLsizei glw::TextureCube::width | ( | void | ) | const [inline] |
Definition at line 67 of file texturecube.h.
friend class Context [friend] |
Reimplemented from glw::Texture.
Definition at line 40 of file texturecube.h.
GLsizei glw::TextureCube::m_size [protected] |
Definition at line 117 of file texturecube.h.