formZ SDK | 5.0 API Reference | System | Texture Maps

fz_tmap_embd_get_mem_size

Description

Gets the size of memory (in bytes) occupied by the pixels of an embeeded tmap. This function can be called to determine how much memory to allcoate for the pixels when calling fz_tmap_embd_get_pixels

Plugin Prototype

fzrt_error_td fz_tmap_embd_get_mem_size(

fz_tmap_embd_ptr

tmap_embd,

fzrt_int *

mem_size )

Parameters

tmap_embd [Input]

the embedded texture map for which to get the size

mem_size [Result]

The memory size required for the pixels

Returns

error codes

Availability

7.0.0.0

See Also

fz_tmap_embd_get_pixels

Function Set

fz_tmap_fset


Defined in

fz_tmap_api.h