formZ SDK | 4.0 Call Back Reference | Renderer
Description
Window data init function. The window data init function needs to be implemented, if the info function returns a size other than 0 for the window data size argument (see above). It is called once, when a new window is created. formZ will allocate a data block of the given size. The window data init function is then called with the pointer to the data and is expected to initialize the data. The window data block is intended to store any runtime data a renderer may need on a per window basis. For example, a renderer may need to keep track whether the last image rendered is still valid or whether any changes made by the user in the meantime have made the image out of date. Such a marker would be stored in the window data.
Plugin Prototype
fzrt_error_td fz_rndr_cbak_wind_data_init(
fzrt_int | windex, |
wind_data ) |
Parameters
windex [Input]
project window index
wind_data [Input]
Pointer to the window data block, maintained by formZ.
Returns
Error codes
Availability
5.0.0.0
Function Set
Defined in