formZ SDK | 5.0 API Reference | Project | File Formats | Structured File Translator | Data Model

# fz_ffmt_data_model_tmap_read_filetab_add

Description

Adds an entry to a texture file table for import. This function also performs any file format conversion or file copy specified by the texture options. This function should only be called during data model file import.

Plugin Prototype

fzrt_error_td fz_ffmt_data_model_tmap_read_filetab_add(

fzrt_int | windex,
fz_ffmt_ref_td | ffmt_id,
fz_ffmt_tmap_filetab_ptr | filetab,
char * | fname,
fzrt_int * | file_id )

Parameters

windex [Input]

project window index

ffmt_id [Input]

The model file format reference id.

filetab [Input]

The texture file table.

fname [Input]

The name of the source texture map file.

file_id [Result]

The id of the table entry.

Returns

FZRT_NOERR on success. An error otherwise.

Availability

5.0.0.0

Function Set

fz_ffmt_data_model_fset

Defined in

fz_ffmt_api.h