| 143 | } |
| 144 | |
| 145 | bool Lightmap::IsReady() const |
| 146 | { |
| 147 | // TODO: link for events and cache this to be a boolean value |
| 148 | return _textures[0] && _textures[0]->GetTexture()->ResidentMipLevels() > 0 |
| 149 | && _textures[1] && _textures[1]->GetTexture()->ResidentMipLevels() > 0 |
| 150 | && _textures[2] && _textures[2]->GetTexture()->ResidentMipLevels() > 0; |
| 151 | } |
| 152 | |
| 153 | #if USE_EDITOR |
| 154 |
no test coverage detected