hi_tde_blend_opt

Function

Defines the pattern filling blend options.

Definition

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;

For details about basic data type hi_bool, see Basic Data Types.

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. For details, see hi_tde_blend_cmd.

src1_blend_mode

Sets the src1_blend mode. For details, see hi_tde_blend_mode.

src2_blend_mode

Sets the src2_blend mode. For details, see hi_tde_blend_mode.