#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 () | |
|
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.
|
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.
|
inlineprivate |