| 884 | } |
| 885 | |
| 886 | bool TextureCache::IsTextureLoaded(const std::shared_ptr<LoadedTexture>& _texture) |
| 887 | { |
| 888 | TextureData* texture = static_cast<TextureData*>(_texture.get()); |
| 889 | |
| 890 | return texture && texture->data; |
| 891 | } |
| 892 | |
| 893 | bool TextureCache::IsTextureFinalized(const std::shared_ptr<LoadedTexture>& texture) |
| 894 | { |