Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Display filters implement the RixDisplayFilter interface found in RixDisplayFilter.h. A RixDisplayFilter is a subclass of RixShadingPlugin, and therefore shares the same initialization, synchronization, and parameter table logic as other shading plugins. Therefore to start developing your own display filter, you can #include "RixDisplayFilter.h" and make sure that your display filter class implements the required methods inherited from the RixShadingPlugin interface: Init(), Finalize(), Synchronize(), GetParamTable(), and CreateInstanceData(). You should also use the RIX_DISPLAYFILTERCREATE() and RIX_DISPLAYFILTERDESTROY() macros to define the CreateRixDisplayFilter() and DestroyRixDisplayFilter() functions for creating and destroying instances of your class.

...