MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / IsTextureLoaded

Method IsTextureLoaded

src/engine/TextureCache.cpp:886–891  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected