Nuke binary plugins 15.0.5
 
Loading...
Searching...
No Matches
DD::Image::MemoryHolder Class Referenceabstract

#include <MemoryHolder.h>

Inherited by DD::Image::CacheBase, DD::Image::DeepOpCache, DD::Image::ImagePlaneCacheImpl [protected], DD::Image::MemoryBufferImpl, and ImageCacheQueue.

Public Member Functions

virtual bool memoryFree (size_t amount)=0
 
virtual void memoryInfo (Memory::MemoryInfoArray &output, const void *restrict_to) const =0
 
virtual int memoryWeight () const =0
 

Detailed Description

Implement this interface to enable a class to be registered with the Memory system for free, info and weight callbacks.

If you derive from this class, you must create the objects with MemHolderFactory in order to register them with the memory system.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com