formZ SDK | 4.0 Call Back Reference | RenderZone Shader
Description
Background shader pre_render function (Optional). This function is called once before the start of each rendering. It is expected to precompute information that will be used by the function. Typically, the pre-render function will allocate a data structure, fill it with precomputed information and pass the pointer of the structure back to formZ via the function argument. This pointer will be passed back into the function and also the function, which should de-allocate the structure.
Plugin Prototype
fzrt_error_td fz_shdr_cbak_bgnd_pre_render(
void** | shdr_data ) |
Parameters
shdr_data [Result]
The pointer, which is passed to the shdr_cbak_bgnd_render and callback functions of a shader.
Returns
Error codes
Availability
5.0.0.0
Example Files
See Also
,
Function Set
Defined in