Controls how the blend factor for the alpha channel is determined based on the source's fragments.
set getint src_color_blend_factor<>():int set get
Controls how the blend factor for the color channels is determined based on the source's fragments.
set getbool write_a<>():bool set get
If true, writes the new alpha channel to the final result.
set getbool write_b<>():bool set get
If true, writes the new blue color channel to the final result.
set getbool write_g<>():bool set get
If true, writes the new green color channel to the final result.
set getbool write_r<>():bool set get
If true, writes the new red color channel to the final result.
void set_as_mix<>():void
Convenience method to perform standard mix blending with straight (non-premultiplied) alpha. This sets enable_blend to true, src_color_blend_factor to [constant RenderingDevice.BLEND_FACTOR_SRC_ALPHA], dst_color_blend_factor to [constant RenderingDevice.BLEND_FACTOR_ONE_MINUS_SRC_ALPHA], src_alpha_blend_factor to [constant RenderingDevice.BLEND_FACTOR_SRC_ALPHA] and dst_alpha_blend_factor to [constant RenderingDevice.BLEND_FACTOR_ONE_MINUS_SRC_ALPHA].
All social media brands are registrated trademarks and belong to their respective owners.