ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <texture.h>

Inheritance diagram for OpenGL::Texture:

List of all members.

Public Member Functions

 Texture (const Graphics::Surface &srf)
 Texture (uint width, uint height)
 Texture (GLuint texture_name, uint width, uint height, uint texture_width, uint texture_height)
virtual ~Texture ()
GLuint getTextureName () const
uint getWidth () const
uint getHeight () const
uint getTexWidth () const
uint getTexHeight () const

Static Public Member Functions

static const Graphics::PixelFormat getRGBAPixelFormat ()
static const Graphics::PixelFormat get565PixelFormat ()

Protected Attributes

bool _managedTexture
GLuint _texture
uint _width
uint _height
uint _texWidth
uint _texHeight

Detailed Description

Definition at line 32 of file texture.h.


Constructor & Destructor Documentation

OpenGL::Texture::Texture ( const Graphics::Surface srf  ) 
OpenGL::Texture::Texture ( uint  width,
uint  height 
)
OpenGL::Texture::Texture ( GLuint  texture_name,
uint  width,
uint  height,
uint  texture_width,
uint  texture_height 
)
virtual OpenGL::Texture::~Texture (  )  [virtual]

Member Function Documentation

static const Graphics::PixelFormat OpenGL::Texture::get565PixelFormat (  )  [static]
uint OpenGL::Texture::getHeight (  )  const [inline]

Definition at line 41 of file texture.h.

static const Graphics::PixelFormat OpenGL::Texture::getRGBAPixelFormat (  )  [static]
uint OpenGL::Texture::getTexHeight (  )  const [inline]

Definition at line 43 of file texture.h.

GLuint OpenGL::Texture::getTextureName (  )  const [inline]

Definition at line 39 of file texture.h.

uint OpenGL::Texture::getTexWidth (  )  const [inline]

Definition at line 42 of file texture.h.

uint OpenGL::Texture::getWidth (  )  const [inline]

Definition at line 40 of file texture.h.


Member Data Documentation

Definition at line 51 of file texture.h.

Definition at line 49 of file texture.h.

Definition at line 52 of file texture.h.

GLuint OpenGL::Texture::_texture [protected]

Definition at line 50 of file texture.h.

Definition at line 52 of file texture.h.

Definition at line 51 of file texture.h.


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


Generated on Sat Sep 14 2019 05:04:51 for ResidualVM by doxygen 1.7.1
curved edge   curved edge