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

Method GetLoadedTexture

src/engine/TextureCache.cpp:663–667  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661
662
663std::shared_ptr<TextureData> TextureCache::GetLoadedTexture(std::filesystem::path const& path)
664{
665 std::lock_guard<std::shared_mutex> guard(m_LoadedTexturesMutex);
666 return m_LoadedTextures[path.generic_string()];
667}
668
669bool TextureCache::ProcessRenderingThreadCommands(CommonRenderPasses& passes, float timeLimitMilliseconds)
670{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected