MOSetAlphaValue

C Specification

#include <mo/Mobiclip.h>

MOResult MOSetAlphaValue(MOInstance* pInstance, u8 alpha)

Arguments

pInstance Instance of the concerned movie.
alpha Alpha value between 0 and 255.

Return Values

MO_RESULT_OK Success.
MO_RESULT_NULL MOInstance pointer is NULL.

Description

That function is used to change the texture alpha value. It is meaningful only with RGB888_LINEAR and RGB888_TILED output formats.
The change will be taken into account at the next call of MOGetRGBImage.

It is better to call MOSetAlphaValue in the same thread that the one calling MOGetRGBImage.

See Also

MOGetRGBImage

MOGetAlphaValue

MODecode

Revision History

03/26/2009 Parameter renaming done.

06/22/2008 Initial version.