xbmc
Public Member Functions | Static Public Member Functions | List of all members
CTextureBundle Class Reference

Public Member Functions

 CTextureBundle (bool useXBT)
 
void SetThemeBundle (bool themeBundle)
 
bool HasFile (const std::string &Filename)
 
std::vector< std::string > GetTexturesFromPath (const std::string &path)
 
std::optional< CTextureBundleXBT::TextureLoadTexture (const std::string &filename)
 Load texture from bundle. More...
 
std::optional< CTextureBundleXBT::AnimationLoadAnim (const std::string &filename)
 Load animation from bundle. More...
 
void Close ()
 

Static Public Member Functions

static std::string Normalize (std::string name)
 

Member Function Documentation

◆ LoadAnim()

std::optional< CTextureBundleXBT::Animation > CTextureBundle::LoadAnim ( const std::string &  filename)

Load animation from bundle.

Parameters
[in]filenamename of the animation to load
Returns
std::optional<CTextureBundleXBT::Animation> if animation was loaded

◆ LoadTexture()

std::optional< CTextureBundleXBT::Texture > CTextureBundle::LoadTexture ( const std::string &  filename)

Load texture from bundle.

Parameters
[in]filenamename of the texture to load
Returns
std::optional<CTextureBundleXBT::Texture> if texture was loaded

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