Click or drag to resize

TerrainCacheGroup Class

A group of terrain caches. Each group has its own thread for loading terrain regions. A group can also limit the total memory used by all caches in the group.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TerrainTerrainCacheGroup

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public class TerrainCacheGroup

The TerrainCacheGroup type exposes the following members.

Constructors
  NameDescription
Public methodTerrainCacheGroup
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyCurrentTimeStamp
Gets a time stamp that can be used for relative ordering of accesses to caches and regions within this cache group.
Public propertyStatic memberDefault
Gets the default group. Additional groups can be created to isolate groups of terrain.
Public propertyMaximumSize
Gets or sets the maximum size, in bytes, of this cache group.
Top
Methods
  NameDescription
Public methodAddCache
Adds a cache to the group.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRequestRegionLoad
Requests that a region be loaded into cache. This method returns immediately, and the region is later loaded in the cache group's thread.
Public methodStartCacheThread
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.
Public methodStopCacheThread
Stops the thread associated with this cache group. This method does not return until the thread has stopped.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also