Recast Navigation
Navigation-mesh Toolset for Games
DetourTileCache.h File Reference
#include "DetourStatus.h"

Go to the source code of this file.

Classes

struct  dtCompressedTile
 
struct  dtObstacleCylinder
 
struct  dtObstacleBox
 
struct  dtObstacleOrientedBox
 
struct  dtTileCacheObstacle
 
struct  dtTileCacheParams
 
struct  dtTileCacheMeshProcess
 
class  dtTileCache
 

Typedefs

typedef unsigned int dtObstacleRef
 
typedef unsigned int dtCompressedTileRef
 

Enumerations

enum  dtCompressedTileFlags { DT_COMPRESSEDTILE_FREE_DATA = 0x01 }
 Flags for addTile. More...
 
enum  ObstacleState { DT_OBSTACLE_EMPTY , DT_OBSTACLE_PROCESSING , DT_OBSTACLE_PROCESSED , DT_OBSTACLE_REMOVING }
 
enum  ObstacleType { DT_OBSTACLE_CYLINDER , DT_OBSTACLE_BOX , DT_OBSTACLE_ORIENTED_BOX }
 

Functions

dtTileCachedtAllocTileCache ()
 
void dtFreeTileCache (dtTileCache *tc)
 

Variables

static const int DT_MAX_TOUCHED_TILES = 8
 

Typedef Documentation

◆ dtCompressedTileRef

typedef unsigned int dtCompressedTileRef

◆ dtObstacleRef

typedef unsigned int dtObstacleRef

Enumeration Type Documentation

◆ dtCompressedTileFlags

Flags for addTile.

Enumerator
DT_COMPRESSEDTILE_FREE_DATA 

Navmesh owns the tile memory and should free it.

◆ ObstacleState

Enumerator
DT_OBSTACLE_EMPTY 
DT_OBSTACLE_PROCESSING 
DT_OBSTACLE_PROCESSED 
DT_OBSTACLE_REMOVING 

◆ ObstacleType

Enumerator
DT_OBSTACLE_CYLINDER 
DT_OBSTACLE_BOX 
DT_OBSTACLE_ORIENTED_BOX 

Function Documentation

◆ dtAllocTileCache()

dtTileCache* dtAllocTileCache ( )

◆ dtFreeTileCache()

void dtFreeTileCache ( dtTileCache tc)

Variable Documentation

◆ DT_MAX_TOUCHED_TILES

const int DT_MAX_TOUCHED_TILES = 8
static