SetDirty method

Increments the transform generation ID.

Syntax

object.SetDirty();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

This method causes the CDXBaseNTo1::IsTransformDirty method to return TRUE the next time it is called. The method should be called after any aspect of the transform has changed that will affect the output result, such as when an input changes or a transform property changes.

You do not have to worry about tracking input changes unless you are caching a copy of the input. However, you must call this method after any of its properties change. If this method is not called, the transform's generation ID will not be incremented and the container will fail to use the IDXTransform::Execute method on the transform because it will not think it needs to do so.

See also

CDXBaseNTo1::ClearDirty