Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
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 (std::shared_ptr< CTexture > texture, int delay)
 
void Set (std::shared_ptr< CTexture > texture, int width, int height)
 
void Free ()
 
unsigned int size () const
 

Public Attributes

std::vector< std::shared_ptr< CTexture > > m_textures
 
std::vector< intm_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 ( std::shared_ptr< CTexture > texture,
int delay )

◆ Free()

void CTextureArray::Free ( )

◆ Reset()

void CTextureArray::Reset ( )

◆ Set()

void CTextureArray::Set ( std::shared_ptr< CTexture > 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<std::shared_ptr<CTexture> > 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: