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

Method TexPool

NetStream/source/tex_pool.cpp:9–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7#include "tex_pool.h"
8
9TexPool::TexPool(Plugin *_cbPlugin, bool useDefaultQueue)
10{
11 m_storMtx = new thread::RMutex("TexPool::StorMtx");
12 if (useDefaultQueue)
13 {
14 m_addAsyncQueue = job::JobQueue::DefaultQueue();
15 }
16 else
17 {
18 m_addAsyncQueue = new job::JobQueue("TexPool::AddAsyncJobQueue");
19 }
20 m_share = NULL;
21 m_alive = true;
22 m_cbPlugin = _cbPlugin;
23}
24
25TexPool::~TexPool()
26{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected