This reference page is linked to from the following overview topics: Rendering Plug-ins, Plug-in Base Classes.
#include <sfx.h>
Public Member Functions |
|
RefResult | NotifyRefChanged (Interval changeInt, RefTargetHandle hTarget, PartID &partID, RefMessage message) |
Receives and responds to messages. |
|
SClass_ID | SuperClassID () |
Retrieves a constant representing the type
of the plugin. |
|
IOResult | Save (ISave *isave) |
IOResult | Load (ILoad *iload) |
virtual EffectParamDlg * | CreateParamDialog (IRendParams *ip) |
virtual BOOL | SetDlgThing (EffectParamDlg *dlg) |
virtual DWORD | GBufferChannelsRequired (TimeValue t) |
virtual void | Apply (TimeValue t, Bitmap *bm, RenderGlobalContext *gc, CheckAbortCallback *cb)=0 |
RefResult NotifyRefChanged | ( | Interval | changeInt, |
RefTargetHandle | hTarget, | ||
PartID & | partID, | ||
RefMessage | message | ||
) | [inline, virtual] |
Receives and responds to messages.
A plugin which makes references must implement a method to receive and respond to messages broadcast by its dependents. This is done by implementing NotifyRefChanged(). The plugin developer usually implements this method as a switch statement where each case is one of the messages the plugin needs to respond to. The Method StdNotifyRefChanged calls this, which can change the partID to new value. If it doesn't depend on the particular message& partID, it should return REF_DONTCARE.
changeInt | - This is the interval of time over which the message is active. Currently, all plug-ins will receive FOREVER for this interval. |
hTarget | - This is the handle of the reference target the message was sent by. The reference maker uses this handle to know specifically which reference target sent the message. |
partID | - This contains information specific to the message passed in. Some messages don't use the partID at all. See the section List of Reference Messages for more information about the meaning of the partID for some common messages. |
message | - The message parameters passed into this method is the specific message which needs to be handled. |
Implements ReferenceMaker.
Reimplemented in MSPluginSpecialFX< Effect8 >.
{return REF_SUCCEED;}
SClass_ID SuperClassID | ( | ) | [inline, virtual] |
Retrieves a constant representing the type of the plugin.
Reimplemented from ReferenceTarget.
{ return RENDER_EFFECT_CLASS_ID; }
Reimplemented from SpecialFX.
Reimplemented in MSPluginSpecialFX< Effect8 >.
{ return SpecialFX::Save(isave); }
Reimplemented from SpecialFX.
Reimplemented in MSPluginSpecialFX< Effect8 >.
{ return SpecialFX::Load(iload); }
virtual EffectParamDlg* CreateParamDialog | ( | IRendParams * | ip | ) | [inline, virtual] |
Reimplemented from SpecialFX.
Reimplemented in MSPluginEffect, and MSEffectXtnd.
{ return NULL; }
virtual BOOL SetDlgThing | ( | EffectParamDlg * | dlg | ) | [inline, virtual] |
Reimplemented from SpecialFX.
{ return FALSE; }
virtual DWORD GBufferChannelsRequired | ( | TimeValue | t | ) | [inline, virtual] |
Reimplemented in MSPluginEffect, and MSEffectXtnd.
{ return 0; }
virtual void Apply | ( | TimeValue | t, |
Bitmap * | bm, | ||
RenderGlobalContext * | gc, | ||
CheckAbortCallback * | cb | ||
) | [pure virtual] |
Implemented in MSPluginEffect, and MSEffectXtnd.