#include <TextureBundle.h>
◆ CTextureBundle() [1/2]
CTextureBundle::CTextureBundle |
( |
| ) |
|
◆ CTextureBundle() [2/2]
CTextureBundle::CTextureBundle |
( |
bool | useXBT | ) |
|
|
explicit |
◆ ~CTextureBundle()
CTextureBundle::~CTextureBundle |
( |
| ) |
|
|
default |
◆ Close()
void CTextureBundle::Close |
( |
| ) |
|
◆ GetTexturesFromPath()
std::vector< std::string > CTextureBundle::GetTexturesFromPath |
( |
const std::string & | path | ) |
|
◆ HasFile()
bool CTextureBundle::HasFile |
( |
const std::string & | Filename | ) |
|
◆ LoadAnim()
Load animation from bundle.
- Parameters
-
[in] | filename | name of the animation to load |
- Returns
- std::optional<CTextureBundleXBT::Animation> if animation was loaded
◆ LoadTexture()
Load texture from bundle.
- Parameters
-
[in] | filename | name of the texture to load |
- Returns
- std::optional<CTextureBundleXBT::Texture> if texture was loaded
◆ Normalize()
std::string CTextureBundle::Normalize |
( |
std::string | name | ) |
|
|
static |
◆ SetThemeBundle()
void CTextureBundle::SetThemeBundle |
( |
bool | themeBundle | ) |
|
The documentation for this class was generated from the following files: