formZ SDK | 4.0 Call Back Reference | Surface Style Representation

fz_srep_cbak_file_list_func

Description

flexible version of fz_srep_cbak_list_tmaps that uses flocs for file referneces instead of tmap_ptr

Plugin Prototype

fzrt_error_td fz_srep_cbak_file_list_func(

fzrt_int

windex,

fz_rmtl_ptr

rmtl,

void *

srep_data,

fzrt_int *

nfiles,

fzrt_floc_ptr *

file_list,

fz_string_td *

file_type_name,

fz_srep_tmap_type_enum *

tmap_type )

Parameters

windex [Input]

project window index

rmtl [Input]

the surface style to which the srep belongs

srep_data [Input]

The source Surface Style Representation data.

nfiles [Result, Optional]

The number of texture maps used by this Surface Style Representation

file_list [Result, Optional]

If passed in as non NULL this is an array of texture maps. For each texture map, the file location and name must be set via the api call .

file_type_name [Result, Optional]

If passed in as non NULL this is an array of names. For each texture map, the name of the type of texture should be set. For example "Color Map" or "Bump Map". It is ok (although not encouraged) to not set the name, in which case formZ assumes a generic type (i.e. "Texture Map")

tmap_type [Result, Optional]

If passed in as non NULL this is an array of texture map types. This information is used, for example, to substitude an new texture map from the embedded tmap of the simple srep, if the linked texture map of this srep is not found

Returns

Error codes

Availability

8.5.3.0

Plugin Example

See Also

fz_srep_cbak_list_tmaps_embd, fz_srep_cbak_list_tmaps

Function Set


Defined in

fz_srep_api.h