mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 23:17:25 +01:00
18 lines
No EOL
688 B
Text
18 lines
No EOL
688 B
Text
#region enums
|
|
|
|
#endregion
|
|
|
|
#region macro
|
|
#macro BLEND_NORMAL gpu_set_blendmode(bm_normal);
|
|
#macro BLEND_ADD gpu_set_blendmode(bm_add);
|
|
#macro BLEND_OVERRIDE gpu_set_blendmode_ext(bm_one, bm_zero);
|
|
//#macro BLEND_ADD_ALPHA gpu_set_blendmode_ext_sepalpha(bm_one, bm_inv_src_alpha, bm_one, bm_one)
|
|
|
|
#macro BLEND_ALPHA gpu_set_blendmode_ext_sepalpha(bm_one, bm_inv_src_alpha, bm_one, bm_one);
|
|
#macro BLEND_ALPHA_MULP gpu_set_blendmode_ext_sepalpha(bm_src_alpha, bm_inv_src_alpha, bm_one, bm_one);
|
|
|
|
#macro BLEND_MULTIPLY gpu_set_blendmode_ext(bm_dest_colour, bm_zero);
|
|
#macro BLEND_SUBTRACT gpu_set_blendmode(bm_subtract);
|
|
|
|
#macro DRAW_CLEAR draw_clear_alpha(0, 0);
|
|
#endregion |