DIWNE::ContextTracker
A helper class used to track changes in DrawInfo context between two points in time. More...
#include "DIWNE/Core/Elements/DiwneObject.h"
Public Functions
| Name | |
|---|---|
| ContextTracker(const DrawInfo & context) | |
| void | begin(const DrawInfo & context) |
| DrawInfo | end(const DrawInfo & context) |
Public Attributes
| Name | |
|---|---|
| std::shared_ptr< DrawInfo > | m_contextCopy |
Detailed Description
cpp
class DIWNE::ContextTracker;class DIWNE::ContextTracker;A helper class used to track changes in DrawInfo context between two points in time.
Used to determine changes a specific DiwneObject::drawDiwne call made.
Public Functions Documentation
function ContextTracker
cpp
ContextTracker(
const DrawInfo & context
)ContextTracker(
const DrawInfo & context
)function begin
cpp
void begin(
const DrawInfo & context
)void begin(
const DrawInfo & context
)function end
cpp
DrawInfo end(
const DrawInfo & context
)DrawInfo end(
const DrawInfo & context
)Public Attributes Documentation
variable m_contextCopy
cpp
std::shared_ptr< DrawInfo > m_contextCopy;std::shared_ptr< DrawInfo > m_contextCopy;Updated on 2026-05-21 at 15:39:36 +0000