Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
glw::Texture2D Class Reference

#include <texture2d.h>

Inheritance diagram for glw::Texture2D:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 40 of file texture2d.h.


Member Typedef Documentation

Reimplemented from glw::Texture.

Definition at line 46 of file texture2d.h.

Reimplemented from glw::Texture.

Definition at line 47 of file texture2d.h.


Constructor & Destructor Documentation

glw::Texture2D::Texture2D ( Context ctx) [inline, protected]

Definition at line 122 of file texture2d.h.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class Context [friend]

Reimplemented from glw::Texture.

Definition at line 42 of file texture2d.h.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


shape_reconstruction
Author(s): Roberto Martín-Martín
autogenerated on Sat Jun 8 2019 18:41:07