99 if (spr_id.
_rect < iter.size())
100 return &iter[spr_id.
_rect];
size_t _get_model_id(std::string_view name)
std::unordered_map< CharInfo, CharSprite, CharInfoHash > _hashCharImage
std::size_t _numTexStatic
bool _reg_image(Image *image, std::size_t &id_tex, RectU &rect)
std::unordered_map< std::string, std::vector< SpriteID > > _mapName2SpriteID
std::vector< TexPack > _allTexPack
SpriteInfo * _get_sprite_info(const SpriteID &spr_id)
BoneAnimation * _create_model_bone_animation(std::string_view name)
bool _load_sprite_info(std::string_view path_name)
std::vector< std::vector< SpriteInfo > > _allSpriteInfo
std::unordered_map< std::string, std::size_t > _mapName2Model
void _save_sprite_info(std::string_view path_name)
std::vector< std::vector< Model * > > _allMulModel
void _rect_to_uv(const RectU &rect, UV *uv)
动态装箱(DH为2时,32、31、30会放到同一行)
std::array< float, 2 > UV
std::array< float, 4 > Color
constexpr Size SIZE_TEXTURE_2D_SIZE
constexpr unsigned SIZE_TEXTURE_2D
struct dl::FactoryImp::CharSprite::@3 _data[2]