Use this callback to implement your viewport mode or callback.
Viewport modes and callbacks share the OpenGL state machine with Softimage. If you need to change the OpenGL state, you should restore the original state when you are finished.
void <xgs_plugin-item_name>_Execute( CRef& in_context, LPVOID *in_pUserData ) { ... } |
<xgs_plugin-item_name> is the name specified in the call to RegisterViewportCallback or RegisterViewportMode, with any spaces converted to underscores.
Parameter | Type | Description |
---|---|---|
in_context | CRef& | A reference to the GraphicSequencerContext object. |
in_pUserData | LPVOID | Pointer to user data. |