formZ SDK | 4.0 Call Back Reference | Renderer

fz_rndr_cbak_image_init

Description

Image display init function. This function is called by formZ right before an image is about to be rendered. It gives the plugin the opportunity to perform the setup of image related data. For example, if the renderer needs to make a copy of the geometry to be rendered, it should be done in the image init function. The image init function is also allowed to bring up a progress bar to, for example, inform the user of the progress of creating the rendering data. The actual image display function (see below) which is called right after the image init function, is not allowd to show the progress bar or any dialogs, which obscure the image, while it is generated. If any errors occurred during the image init phase, the function should return an error code to formZ.

Plugin Prototype

fzrt_error_td fz_rndr_cbak_image_init(

fzrt_int

windex )

Parameters

windex [Input]

project window index

Returns

Error codes

Availability

5.0.0.0

Function Set

fz_rndr_cbak_fset


Defined in

fz_rndr_api.h