Nuke binary plugins 15.1.4
 
Loading...
Searching...
No Matches
DD::Image::ParticleNodeState Class Referenceabstract

#include <ParticleOp.h>

Public Member Functions

virtual ParticleNodeStateclone ()=0
 
virtual void write (ImageCacheWriteI *)=0
 
virtual bool read (ImageCacheReadI *)=0
 
virtual ~ParticleNodeState ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ParticleNodeState()

DD::Image::ParticleNodeState::~ParticleNodeState ( )
virtual

Destructor

Member Function Documentation

◆ clone()

virtual ParticleNodeState * DD::Image::ParticleNodeState::clone ( )
pure virtual

Should create a deep copy of itself.

◆ write()

virtual void DD::Image::ParticleNodeState::write ( ImageCacheWriteI )
pure virtual

Should write out all data to the passed-in file

◆ read()

virtual bool DD::Image::ParticleNodeState::read ( ImageCacheReadI )
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)



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.foundry.com