Public Member Functions | |
virtual ParticleNodeState * | clone ()=0 |
virtual void | write (ImageCacheWriteI *)=0 |
virtual bool | read (ImageCacheReadI *)=0 |
virtual | ~ParticleNodeState () |
ParticleNodeState is used for nodes to store state that should be preserved with the particle system, and serialised/ unserialised from disk with the cache.
For example, the Emitter uses this to keep track of which vertex it has emitted from in the 'in order' option.
|
virtual |
Destructor
|
pure virtual |
Should create a deep copy of itself.
|
pure virtual |
Should write out all data to the passed-in file
|
pure virtual |
Should clear its state and read in data from the file. File pointer will point at the position that write() had been called from. Should returns false in case of failure (including under-run)
©2019 The Foundry Visionmongers, Ltd. All Rights Reserved. |