CommonObjectComputeMemoryEstimate Method |
Computes an estimate of the number of bytes that this object is using in memory.
Namespace:
Rhino.Runtime
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static uint ComputeMemoryEstimate(
CommonObject obj
)
Public Shared Function ComputeMemoryEstimate (
obj As CommonObject
) As UInteger
Parameters
- obj
- Type: Rhino.RuntimeCommonObject
[Missing <param name="obj"/> documentation for "M:Rhino.Runtime.CommonObject.ComputeMemoryEstimate(Rhino.Runtime.CommonObject)"]
Return Value
Type:
UInt32An estimated memory footprint.
Remarks
This is the same as calling GeometryBase.MemoryEstimate, but works for all CommonObject derived classes.
See Also