Click or drag to resize
SoCpuBufferObjectCache Class

CPUBufferObject cache management class.

Inheritance Hierarchy
SystemObject
  OIV.InventorSoNetBase
    OIV.Inventor.CachesSoCpuBufferObjectCache

Namespace: OIV.Inventor.Caches
Assembly: OIV.Inventor.Base (in OIV.Inventor.Base.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public class SoCpuBufferObjectCache : SoNetBase

The SoCpuBufferObjectCache type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush

Remove all unused buffers (ref count = 0) from the cache.

Public methodGetHashCode
Overrides GetHashCode().
(Inherited from SoNetBase.)
Public methodGetSize

Return the max size of the cache (number of buffers).

Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodResize

Resize cache to the given size.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

A base class used to manage a simple cache of OIV.Inventor.Devices.SoCpuBufferObject objects.

OIV.Inventor.Devices.SoBufferObject creates an instance of this class that is primarily used for the LDM tile cache (see OIV.LDM.SoLDMGlobalResourceParameters for more information). The buffer object cache can be accessed using the OIV.Inventor.Devices.SoBufferObject static method getBufferObjectCache. Default size is 50 or the value of OIV_BUFFER_OBJECT_CACHE_SIZE.

This class was added in Open Inventor 8.5.

See Also