formZ SDK | 5.0 API Reference | System | Texture Maps
Description
Associates an embdded texture map with a texture file and laods the pixels from the file into memory. The load_alpha argument determines whether the alpha channel or RGB channels of the file are loaded. If load_alpha is TRUE and the file does not have an alpha channel, the rgb channels are loaded instead.
Plugin Prototype
fzrt_error_td fz_tmap_embd_set_floc(
fzrt_int | windex, |
tmap_embd, | |
floc, | |
load_alpha ) |
Parameters
windex [Input]
project window index
tmap_embd [Input]
the embedded texture map
floc [Input]
the file locator, which identifies the texture file
load_alpha [Input]
If set to TRUE, only the alpha channel is loaded. Otherwise RGB channels are loaded
Returns
error codes
Availability
7.0.0.0
See Also
Function Set
Defined in