Quantum 3
3.0.10
An example to customize requested snapshot uploading. This is marked experimental because it requires additional work when saving data on frame contex. More...
Public Member Functions | |
| FrameSnapshot[] | GetSnapshot () |
| Returns the completed encoded snapshot. More... | |
| void | Init (DeterministicSession session, IDisposable frameContext) |
| Initializing the snapshot provider for this Quantum session. Used to create a frame container. More... | |
| void | RequestSnapshot (DeterministicSession session, int referenceTick) |
| Requesting a snapshot, use to CopyFrom and start async computation. More... | |
Public Attributes | |
| int | ExtraHeapCount => 1 |
| The frame is copied before being serialized in on a worked thread. This requires an extra frame heap. More... | |
| bool | IsCompleted => _task != null && _task.IsCompleted |
Returns true when a snapshot is read to be completed. More... | |
Additional Inherited Members | |
Properties inherited from Photon.Deterministic.IDeterministicSnapshotProvider | |
| int | ExtraHeapCount [get] |
| Return the number of additional frame heaps required for this tool to work. More... | |
| bool | IsCompleted [get] |
Returns true when a snapshot is read to be completed. More... | |
An example to customize requested snapshot uploading. This is marked experimental because it requires additional work when saving data on frame contex.
|
inline |
Returns the completed encoded snapshot.
Implements Photon.Deterministic.IDeterministicSnapshotProvider.
|
inline |
Initializing the snapshot provider for this Quantum session. Used to create a frame container.
Implements Photon.Deterministic.IDeterministicSnapshotProvider.
|
inline |
Requesting a snapshot, use to CopyFrom and start async computation.
Implements Photon.Deterministic.IDeterministicSnapshotProvider.
| int Quantum.Experimental.QuantumSnapshotProviderDemo.ExtraHeapCount => 1 |
The frame is copied before being serialized in on a worked thread. This requires an extra frame heap.
| bool Quantum.Experimental.QuantumSnapshotProviderDemo.IsCompleted => _task != null && _task.IsCompleted |
Returns true when a snapshot is read to be completed.