Public Member Functions | Protected Member Functions

Texture2D Class Reference

#include <Texture.h>

Inheritance diagram for Texture2D:
Inheritance graph
Collaboration diagram for Texture2D:
Collaboration graph

List of all members.

Public Member Functions

 Texture2D (const string &filename, TextureFlags flags=kDefault)
 Texture2D (const Image *img, TextureFlags flags=kDefault)
virtual GLenum target () const

Protected Member Functions

 Texture2D ()
virtual void create (const Image *img, TextureFlags flags)

Detailed Description

Definition at line 124 of file Texture.h.

Constructor & Destructor Documentation

Texture2D::Texture2D ( const string &  filename,
TextureFlags  flags = kDefault 

Definition at line 162 of file Texture.cpp.

Texture2D::Texture2D ( const Image img,
TextureFlags  flags = kDefault 

Definition at line 182 of file Texture.cpp.

Texture2D::Texture2D (  )  [protected]

Definition at line 156 of file Texture.cpp.

Member Function Documentation

void Texture2D::create ( const Image img,
TextureFlags  flags 
) [protected, virtual]

Definition at line 205 of file Texture.cpp.

virtual GLenum Texture2D::target (  )  const [inline, virtual]

Implements Texture.

Definition at line 140 of file Texture.h.

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