|
The Vish Visualization Shell 0.3
Vish
|
Constraints for rendering, sustained across display contexts. More...
#include <ocean/Anemonia/VRenderPrecision.hpp>
Public Member Functions | |
| VRenderPrecision () | |
| Construct a render precision with convenient default values. | |
| VRenderPrecision (double MaxTime) | |
| Construct a render precision with maximal values, all member timers will be set to this same value. | |
Public Member Functions inherited from MemCore::ReferenceBase< VRenderPrecision > | |
| auto | getObjectCountID () const noexcept |
| Get a unique ID for this object in the given domain. | |
| bool | isIdentical (const WeakPtr< VRenderPrecision, VRenderPrecision > &PossibleSelf) const noexcept |
| Check if this object is identical to the one used by the given pointer. | |
| void | mkAutoDestructive () |
| Marks this object as being automatically destructed, e.g. | |
| refcount_t | refcount () const noexcept |
| The strong reference count. | |
| ReferenceBase (VRenderPrecision *that) noexcept | |
| Constructor, initializes reference counter to zero. | |
| const auto & | self () const |
| Return weak pointer to the object self. | |
| refcount_t | wrefcount () const noexcept |
| The weak reference count. | |
Public Attributes | |
| double | LastSceneRenderTimeInSecs |
| Last rendering time of the entire scene in seconds. | |
| double | RenderPrecision |
| A hint for the precision requested for a rendering operation. | |
| unsigned | RenderTileSize = 0 |
| Suggested tile size for rendering, if 0 trying to get this information automatically which should work, usually. | |
Additional Inherited Members | |
Public Types inherited from MemCore::ReferenceBase< VRenderPrecision > | |
| using | reference_domain_t = VRenderPrecision |
| The type of the base class. | |
| using | SelfPtr_t = WeakPtr< VRenderPrecision, VRenderPrecision > |
| Type for a pointer to this object itself. | |
Protected Member Functions inherited from MemCore::ReferenceBase< VRenderPrecision > | |
| virtual void | extremeUnction () |
| A virtual function that will be called just before the object is destroyed. | |
| ReferenceBase & | operator= (const ReferenceBase &R) |
| Protected assignment operator (should not be called). | |
| void | suicide () |
| Delete this. | |
| virtual | ~ReferenceBase () |
| Virtual destructor. | |
Constraints for rendering, sustained across display contexts.
| Wizt::VRenderPrecision::VRenderPrecision | ( | double | MaxTime | ) |
Construct a render precision with maximal values, all member timers will be set to this same value.
Note that setting it to zero or smaller means unrestrained rendering.
| double Wizt::VRenderPrecision::RenderPrecision |
A hint for the precision requested for a rendering operation.
If it is 1.0, just do things without caring about time. If it is smaller than 1.0, do it faster. For instance, a a value of 0.5 indicates that rendering should be done twice as fast. At a value of 0.0, rendering should be done as fast as possible, even if it means the object becoming invisible.