xoreos  0.0.5
Public Member Functions | Protected Attributes | List of all members
Graphics::Texture Class Reference

A texture. More...

#include <texture.h>

Inheritance diagram for Graphics::Texture:
Inheritance graph
[legend]
Collaboration diagram for Graphics::Texture:
Collaboration graph
[legend]

Public Member Functions

 Texture ()
 
 ~Texture ()
 
TextureID getID () const
 
- Public Member Functions inherited from Graphics::GLContainer
 GLContainer ()
 
 ~GLContainer ()
 
void rebuild ()
 
void destroy ()
 
- Public Member Functions inherited from Graphics::Queueable
 Queueable ()
 
virtual ~Queueable ()
 
virtual bool operator< (const Queueable &q) const
 

Protected Attributes

TextureID _textureID
 OpenGL texture ID. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Graphics::GLContainer
virtual void doRebuild ()=0
 
virtual void doDestroy ()=0
 
- Protected Member Functions inherited from Graphics::Queueable
bool isInQueue (QueueType queue) const
 
void addToQueue (QueueType queue)
 
void removeFromQueue (QueueType queue)
 
void lockQueue (QueueType queue)
 
void unlockQueue (QueueType queue)
 
void sortQueue (QueueType queue)
 

Detailed Description

A texture.

Definition at line 34 of file texture.h.

Constructor & Destructor Documentation

◆ Texture()

Graphics::Texture::Texture ( )

Definition at line 29 of file texture.cpp.

◆ ~Texture()

Graphics::Texture::~Texture ( )

Definition at line 32 of file texture.cpp.

Member Function Documentation

◆ getID()

TextureID Graphics::Texture::getID ( ) const

Definition at line 35 of file texture.cpp.

References _textureID.

Member Data Documentation

◆ _textureID

TextureID Graphics::Texture::_textureID
protected

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