SoSFImage3CopyPolicies Enumeration |
OIV.Inventor.Fields.SoSFImage3 may be manipulating some large amounts of memory.
Namespace: OIV.Inventor.Fields
Member name | Value | Description | |
---|---|---|---|
COPY | 0 | Open Inventor will make a copy of the data (default) | |
NO_COPY | 1 | Passed buffer used. |
It is therefore convienent to be able to set the memory usage policy dynamically (copying a small 256x256x256 image with only 8 bits color already takes 16MB). By default, the memory policy is COPY, which is consistent with other OIV fields. The most likely to be efficient is NO_COPY. See also setNeverWrite.