MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / GetMaxMemory

Method GetMaxMemory

include/luxrays/core/device.h:79–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 virtual bool IsRunning() const { return started; };
78
79 virtual size_t GetMaxMemory() const { return 0; }
80 size_t GetUsedMemory() const { return usedMemory; }
81 void AllocMemory(size_t s) const { usedMemory += s; }
82 void FreeMemory(size_t s) const { usedMemory -= s; }

Callers 4

BOOST_FOREACHFunction · 0.45
GetOpenCLDeviceDescsMethod · 0.45
GetOpenCLDeviceListFunction · 0.45
ContextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected