Preparing for Writeup
This commit is contained in:
1 parent
2cb70d7b16
commit
b1d8ef4120
40 files changed
+284
-192
No files matched your search
@@ -12,10 +12,10 @@ public:
|
||||
virtual ~View();
|
||||
|
||||
// These are called from the view thread, and handle updating game data
|
||||
virtual void beginFrame() {}
|
||||
virtual void beginUpdate() {}
|
||||
virtual void update() {}
|
||||
// End frame is called with a lock, so it is safe to write to shared memory
|
||||
virtual void endFrame() {}
|
||||
virtual void commitUpdate() {}
|
||||
|
||||
// These are called from the render thread
|
||||
// prepare render is also locked, so reading from shared memory is also safe
|
||||
|
||||
Reference in new issue
Block a user