MCPcopy Create free account
hub / github.com/GrapheneCt/NetStream / Get

Method Get

NetStream/source/tex_pool.cpp:235–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235intrusive_ptr<graph::Surface> TexPool::Get(IDParam const& id)
236{
237 m_storMtx->Lock();
238 intrusive_ptr<graph::Surface> tex = m_stor[id.GetIDHash()];
239 m_storMtx->Unlock();
240 return tex;
241}
242
243void TexPool::AddAsyncWaitComplete()
244{

Callers

nothing calls this directly

Calls 2

LockMethod · 0.80
UnlockMethod · 0.80

Tested by

no test coverage detected