Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbMentalRayRenderSettings::setMemoryLimit Method
Syntax
C++
OdResult setMemoryLimit(int memoryLimit);

Sets the maximum memory allocated for rendering for this MentalRaySettings object.

Parameters
Description
memoryLimit
[in] Memory limit (MB) [>= 128]

Returns eOk if successful, or an appropriate error code if not.

The renderer will decrease performance so as to stay below the memory limit. 

The default value for MemoryLimit is 1048.

Copyright © 2002-2022. Open Design Alliance All rights reserved.