TerrainCacheGroup Class |
Namespace: AGI.Foundation.Terrain
The TerrainCacheGroup type exposes the following members.
Name | Description | |
---|---|---|
TerrainCacheGroup | Initializes a new instance. |
Name | Description | |
---|---|---|
CurrentTimeStamp |
Gets a time stamp that can be used for relative ordering of accesses to caches
and regions within this cache group.
| |
Default |
Gets the default group.
Additional groups can be created to isolate groups of terrain.
| |
MaximumSize |
Gets or sets the maximum size, in bytes, of this cache group.
|
Name | Description | |
---|---|---|
AddCache |
Adds a cache to the group.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RequestRegionLoad |
Requests that a region be loaded into cache.
This method returns immediately, and the region is later loaded in the cache group's thread.
| |
StartCacheThread |
Starts the thread associate with this cache group.
It is not normally necessary to call this method,
because constructing an instance of TerrainCacheGroup
will start the thread automatically.
| |
StopCacheThread |
Stops the thread associated with this cache group.
This method does not return until the thread has stopped.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |