preserveOrder Readonly
preserveOrder: boolean
If true, the order in which geometry is added to the builder is preserved. This enables overlay and background graphics, which draw without using the depth buffer, to specify which geometry display in front of others when they overlap. For example, to draw an overlay containing a red shape with a white outline, you would add the shape to the GraphicAssember first, followed by its outline, to ensure the outline draws on top of the shape. This incurs a performance penalty due to the increased number of draw calls, and is never useful for graphics that draw using the depth buffer.
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.