| 38 | // S T R U C T S /////////////////////////////////////////////////// |
| 39 | |
| 40 | DMapCache::DMapCache(DepthDataArr& _arrDepthData, unsigned _loadFlags, size_t _max_memory_bytes) |
| 41 | : |
| 42 | loadFlags(_loadFlags), arrDepthData(_arrDepthData), |
| 43 | maxMemory(_max_memory_bytes), disabledMaxMemory(0), usedMemory(0), |
| 44 | skipMemoryCheckIdxImage(NO_ID), numImageRead(0) |
| 45 | { |
| 46 | } |
| 47 | |
| 48 | void DMapCache::SetMaxMemory(size_t max_memory_bytes) { |
| 49 | maxMemory = max_memory_bytes; |
nothing calls this directly
no outgoing calls
no test coverage detected