GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
CachedVoxel Class Reference
Inheritance diagram for CachedVoxel:
Collaboration diagram for CachedVoxel:

Public Member Functions

 CachedVoxel (int sx, int sy, int sz, std::vector< VoxelPos > pos, std::vector< VoxelFunc > vec, void *ptr)
void unload (int i) const
void load (int i) const
void reload (int i) const
void activate (int x, int y, int z) const
void deactivate (int x, int y, int z) const
virtual int SizeX () const
virtual int SizeY () const
virtual int SizeZ () const
virtual int Map (int x, int y, int z) const
virtual unsigned int Color (int x, int y, int z) const
virtual Vector Normal (int x, int y, int z) const
Public Member Functions inherited from Voxel< int >
virtual void Prepare ()=0
virtual void CleanPrepare ()=0
virtual ~Voxel ()
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

◆ CachedVoxel()

CachedVoxel::CachedVoxel ( int sx,
int sy,
int sz,
std::vector< VoxelPos > pos,
std::vector< VoxelFunc > vec,
void * ptr )
inline

Member Function Documentation

◆ activate()

void CachedVoxel::activate ( int x,
int y,
int z ) const
inline
Here is the caller graph for this function:

◆ Color()

virtual unsigned int CachedVoxel::Color ( int x,
int y,
int z ) const
inlinevirtual

Reimplemented from Voxel< int >.

◆ deactivate()

void CachedVoxel::deactivate ( int x,
int y,
int z ) const
inline

◆ load()

void CachedVoxel::load ( int i) const
inline
Here is the caller graph for this function:

◆ Map()

virtual int CachedVoxel::Map ( int x,
int y,
int z ) const
inlinevirtual

Implements Voxel< int >.

◆ Normal()

virtual Vector CachedVoxel::Normal ( int x,
int y,
int z ) const
inlinevirtual

Reimplemented from Voxel< int >.

◆ reload()

void CachedVoxel::reload ( int i) const
inline

◆ SizeX()

virtual int CachedVoxel::SizeX ( ) const
inlinevirtual

Implements Voxel< int >.

◆ SizeY()

virtual int CachedVoxel::SizeY ( ) const
inlinevirtual

Implements Voxel< int >.

◆ SizeZ()

virtual int CachedVoxel::SizeZ ( ) const
inlinevirtual

Implements Voxel< int >.

◆ unload()

void CachedVoxel::unload ( int i) const
inline
Here is the caller graph for this function:

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