ErrorStruct Struct Reference
A structure holding information about how to best improve the LOD of a brick. More...
#include <errorlodselector.h>
Public Member Functions | |
| bool | operator< (ErrorStruct const &other) const |
| Different instances of this struct should be compared by the error reduction per byte. | |
| bool | operator> (ErrorStruct const &other) const |
| bool | operator= (ErrorStruct const &other) const |
| Instances of the struct should be equal if they handle the same brick. | |
Public Attributes | |
| float | improvementPerByte |
| The error improvement per byte the improvement requires. | |
| int | memRequiredForImprovement |
| The memory the improvement requires. | |
| int | numVoxels |
| The number of voxels the brick will have after the improvement. | |
| int | nextLod |
| The level of detail the brick will be improved to. | |
| Brick * | brick |
| The brick this struct is about. | |
Detailed Description
A structure holding information about how to best improve the LOD of a brick.
This is used by the ErrorLodSelector.
Definition at line 39 of file errorlodselector.h.
Member Data Documentation
| float improvementPerByte |
The error improvement per byte the improvement requires.
This is the measure by which it is decided which brick gets improved next.
Definition at line 45 of file errorlodselector.h.