Basic mutability framework
This commit is contained in:
1 parent
b2718dde70
commit
6d48267ec2
72 files changed
+1781
-1341
No files matched your search
@@ -13,8 +13,8 @@ public:
|
||||
virtual ~View();
|
||||
|
||||
// These are called from the view thread, and handle updating game data
|
||||
virtual void beginUpdate() = 0;
|
||||
virtual void update() = 0;
|
||||
virtual Job beginUpdate() = 0;
|
||||
virtual Job update() = 0;
|
||||
// End frame is called with a lock, so it is safe to write to shared memory
|
||||
virtual void commitUpdate() = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user