Go to: Synopsis. Return value. MEL examples.
addFrameRenderCallback (string $beforeOrAfter, string $commandString)
None
Variable Name | Variable Type | Description |
---|---|---|
$beforeOrAfter | string | A string, either "before" or "after", to specify the callback type. |
$commandString | string | The callback function to be triggered before or after rendering a frame. |
addFrameRenderCallback("after", "clearUpMyRendererResource()"); removeFrameRenderCallback("after", "clearUpMyRendererResource()");