formZ SDK | 4.0 Call Back Reference | Renderer

# fz_rndr_cbak_proj_clear_mem

Description

Clear rendering memory function. This function is called when the user selects the Clear Rendering Memory item in the Display menu. It is expected to reset all memory that was allocated for the renderer since the creation of the project. As renderers tend to allocate and store large amounts of data, the Clear Rendering Memory command is intended to give memory back to the user for modeling operations. The clear memory function should leave the dynamic data of a renderer in the same state, as when a project is first created.

Plugin Prototype

fzrt_error_td fz_rndr_cbak_proj_clear_mem(

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