Mostly this changeset fixes up attribute clamp slightly; it makes it possible to compare pointers and references for clamping, and adds an IsSet() to check whether or not clamp logic is set just to clean up ClampValue() slightly.
I also made IsPeriodPaused in effects virtual, to allow C++ effects to override it and provide more complex pause logic on periodic effects.
Mostly this changeset fixes up attribute clamp slightly; it makes it possible to compare pointers and references for clamping, and adds an
IsSet()
to check whether or not clamp logic is set just to clean upClampValue()
slightly.I also made
IsPeriodPaused
in effects virtual, to allow C++ effects to override it and provide more complex pause logic on periodic effects.