xoreos  0.0.5
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
Graphics::Aurora::TextureHandle Class Reference

A handle to a texture. More...

#include <texturehandle.h>

Collaboration diagram for Graphics::Aurora::TextureHandle:
Collaboration graph
[legend]

Public Member Functions

 TextureHandle ()
 
 TextureHandle (const TextureHandle &right)
 
 ~TextureHandle ()
 
TextureHandleoperator= (const TextureHandle &right)
 
bool empty () const
 
const Common::UStringgetName () const
 
void clear ()
 
TexturegetTexture () const
 

Private Member Functions

 TextureHandle (TextureMap::iterator &i)
 

Private Attributes

bool _empty
 
TextureMap::iterator _it
 

Friends

class TextureManager
 

Detailed Description

A handle to a texture.

Definition at line 51 of file texturehandle.h.

Constructor & Destructor Documentation

◆ TextureHandle() [1/3]

Graphics::Aurora::TextureHandle::TextureHandle ( )

Definition at line 43 of file texturehandle.cpp.

◆ TextureHandle() [2/3]

Graphics::Aurora::TextureHandle::TextureHandle ( const TextureHandle right)

Definition at line 50 of file texturehandle.cpp.

◆ ~TextureHandle()

Graphics::Aurora::TextureHandle::~TextureHandle ( )

Definition at line 54 of file texturehandle.cpp.

References clear().

Here is the call graph for this function:

◆ TextureHandle() [3/3]

Graphics::Aurora::TextureHandle::TextureHandle ( TextureMap::iterator &  i)
private

Definition at line 46 of file texturehandle.cpp.

References _it.

Member Function Documentation

◆ clear()

void Graphics::Aurora::TextureHandle::clear ( )

◆ empty()

bool Graphics::Aurora::TextureHandle::empty ( ) const

◆ getName()

const Common::UString & Graphics::Aurora::TextureHandle::getName ( ) const

◆ getTexture()

Texture & Graphics::Aurora::TextureHandle::getTexture ( ) const

◆ operator=()

TextureHandle & Graphics::Aurora::TextureHandle::operator= ( const TextureHandle right)

Definition at line 58 of file texturehandle.cpp.

References clear(), and TextureMan.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ TextureManager

friend class TextureManager
friend

Definition at line 72 of file texturehandle.h.

Member Data Documentation

◆ _empty

bool Graphics::Aurora::TextureHandle::_empty
private

◆ _it

TextureMap::iterator Graphics::Aurora::TextureHandle::_it
private

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