#include <ugdk/graphic/textureatlas.h>
ugdk::graphic::TextureAtlas::TextureAtlas |
( |
const graphic::GLTexture * |
texture, |
|
|
std::size_t |
size |
|
) |
| |
ugdk::graphic::TextureAtlas::~TextureAtlas |
( |
| ) |
|
static TextureAtlas* ugdk::graphic::TextureAtlas::LoadFromFile |
( |
const std::string & |
filepath | ) |
|
|
static |
std::size_t ugdk::graphic::TextureAtlas::NameToId |
( |
const std::string & |
name | ) |
const |
|
inline |
size_t ugdk::graphic::TextureAtlas::piece_num |
( |
| ) |
const |
|
inline |
BoundPiece ugdk::graphic::TextureAtlas::PieceAt |
( |
size_t |
i | ) |
const |
|
inline |
BoundPiece ugdk::graphic::TextureAtlas::PieceAt |
( |
const std::string & |
name | ) |
const |
|
inline |
const graphic::GLTexture* ugdk::graphic::TextureAtlas::texture |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: