DD::Image::KnobChangeGroup Class Reference

Classes

class  Listener
 

Public Member Functions

void flush ()
 

Static Public Member Functions

static bool delaying ()
 whether a KnobChangeGroup exists at present
 

Friends

class Knob
 

Detailed Description

a KnobChangeGroup will batch up all Knob::changed() calls made whilst it exists. The effects of the Knob::changed() calls will be executed when the KnobChangeGroup is destroyed. Note this does not batch the effects of subclasses' virtual changed() methods.

KnobChangeGroup is used, for example, when a large number of keyframes on a knob or group knobs are being set, which would otherwise cause the curve editor to update too often and be too slow.



©2024 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk