MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / GetOrCreateTexture

Method GetOrCreateTexture

Source/HLEGraphics/TextureCache.cpp:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226}
227
228CRefPtr<CNativeTexture> CTextureCache::GetOrCreateTexture(const TextureInfo & ti)
229{
230 CachedTexture * base_texture = GetOrCreateCachedTexture(ti);
231 if (!base_texture)
232 return nullptr;
233
234 return base_texture->GetTexture();
235}
236
237#ifdef DAEDALUS_DEBUG_DISPLAYLIST
238void CTextureCache::Snapshot(const MutexLock & lock, std::vector< STextureInfoSnapshot > & snapshot) const

Callers 4

UpdateTileSnapshotMethod · 0.80
LoadTextureDirectlyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected