Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 39) // Methods for rendering
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 40)
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 41) // Creates a copy of this node
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 42) // This function is thread-safe
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 43) // and the ability to run this function from any thread
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 44) // is why any state mutation
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 45) // needs to take the stateLock.
- e669ab9a (gdkar 2017-11-08 22:38:05 -0500 46) //
- e669ab9a (gdkar 2017-11-08 22:38:05 -0500 47) // This should be a soft copy / propagate changes back to
- e669ab9a (gdkar 2017-11-08 22:38:05 -0500 48) // the original.
- e669ab9a (gdkar 2017-11-08 22:38:05 -0500 49) //
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 50) // The new object will be assigned to the thread
- 8b37577d (Eric Van Albert 2017-08-10 07:12:59 -0400 51) // that createCopyForRendering is called in.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement