| 1695 | } |
| 1696 | |
| 1697 | std::string Sprite::getDescription() const |
| 1698 | { |
| 1699 | char buf[100]; |
| 1700 | std::string_view desc; |
| 1701 | if (_renderMode == RenderMode::QUAD_BATCHNODE) |
| 1702 | desc = fmt::format_to_z(buf, "<Sprite | Tag = {}, TextureID = {}>", _tag, |
| 1703 | fmt::ptr(_batchNode->getTextureAtlas()->getTexture()->getBackendTexture())); |
| 1704 | else |
| 1705 | desc = fmt::format_to_z(buf, "<Sprite | Tag = {}, TextureID = {}>", _tag, |
| 1706 | fmt::ptr(_texture->getBackendTexture())); |
| 1707 | |
| 1708 | return std::string{desc}; |
| 1709 | } |
| 1710 | |
| 1711 | const PolygonInfo& Sprite::getPolygonInfo() const |
| 1712 | { |
nothing calls this directly
no test coverage detected