Hoops Visualize HPS  version 2018-SP2
Hoops Visualize HPS 3D Rendering Engine
Looking for a senior C++ dev?
I'm looking for work. Hire me!
HPS::Performance Class Reference

#include <hps.h>

Public Types

enum  DisplayLists : uint32_t {
  DisplayLists::None,
  DisplayLists::Geometry,
  DisplayLists::Segment
}
 Display lists are a GPU hardware caching technology which can greatly improve rendering performance. More...
 
enum  StaticModel : uint32_t {
  StaticModel::None,
  StaticModel::Attribute,
  StaticModel::AttributeSpatial
}
 StaticModel is a technique used for improving rendering performance. More...
 

Private Member Functions

 Performance ()
 

Member Enumeration Documentation

◆ DisplayLists

enum HPS::Performance::DisplayLists : uint32_t
strong

Display lists are a GPU hardware caching technology which can greatly improve rendering performance.

The underlying implementation depends on the 3D driver being used.

Enumerator
None 

Display Lists will not be used for rendering the scene.

Geometry 

Display Lists will be created on a per-geometry basis.

If the geometry is modified, the display list will be regenerated.

Segment 

Display Lists will be created on a per-segment basis.

If any geometry in the segment is modified, the display list will be regenerated.

◆ StaticModel

enum HPS::Performance::StaticModel : uint32_t
strong

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.

Enumerator
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.

Constructor & Destructor Documentation

◆ Performance()

HPS::Performance::Performance ( )
inlineprivate

The documentation for this class was generated from the following file: