The primitive manager contains spatial data structures used to efficiently render primitives. Once a primitive is constructed, it must be added to the primitive manager before it will be rendered.
Add | Adds a primitive to the manager. Primitives must be added to the manager to be rendered. |
Clear | Removes all primitives from the manager. |
Contains | Determines whether the manager contains a primitive. |
Remove | Removes a primitive from the manager. The primitive is no longer rendered unless it is added back into the manager. |
Count | Gets the number of primitives in the manager. |
PrecisionExponent | Gets or sets the exponent used to compute the maximum precision for primitive rendering. For example, a value of -3 indicates the maximum precision of 2^-3, 0.125 m along the x, y, or z axis. The worst case precision, taking into account all axes, is sqrt(3 * (2^-3)^2), 0.2165 m. The default is -2. |
TranslucentPrimitivesSortOrder | Gets or sets the sort order for translucent primitives in the primitive manager. This determines a trade-off between rendering speed and quality. It is only recommended to use PrimitivesSortOrderBackToFront when translucent primitives along the same line of sight cause blending artifacts. |