Recast Navigation
Navigation-mesh Toolset for Games
dtTileCacheCompressor Struct Referenceabstract

#include <DetourTileCacheBuilder.h>

Inheritance diagram for dtTileCacheCompressor:
FastLZCompressor

Public Member Functions

virtual ~dtTileCacheCompressor ()
 
virtual int maxCompressedSize (const int bufferSize)=0
 
virtual dtStatus compress (const unsigned char *buffer, const int bufferSize, unsigned char *compressed, const int maxCompressedSize, int *compressedSize)=0
 
virtual dtStatus decompress (const unsigned char *compressed, const int compressedSize, unsigned char *buffer, const int maxBufferSize, int *bufferSize)=0
 

Constructor & Destructor Documentation

◆ ~dtTileCacheCompressor()

dtTileCacheCompressor::~dtTileCacheCompressor ( )
virtual

Member Function Documentation

◆ compress()

virtual dtStatus dtTileCacheCompressor::compress ( const unsigned char *  buffer,
const int  bufferSize,
unsigned char *  compressed,
const int  maxCompressedSize,
int *  compressedSize 
)
pure virtual

Implemented in FastLZCompressor.

◆ decompress()

virtual dtStatus dtTileCacheCompressor::decompress ( const unsigned char *  compressed,
const int  compressedSize,
unsigned char *  buffer,
const int  maxBufferSize,
int *  bufferSize 
)
pure virtual

Implemented in FastLZCompressor.

◆ maxCompressedSize()

virtual int dtTileCacheCompressor::maxCompressedSize ( const int  bufferSize)
pure virtual

Implemented in FastLZCompressor.


The documentation for this struct was generated from the following files: