FrameUpdateFilterImpl::modifiesData Method

This method returns whether this frame update callback modifies the presented image data. The default implementation returns true.
Syntax:
virtual bool modifiesData() const;
Return Value:

The return value gives the class library a hint whether it has to create a copy of the image data before presenting it to this frame update callback.

Value Description
true This filter may modify the image data presented in updateInPlace.
false This filter may not modify the image data presented in updateInPlace.

Remarks:

Overwrite this method and return false, if your frame filter never modifies the presented image data.

See also: FrameUpdateFilterImpl, FrameUpdateFilterImpl::updateInPlace

<< FrameUpdateFilterImpl