hi_tde_blend_opt

Description

Defines the pattern filling blend options.

Prototype

typedef struct {
    hi_bool global_alpha_en;
    hi_bool pixel_alpha_en;
    hi_bool src1_alpha_premulti;
    hi_bool src2_alpha_premulti;
    hi_tde_blend_cmd blend_cmd;  
    hi_tde_blend_mode src1_blend_mode;
    hi_tde_blend_mode src2_blend_mode;
} hi_tde_blend_opt;

Members

Member

Description

global_alpha_en

Whether to enable global alpha.

pixel_alpha_en

Whether to enable pixel alpha.

src1_alpha_premulti

Whether to enable src1 alpha premultiply.

src2_alpha_premulti

Whether to enable src2 alpha premultiply.

blend_cmd

Alpha blend command.

src1_blend_mode

Sets the src1_blend mode.

src2_blend_mode

Sets the src2_blend mode.