formZ SDK | 4.0 Call Back Reference | Light Representation

# fz_light_rep_cbak_data_copy

Description

Light Representation copy function (Optional). This function is called whenever a Light is copied. It allows the plugin to copy any dynamic memory that may be present in a Light Representation. When this function is called, the actual Light Representation has already been copied into dst_data.

Plugin Prototype

fzrt_error_td fz_light_rep_cbak_data_copy(

fzrt_int | src_windex,
fz_lite_ptr | src_light,
void * | src_data,
fzrt_int | dst_windex,
fz_lite_ptr | dst_light,
void * | dst_data )

Parameters

src_windex [Input]

source project window index

src_light [Input]

The source Light

src_data [Input]

The source Light Representation data.

dst_windex [Input]

destination project window index

dst_light [Input]

The destination Light

dst_data [Input]

The destination Light Representation data.

Returns

Error codes

Availability

7.0.0.0

Function Set

fz_light_rep_cbak_fset

Defined in

fz_view_rep_api.h