formZ SDK | 5.0 API Reference | System | Texture Maps

fz_tmap_embd_to_tmap_file

Description

Writes a new image file from the pixels of an embedded tmap. The file name and location are specified via the floc argument. The image file type is identified by ffmt_id. The tmap passed in need to be allocated via by the calling code.

Plugin Prototype

fzrt_error_td fz_tmap_embd_to_tmap_file(

fzrt_int

windex,

fz_tmap_embd_ptr

tmap_embd,

fzrt_floc_ptr

floc,

fz_ffmt_ref_td

ffmt_id )

Parameters

windex [Input]

project window index

tmap_embd [Input]

the embedded texture map

floc [Input]

the file locator

ffmt_id [Input]

the file format id

Returns

error codes

Availability

7.0.0.0

See Also

Function Set

fz_tmap_fset


Defined in

fz_tmap_api.h