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

#include <TextureManager.h>

Public Member Functions

 CTextureArray (int width, int height, int loops, bool texCoordsArePixels=false)
 
 CTextureArray ()
 
virtual ~CTextureArray ()
 
void Reset ()
 
void Add (CBaseTexture *texture, int delay)
 
void Set (CBaseTexture *texture, int width, int height)
 
void Free ()
 
unsigned int size () const
 

Public Attributes

std::vector< CBaseTexture * > m_textures
 
std::vector< int > m_delays
 
int m_width
 
int m_height
 
int m_orientation
 
int m_loops
 
int m_texWidth
 
int m_texHeight
 
bool m_texCoordsArePixels
 

Constructor & Destructor Documentation

◆ CTextureArray() [1/2]

CTextureArray::CTextureArray ( int  width,
int  height,
int  loops,
bool  texCoordsArePixels = false 
)

◆ CTextureArray() [2/2]

CTextureArray::CTextureArray ( )

◆ ~CTextureArray()

CTextureArray::~CTextureArray ( )
virtualdefault

Member Function Documentation

◆ Add()

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

◆ Free()

void CTextureArray::Free ( )

◆ Reset()

void CTextureArray::Reset ( void  )

◆ Set()

void CTextureArray::Set ( CBaseTexture texture,
int  width,
int  height 
)

◆ size()

unsigned int CTextureArray::size ( ) const

Member Data Documentation

◆ m_delays

std::vector<int> CTextureArray::m_delays

◆ m_height

int CTextureArray::m_height

◆ m_loops

int CTextureArray::m_loops

◆ m_orientation

int CTextureArray::m_orientation

◆ m_texCoordsArePixels

bool CTextureArray::m_texCoordsArePixels

◆ m_texHeight

int CTextureArray::m_texHeight

◆ m_textures

std::vector<CBaseTexture* > CTextureArray::m_textures

◆ m_texWidth

int CTextureArray::m_texWidth

◆ m_width

int CTextureArray::m_width

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