formZ SDK | 5.0 API Reference | System | Texture Maps
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(
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
Function Set
Defined in