Click or drag to resize

QuantizedMeshTerrainCache Class

A cache of quantized-mesh terrain tiles. A cache instance is associated with exactly one QuantizedMeshTerrainProvider.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.TerrainTerrainCache
    AGI.Foundation.TerrainQuantizedMeshTerrainCache

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public class QuantizedMeshTerrainCache : TerrainCache

The QuantizedMeshTerrainCache type exposes the following members.

Constructors
  NameDescription
Public methodQuantizedMeshTerrainCache
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyGroup
Gets the TerrainCacheGroup that contains this cache.
(Inherited from TerrainCache.)
Public propertyLeastRecentlyUsedRegion
Gets the region in this cache that was least recently used.
(Overrides TerrainCacheLeastRecentlyUsedRegion.)
Public propertySize
Gets the approximate total memory, in bytes, used by all regions in the cache.
(Overrides TerrainCacheSize.)
Top
Methods
  NameDescription
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 methodGetMesh
Gets the terrain tile with specified tile coordinates. If a tile satisfying the request is in the cache, it will be returned. Otherwise, the tile will be loaded to satisfy the request, and then a request to add that tile to the cache will be queued to the TerrainCacheGroup thread.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodLoadRegion
Loads the specified region into the cache.
(Overrides TerrainCacheLoadRegion(TerrainRegion).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPreloadExtent
Loads the terrain data in a given extent into the terrain cache. This method does not return until the terrain data is fully loaded. All terrain data within the extent is loaded into memory even if doing so would exceed the TerrainCacheGroup'sMaximumSize. Furthermore, the loaded terrain data is locked in memory (meaning it will not be unloaded) until the user calls UnloadExtent(CartographicExtent). This method is safe to call from any thread.
Protected methodRemoveRegion
Removes the specified region from the cache.
(Overrides TerrainCacheRemoveRegion(TerrainRegion).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnloadExtent
Unloads the cached terrain data for a given extent. This method unloads all cached regions where any part of the region falls within the extent. It does not return until the regions have been unloaded. However, if a region within the extent is being used in another thread while this method is executing, the region may be reloaded immediately after this method unloads it. This method is safe to call from any thread.
Top
See Also