Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CTextureMap Class Reference

#include <TextureManager.h>

Public Member Functions

 CTextureMap ()
 
 CTextureMap (const std::string &textureName, int width, int height, int loops)
 
virtual ~CTextureMap ()
 
void Add (CBaseTexture *texture, int delay)
 
bool Release ()
 
const std::string & GetName () const
 
const CTextureArrayGetTexture ()
 
void Dump () const
 
uint32_t GetMemoryUsage () const
 
void Flush ()
 
bool IsEmpty () const
 
void SetHeight (int height)
 
void SetWidth (int height)
 

Protected Member Functions

void FreeTexture ()
 

Protected Attributes

CTextureArray m_texture
 
std::string m_textureName
 
unsigned int m_referenceCount
 
uint32_t m_memUsage
 

Constructor & Destructor Documentation

◆ CTextureMap() [1/2]

CTextureMap::CTextureMap ( )

◆ CTextureMap() [2/2]

CTextureMap::CTextureMap ( const std::string &  textureName,
int  width,
int  height,
int  loops 
)

◆ ~CTextureMap()

CTextureMap::~CTextureMap ( )
virtual

Member Function Documentation

◆ Add()

void CTextureMap::Add ( CBaseTexture texture,
int  delay 
)

◆ Dump()

void CTextureMap::Dump ( ) const

◆ Flush()

void CTextureMap::Flush ( )

◆ FreeTexture()

void CTextureMap::FreeTexture ( )
protected

◆ GetMemoryUsage()

unsigned int CTextureMap::GetMemoryUsage ( ) const

◆ GetName()

const std::string & CTextureMap::GetName ( ) const

◆ GetTexture()

const CTextureArray & CTextureMap::GetTexture ( )

◆ IsEmpty()

bool CTextureMap::IsEmpty ( ) const

◆ Release()

bool CTextureMap::Release ( )

◆ SetHeight()

void CTextureMap::SetHeight ( int  height)

◆ SetWidth()

void CTextureMap::SetWidth ( int  height)

Member Data Documentation

◆ m_memUsage

uint32_t CTextureMap::m_memUsage
protected

◆ m_referenceCount

unsigned int CTextureMap::m_referenceCount
protected

◆ m_texture

CTextureArray CTextureMap::m_texture
protected

◆ m_textureName

std::string CTextureMap::m_textureName
protected

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