formZ SDK | 5.0 API Reference | System | Texture Maps

# fz_tmap_embd_get_pixels

Description

Gets the pixels of an embedded texture map. pixels must be allocated by the calling code to width * height * num_channels. You may also call fz_tmap_embd_get_mem_size to get the exact memory size needed.

Plugin Prototype

fzrt_error_td fz_tmap_embd_get_pixels(

fz_tmap_embd_ptr | tmap_embd,
unsigned char * | pixels )

Parameters

tmap_embd [Input]

the embedded texture map for which to get the pixels

pixels [Input]

A preallocated array to hold the pixels

Returns

error codes

Availability

7.0.0.0

See Also

fz_tmap_embd_get_mem_size

Function Set

fz_tmap_fset

Defined in

fz_tmap_api.h