GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
OptCubeCache Class Referenceabstract

#include <GraphI.hh>

Inheritance diagram for OptCubeCache:
Collaboration diagram for OptCubeCache:

Public Member Functions

virtual ~OptCubeCache ()
virtual void add_to_cache (const CubeSpec &spec, FaceCollection *coll)=0
bool is_in_cache (const CubeSpec &spec) const
virtual OptCacheId find_id_from_cache (const CubeSpec &spec) const =0
virtual CubeSpec * find_spec_from_cache_id (OptCacheId id) const =0
virtual FaceCollection * find_from_cache_id (OptCacheId id) const =0
virtual OptCacheId resize_cache_id (const OptCacheId &o, const SizeSpec &sz)=0
FaceCollection * find_from_cache (const CubeSpec &spec) const
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual void Collect (CollectVisitor &vis)=0
virtual int NumBlocks () const
virtual void HeavyPrepare ()=0
virtual void FirstFrame ()

Constructor & Destructor Documentation

◆ ~OptCubeCache()

virtual OptCubeCache::~OptCubeCache ( )
inlinevirtual

Member Function Documentation

◆ add_to_cache()

virtual void OptCubeCache::add_to_cache ( const CubeSpec & spec,
FaceCollection * coll )
pure virtual

Implemented in OptCubeCacheImpl.

◆ find_from_cache()

FaceCollection * OptCubeCache::find_from_cache ( const CubeSpec & spec) const
inline
Here is the caller graph for this function:

◆ find_from_cache_id()

virtual FaceCollection * OptCubeCache::find_from_cache_id ( OptCacheId id) const
pure virtual

Implemented in OptCubeCacheImpl.

Here is the caller graph for this function:

◆ find_id_from_cache()

virtual OptCacheId OptCubeCache::find_id_from_cache ( const CubeSpec & spec) const
pure virtual

Implemented in OptCubeCacheImpl.

Here is the caller graph for this function:

◆ find_spec_from_cache_id()

virtual CubeSpec * OptCubeCache::find_spec_from_cache_id ( OptCacheId id) const
pure virtual

Implemented in OptCubeCacheImpl.

◆ is_in_cache()

bool OptCubeCache::is_in_cache ( const CubeSpec & spec) const
inline

◆ resize_cache_id()

virtual OptCacheId OptCubeCache::resize_cache_id ( const OptCacheId & o,
const SizeSpec & sz )
pure virtual

Implemented in OptCubeCacheImpl.


The documentation for this class was generated from the following file: