Performance

class HPS.Performance : public IDisposable

Public Types

enum DisplayLists

Display lists are a GPU hardware caching technology which can greatly improve rendering performance. The underlying implementation depends on the 3D driver being used.

Values:

None
Geometry
Segment
enum StaticConditions

StaticConditions indicates how conditional expressions will be handled inside a StaticModel. A model segment which has no conditionals expressions, or only has expressions satisfied by conditions set within the segment should not be affected by this.

Values:

Independent
Single
enum StaticModel

StaticModel is a technique used for improving rendering performance. This setting tells the system that the segment tree affected by the attribute will remain ‘static’ or unchanging. The system will create an internal, optimized segment tree which is used for rendering in lieu of the normal tree. The original segment tree is untouched and can be used normally.If changes are made in a part of the segment tree that is subject to the static model attribute, the internal tree will be regenerated, with a few exceptions: If geometry is deleted or edited, the internal tree will not need to be regenerated.

Values:

None

No static model will be used, rendering will be done from the segment tree.

Attribute

An optimized segment tree will be used for rendering. The tree will be sorted by attributes.

AttributeSpatial

An optimized segment tree will be used for rendering. The tree will be sorted based on both attributes and spatial locations of objects. This is particularly useful for very large, spatially dispersed models.

Public Functions

void Dispose ()
Performance (HPS.Performance in_that)