[{"data":1,"prerenderedAt":1285},["ShallowReactive",2],{"nLhijJhAtC":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1284,"_id":4},"VkBlendOp","Framebuffer blending operations","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":1282},"root",[12,35,453,458,1124,1129,1245,1271,1276],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,33],{"type":18,"value":19},"text","Once the source and destination blend factors have been selected, they along\nwith the source and destination components are passed to the blending\noperations.\nRGB and alpha components ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," use different operations.\nPossible values of ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkBlendOp",[32],{"type":18,"value":4},{"type":18,"value":34},", specifying the operations, are:",{"type":13,"tag":36,"props":37,"children":38},"code-group",{},[39,197],{"type":13,"tag":40,"props":41,"children":47},"pre",{"className":42,"code":43,"filename":44,"language":45,"meta":46,"style":46},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkBlendOp {\n VK_BLEND_OP_ADD = 0,\n VK_BLEND_OP_SUBTRACT = 1,\n VK_BLEND_OP_REVERSE_SUBTRACT = 2,\n VK_BLEND_OP_MIN = 3,\n VK_BLEND_OP_MAX = 4,\n} VkBlendOp;\n","C","c","",[48],{"type":13,"tag":49,"props":50,"children":51},"code",{"__ignoreMap":46},[52,75,100,122,144,166,188],{"type":13,"tag":53,"props":54,"children":57},"span",{"class":55,"line":56},"line",1,[58,64,69],{"type":13,"tag":53,"props":59,"children":61},{"style":60},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[62],{"type":18,"value":63},"typedef",{"type":13,"tag":53,"props":65,"children":66},{"style":60},[67],{"type":18,"value":68}," enum",{"type":13,"tag":53,"props":70,"children":72},{"style":71},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[73],{"type":18,"value":74}," VkBlendOp {\n",{"type":13,"tag":53,"props":76,"children":78},{"class":55,"line":77},2,[79,84,89,95],{"type":13,"tag":53,"props":80,"children":81},{"style":71},[82],{"type":18,"value":83}," VK_BLEND_OP_ADD ",{"type":13,"tag":53,"props":85,"children":86},{"style":60},[87],{"type":18,"value":88},"=",{"type":13,"tag":53,"props":90,"children":92},{"style":91},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[93],{"type":18,"value":94}," 0",{"type":13,"tag":53,"props":96,"children":97},{"style":71},[98],{"type":18,"value":99},",\n",{"type":13,"tag":53,"props":101,"children":103},{"class":55,"line":102},3,[104,109,113,118],{"type":13,"tag":53,"props":105,"children":106},{"style":71},[107],{"type":18,"value":108}," VK_BLEND_OP_SUBTRACT ",{"type":13,"tag":53,"props":110,"children":111},{"style":60},[112],{"type":18,"value":88},{"type":13,"tag":53,"props":114,"children":115},{"style":91},[116],{"type":18,"value":117}," 1",{"type":13,"tag":53,"props":119,"children":120},{"style":71},[121],{"type":18,"value":99},{"type":13,"tag":53,"props":123,"children":125},{"class":55,"line":124},4,[126,131,135,140],{"type":13,"tag":53,"props":127,"children":128},{"style":71},[129],{"type":18,"value":130}," VK_BLEND_OP_REVERSE_SUBTRACT ",{"type":13,"tag":53,"props":132,"children":133},{"style":60},[134],{"type":18,"value":88},{"type":13,"tag":53,"props":136,"children":137},{"style":91},[138],{"type":18,"value":139}," 2",{"type":13,"tag":53,"props":141,"children":142},{"style":71},[143],{"type":18,"value":99},{"type":13,"tag":53,"props":145,"children":147},{"class":55,"line":146},5,[148,153,157,162],{"type":13,"tag":53,"props":149,"children":150},{"style":71},[151],{"type":18,"value":152}," VK_BLEND_OP_MIN ",{"type":13,"tag":53,"props":154,"children":155},{"style":60},[156],{"type":18,"value":88},{"type":13,"tag":53,"props":158,"children":159},{"style":91},[160],{"type":18,"value":161}," 3",{"type":13,"tag":53,"props":163,"children":164},{"style":71},[165],{"type":18,"value":99},{"type":13,"tag":53,"props":167,"children":169},{"class":55,"line":168},6,[170,175,179,184],{"type":13,"tag":53,"props":171,"children":172},{"style":71},[173],{"type":18,"value":174}," VK_BLEND_OP_MAX ",{"type":13,"tag":53,"props":176,"children":177},{"style":60},[178],{"type":18,"value":88},{"type":13,"tag":53,"props":180,"children":181},{"style":91},[182],{"type":18,"value":183}," 4",{"type":13,"tag":53,"props":185,"children":186},{"style":71},[187],{"type":18,"value":99},{"type":13,"tag":53,"props":189,"children":191},{"class":55,"line":190},7,[192],{"type":13,"tag":53,"props":193,"children":194},{"style":71},[195],{"type":18,"value":196},"} VkBlendOp;\n",{"type":13,"tag":40,"props":198,"children":203},{"className":199,"code":200,"filename":201,"language":202,"meta":46,"style":46},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BlendOp(u32);\nimpl BlendOp {\n pub const ADD: Self = 0;\n pub const SUBTRACT: Self = 1;\n pub const REVERSE_SUBTRACT: Self = 2;\n pub const MIN: Self = 3;\n pub const MAX: Self = 4;\n}\n","Rust","rs",[204],{"type":13,"tag":49,"props":205,"children":206},{"__ignoreMap":46},[207,241,258,300,336,372,408,444],{"type":13,"tag":53,"props":208,"children":209},{"class":55,"line":56},[210,215,220,226,231,236],{"type":13,"tag":53,"props":211,"children":212},{"style":60},[213],{"type":18,"value":214},"pub",{"type":13,"tag":53,"props":216,"children":217},{"style":60},[218],{"type":18,"value":219}," struct",{"type":13,"tag":53,"props":221,"children":223},{"style":222},"--shiki-default:#953800;--shiki-dark:#FFA657",[224],{"type":18,"value":225}," BlendOp",{"type":13,"tag":53,"props":227,"children":228},{"style":71},[229],{"type":18,"value":230},"(",{"type":13,"tag":53,"props":232,"children":233},{"style":222},[234],{"type":18,"value":235},"u32",{"type":13,"tag":53,"props":237,"children":238},{"style":71},[239],{"type":18,"value":240},");\n",{"type":13,"tag":53,"props":242,"children":243},{"class":55,"line":77},[244,249,253],{"type":13,"tag":53,"props":245,"children":246},{"style":60},[247],{"type":18,"value":248},"impl",{"type":13,"tag":53,"props":250,"children":251},{"style":222},[252],{"type":18,"value":225},{"type":13,"tag":53,"props":254,"children":255},{"style":71},[256],{"type":18,"value":257}," {\n",{"type":13,"tag":53,"props":259,"children":260},{"class":55,"line":102},[261,266,271,276,281,286,291,295],{"type":13,"tag":53,"props":262,"children":263},{"style":60},[264],{"type":18,"value":265}," pub",{"type":13,"tag":53,"props":267,"children":268},{"style":60},[269],{"type":18,"value":270}," const",{"type":13,"tag":53,"props":272,"children":273},{"style":91},[274],{"type":18,"value":275}," ADD",{"type":13,"tag":53,"props":277,"children":278},{"style":60},[279],{"type":18,"value":280},":",{"type":13,"tag":53,"props":282,"children":283},{"style":91},[284],{"type":18,"value":285}," Self",{"type":13,"tag":53,"props":287,"children":288},{"style":60},[289],{"type":18,"value":290}," =",{"type":13,"tag":53,"props":292,"children":293},{"style":91},[294],{"type":18,"value":94},{"type":13,"tag":53,"props":296,"children":297},{"style":71},[298],{"type":18,"value":299},";\n",{"type":13,"tag":53,"props":301,"children":302},{"class":55,"line":124},[303,307,311,316,320,324,328,332],{"type":13,"tag":53,"props":304,"children":305},{"style":60},[306],{"type":18,"value":265},{"type":13,"tag":53,"props":308,"children":309},{"style":60},[310],{"type":18,"value":270},{"type":13,"tag":53,"props":312,"children":313},{"style":91},[314],{"type":18,"value":315}," SUBTRACT",{"type":13,"tag":53,"props":317,"children":318},{"style":60},[319],{"type":18,"value":280},{"type":13,"tag":53,"props":321,"children":322},{"style":91},[323],{"type":18,"value":285},{"type":13,"tag":53,"props":325,"children":326},{"style":60},[327],{"type":18,"value":290},{"type":13,"tag":53,"props":329,"children":330},{"style":91},[331],{"type":18,"value":117},{"type":13,"tag":53,"props":333,"children":334},{"style":71},[335],{"type":18,"value":299},{"type":13,"tag":53,"props":337,"children":338},{"class":55,"line":146},[339,343,347,352,356,360,364,368],{"type":13,"tag":53,"props":340,"children":341},{"style":60},[342],{"type":18,"value":265},{"type":13,"tag":53,"props":344,"children":345},{"style":60},[346],{"type":18,"value":270},{"type":13,"tag":53,"props":348,"children":349},{"style":91},[350],{"type":18,"value":351}," REVERSE_SUBTRACT",{"type":13,"tag":53,"props":353,"children":354},{"style":60},[355],{"type":18,"value":280},{"type":13,"tag":53,"props":357,"children":358},{"style":91},[359],{"type":18,"value":285},{"type":13,"tag":53,"props":361,"children":362},{"style":60},[363],{"type":18,"value":290},{"type":13,"tag":53,"props":365,"children":366},{"style":91},[367],{"type":18,"value":139},{"type":13,"tag":53,"props":369,"children":370},{"style":71},[371],{"type":18,"value":299},{"type":13,"tag":53,"props":373,"children":374},{"class":55,"line":168},[375,379,383,388,392,396,400,404],{"type":13,"tag":53,"props":376,"children":377},{"style":60},[378],{"type":18,"value":265},{"type":13,"tag":53,"props":380,"children":381},{"style":60},[382],{"type":18,"value":270},{"type":13,"tag":53,"props":384,"children":385},{"style":91},[386],{"type":18,"value":387}," MIN",{"type":13,"tag":53,"props":389,"children":390},{"style":60},[391],{"type":18,"value":280},{"type":13,"tag":53,"props":393,"children":394},{"style":91},[395],{"type":18,"value":285},{"type":13,"tag":53,"props":397,"children":398},{"style":60},[399],{"type":18,"value":290},{"type":13,"tag":53,"props":401,"children":402},{"style":91},[403],{"type":18,"value":161},{"type":13,"tag":53,"props":405,"children":406},{"style":71},[407],{"type":18,"value":299},{"type":13,"tag":53,"props":409,"children":410},{"class":55,"line":190},[411,415,419,424,428,432,436,440],{"type":13,"tag":53,"props":412,"children":413},{"style":60},[414],{"type":18,"value":265},{"type":13,"tag":53,"props":416,"children":417},{"style":60},[418],{"type":18,"value":270},{"type":13,"tag":53,"props":420,"children":421},{"style":91},[422],{"type":18,"value":423}," MAX",{"type":13,"tag":53,"props":425,"children":426},{"style":60},[427],{"type":18,"value":280},{"type":13,"tag":53,"props":429,"children":430},{"style":91},[431],{"type":18,"value":285},{"type":13,"tag":53,"props":433,"children":434},{"style":60},[435],{"type":18,"value":290},{"type":13,"tag":53,"props":437,"children":438},{"style":91},[439],{"type":18,"value":183},{"type":13,"tag":53,"props":441,"children":442},{"style":71},[443],{"type":18,"value":299},{"type":13,"tag":53,"props":445,"children":447},{"class":55,"line":446},8,[448],{"type":13,"tag":53,"props":449,"children":450},{"style":71},[451],{"type":18,"value":452},"}\n",{"type":13,"tag":14,"props":454,"children":455},{},[456],{"type":18,"value":457},"The semantics of the basic blend operations are described in the table\nbelow:",{"type":13,"tag":459,"props":460,"children":466},"table",{"className":461},[462,463,464,465],"tableblock","frame-all","grid-all","stretch",[467,475,492,524],{"type":13,"tag":468,"props":469,"children":472},"caption",{"className":470},[471],"title",[473],{"type":18,"value":474},"Table 1. Basic Blend Operations",{"type":13,"tag":476,"props":477,"children":478},"colgroup",{},[479,484,488],{"type":13,"tag":480,"props":481,"children":483},"col",{"style":482},"width: 45%;",[],{"type":13,"tag":480,"props":485,"children":487},{"style":486},"width: 30%;",[],{"type":13,"tag":480,"props":489,"children":491},{"style":490},"width: 25%;",[],{"type":13,"tag":493,"props":494,"children":495},"thead",{},[496],{"type":13,"tag":497,"props":498,"children":499},"tr",{},[500,512,518],{"type":13,"tag":501,"props":502,"children":506},"th",{"className":503},[462,504,505],"halign-left","valign-top",[507,511],{"type":13,"tag":508,"props":509,"children":510},"link",{"xl:href":30},[],{"type":18,"value":4},{"type":13,"tag":501,"props":513,"children":515},{"className":514},[462,504,505],[516],{"type":18,"value":517},"RGB Components",{"type":13,"tag":501,"props":519,"children":521},{"className":520},[462,504,505],[522],{"type":18,"value":523},"Alpha Component",{"type":13,"tag":525,"props":526,"children":527},"tbody",{},[528,675,805,931,1030],{"type":13,"tag":497,"props":529,"children":530},{},[531,546,642],{"type":13,"tag":532,"props":533,"children":535},"td",{"className":534},[462,504,505],[536],{"type":13,"tag":14,"props":537,"children":539},{"className":538},[462],[540],{"type":13,"tag":541,"props":542,"children":543},"literal",{},[544],{"type":18,"value":545},"VK_BLEND_OP_ADD",{"type":13,"tag":532,"props":547,"children":549},{"className":548},[462,504,505],[550],{"type":13,"tag":14,"props":551,"children":553},{"className":552},[462],[554,587,589,615,616],{"type":13,"tag":555,"props":556,"children":558},"phrase",{"role":557},"eq",[559,561,567,569,574,576,581,583],{"type":18,"value":560},"R = R",{"type":13,"tag":562,"props":563,"children":564},"subscript",{},[565],{"type":18,"value":566},"s0",{"type":18,"value":568}," × S",{"type":13,"tag":562,"props":570,"children":571},{},[572],{"type":18,"value":573},"r",{"type":18,"value":575}," + R",{"type":13,"tag":562,"props":577,"children":578},{},[579],{"type":18,"value":580},"d",{"type":18,"value":582}," × D",{"type":13,"tag":562,"props":584,"children":585},{},[586],{"type":18,"value":573},{"type":18,"value":588},"\n ",{"type":13,"tag":555,"props":590,"children":591},{"role":557},[592,594,598,599,604,606,610,611],{"type":18,"value":593},"G = G",{"type":13,"tag":562,"props":595,"children":596},{},[597],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":600,"children":601},{},[602],{"type":18,"value":603},"g",{"type":18,"value":605}," + G",{"type":13,"tag":562,"props":607,"children":608},{},[609],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":612,"children":613},{},[614],{"type":18,"value":603},{"type":18,"value":588},{"type":13,"tag":555,"props":617,"children":618},{"role":557},[619,621,625,626,631,633,637,638],{"type":18,"value":620},"B = B",{"type":13,"tag":562,"props":622,"children":623},{},[624],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":627,"children":628},{},[629],{"type":18,"value":630},"b",{"type":18,"value":632}," + B",{"type":13,"tag":562,"props":634,"children":635},{},[636],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":639,"children":640},{},[641],{"type":18,"value":630},{"type":13,"tag":532,"props":643,"children":645},{"className":644},[462,504,505],[646],{"type":13,"tag":14,"props":647,"children":649},{"className":648},[462],[650],{"type":13,"tag":555,"props":651,"children":652},{"role":557},[653,655,659,660,664,666,670,671],{"type":18,"value":654},"A = A",{"type":13,"tag":562,"props":656,"children":657},{},[658],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":661,"children":662},{},[663],{"type":18,"value":28},{"type":18,"value":665}," + A",{"type":13,"tag":562,"props":667,"children":668},{},[669],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":672,"children":673},{},[674],{"type":18,"value":28},{"type":13,"tag":497,"props":676,"children":677},{},[678,691,773],{"type":13,"tag":532,"props":679,"children":681},{"className":680},[462,504,505],[682],{"type":13,"tag":14,"props":683,"children":685},{"className":684},[462],[686],{"type":13,"tag":541,"props":687,"children":688},{},[689],{"type":18,"value":690},"VK_BLEND_OP_SUBTRACT",{"type":13,"tag":532,"props":692,"children":694},{"className":693},[462,504,505],[695],{"type":13,"tag":14,"props":696,"children":698},{"className":697},[462],[699,723,724,748,749],{"type":13,"tag":555,"props":700,"children":701},{"role":557},[702,703,707,708,712,714,718,719],{"type":18,"value":560},{"type":13,"tag":562,"props":704,"children":705},{},[706],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":709,"children":710},{},[711],{"type":18,"value":573},{"type":18,"value":713}," - R",{"type":13,"tag":562,"props":715,"children":716},{},[717],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":720,"children":721},{},[722],{"type":18,"value":573},{"type":18,"value":588},{"type":13,"tag":555,"props":725,"children":726},{"role":557},[727,728,732,733,737,739,743,744],{"type":18,"value":593},{"type":13,"tag":562,"props":729,"children":730},{},[731],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":734,"children":735},{},[736],{"type":18,"value":603},{"type":18,"value":738}," - G",{"type":13,"tag":562,"props":740,"children":741},{},[742],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":745,"children":746},{},[747],{"type":18,"value":603},{"type":18,"value":588},{"type":13,"tag":555,"props":750,"children":751},{"role":557},[752,753,757,758,762,764,768,769],{"type":18,"value":620},{"type":13,"tag":562,"props":754,"children":755},{},[756],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":759,"children":760},{},[761],{"type":18,"value":630},{"type":18,"value":763}," - B",{"type":13,"tag":562,"props":765,"children":766},{},[767],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":770,"children":771},{},[772],{"type":18,"value":630},{"type":13,"tag":532,"props":774,"children":776},{"className":775},[462,504,505],[777],{"type":13,"tag":14,"props":778,"children":780},{"className":779},[462],[781],{"type":13,"tag":555,"props":782,"children":783},{"role":557},[784,785,789,790,794,796,800,801],{"type":18,"value":654},{"type":13,"tag":562,"props":786,"children":787},{},[788],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":791,"children":792},{},[793],{"type":18,"value":28},{"type":18,"value":795}," - A",{"type":13,"tag":562,"props":797,"children":798},{},[799],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":802,"children":803},{},[804],{"type":18,"value":28},{"type":13,"tag":497,"props":806,"children":807},{},[808,821,900],{"type":13,"tag":532,"props":809,"children":811},{"className":810},[462,504,505],[812],{"type":13,"tag":14,"props":813,"children":815},{"className":814},[462],[816],{"type":13,"tag":541,"props":817,"children":818},{},[819],{"type":18,"value":820},"VK_BLEND_OP_REVERSE_SUBTRACT",{"type":13,"tag":532,"props":822,"children":824},{"className":823},[462,504,505],[825],{"type":13,"tag":14,"props":826,"children":828},{"className":827},[462],[829,852,853,876,877],{"type":13,"tag":555,"props":830,"children":831},{"role":557},[832,833,837,838,842,843,847,848],{"type":18,"value":560},{"type":13,"tag":562,"props":834,"children":835},{},[836],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":839,"children":840},{},[841],{"type":18,"value":573},{"type":18,"value":713},{"type":13,"tag":562,"props":844,"children":845},{},[846],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":849,"children":850},{},[851],{"type":18,"value":573},{"type":18,"value":588},{"type":13,"tag":555,"props":854,"children":855},{"role":557},[856,857,861,862,866,867,871,872],{"type":18,"value":593},{"type":13,"tag":562,"props":858,"children":859},{},[860],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":863,"children":864},{},[865],{"type":18,"value":603},{"type":18,"value":738},{"type":13,"tag":562,"props":868,"children":869},{},[870],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":873,"children":874},{},[875],{"type":18,"value":603},{"type":18,"value":588},{"type":13,"tag":555,"props":878,"children":879},{"role":557},[880,881,885,886,890,891,895,896],{"type":18,"value":620},{"type":13,"tag":562,"props":882,"children":883},{},[884],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":887,"children":888},{},[889],{"type":18,"value":630},{"type":18,"value":763},{"type":13,"tag":562,"props":892,"children":893},{},[894],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":897,"children":898},{},[899],{"type":18,"value":630},{"type":13,"tag":532,"props":901,"children":903},{"className":902},[462,504,505],[904],{"type":13,"tag":14,"props":905,"children":907},{"className":906},[462],[908],{"type":13,"tag":555,"props":909,"children":910},{"role":557},[911,912,916,917,921,922,926,927],{"type":18,"value":654},{"type":13,"tag":562,"props":913,"children":914},{},[915],{"type":18,"value":580},{"type":18,"value":582},{"type":13,"tag":562,"props":918,"children":919},{},[920],{"type":18,"value":28},{"type":18,"value":795},{"type":13,"tag":562,"props":923,"children":924},{},[925],{"type":18,"value":566},{"type":18,"value":568},{"type":13,"tag":562,"props":928,"children":929},{},[930],{"type":18,"value":28},{"type":13,"tag":497,"props":932,"children":933},{},[934,947,1006],{"type":13,"tag":532,"props":935,"children":937},{"className":936},[462,504,505],[938],{"type":13,"tag":14,"props":939,"children":941},{"className":940},[462],[942],{"type":13,"tag":541,"props":943,"children":944},{},[945],{"type":18,"value":946},"VK_BLEND_OP_MIN",{"type":13,"tag":532,"props":948,"children":950},{"className":949},[462,504,505],[951],{"type":13,"tag":14,"props":952,"children":954},{"className":953},[462],[955,972,973,989,990],{"type":13,"tag":555,"props":956,"children":957},{"role":557},[958,960,964,966,970],{"type":18,"value":959},"R = min(R",{"type":13,"tag":562,"props":961,"children":962},{},[963],{"type":18,"value":566},{"type":18,"value":965},",R",{"type":13,"tag":562,"props":967,"children":968},{},[969],{"type":18,"value":580},{"type":18,"value":971},")",{"type":18,"value":588},{"type":13,"tag":555,"props":974,"children":975},{"role":557},[976,978,982,984,988],{"type":18,"value":977},"G = min(G",{"type":13,"tag":562,"props":979,"children":980},{},[981],{"type":18,"value":566},{"type":18,"value":983},",G",{"type":13,"tag":562,"props":985,"children":986},{},[987],{"type":18,"value":580},{"type":18,"value":971},{"type":18,"value":588},{"type":13,"tag":555,"props":991,"children":992},{"role":557},[993,995,999,1001,1005],{"type":18,"value":994},"B = min(B",{"type":13,"tag":562,"props":996,"children":997},{},[998],{"type":18,"value":566},{"type":18,"value":1000},",B",{"type":13,"tag":562,"props":1002,"children":1003},{},[1004],{"type":18,"value":580},{"type":18,"value":971},{"type":13,"tag":532,"props":1007,"children":1009},{"className":1008},[462,504,505],[1010],{"type":13,"tag":14,"props":1011,"children":1013},{"className":1012},[462],[1014],{"type":13,"tag":555,"props":1015,"children":1016},{"role":557},[1017,1019,1023,1025,1029],{"type":18,"value":1018},"A = min(A",{"type":13,"tag":562,"props":1020,"children":1021},{},[1022],{"type":18,"value":566},{"type":18,"value":1024},",A",{"type":13,"tag":562,"props":1026,"children":1027},{},[1028],{"type":18,"value":580},{"type":18,"value":971},{"type":13,"tag":497,"props":1031,"children":1032},{},[1033,1046,1101],{"type":13,"tag":532,"props":1034,"children":1036},{"className":1035},[462,504,505],[1037],{"type":13,"tag":14,"props":1038,"children":1040},{"className":1039},[462],[1041],{"type":13,"tag":541,"props":1042,"children":1043},{},[1044],{"type":18,"value":1045},"VK_BLEND_OP_MAX",{"type":13,"tag":532,"props":1047,"children":1049},{"className":1048},[462,504,505],[1050],{"type":13,"tag":14,"props":1051,"children":1053},{"className":1052},[462],[1054,1069,1070,1085,1086],{"type":13,"tag":555,"props":1055,"children":1056},{"role":557},[1057,1059,1063,1064,1068],{"type":18,"value":1058},"R = max(R",{"type":13,"tag":562,"props":1060,"children":1061},{},[1062],{"type":18,"value":566},{"type":18,"value":965},{"type":13,"tag":562,"props":1065,"children":1066},{},[1067],{"type":18,"value":580},{"type":18,"value":971},{"type":18,"value":588},{"type":13,"tag":555,"props":1071,"children":1072},{"role":557},[1073,1075,1079,1080,1084],{"type":18,"value":1074},"G = max(G",{"type":13,"tag":562,"props":1076,"children":1077},{},[1078],{"type":18,"value":566},{"type":18,"value":983},{"type":13,"tag":562,"props":1081,"children":1082},{},[1083],{"type":18,"value":580},{"type":18,"value":971},{"type":18,"value":588},{"type":13,"tag":555,"props":1087,"children":1088},{"role":557},[1089,1091,1095,1096,1100],{"type":18,"value":1090},"B = max(B",{"type":13,"tag":562,"props":1092,"children":1093},{},[1094],{"type":18,"value":566},{"type":18,"value":1000},{"type":13,"tag":562,"props":1097,"children":1098},{},[1099],{"type":18,"value":580},{"type":18,"value":971},{"type":13,"tag":532,"props":1102,"children":1104},{"className":1103},[462,504,505],[1105],{"type":13,"tag":14,"props":1106,"children":1108},{"className":1107},[462],[1109],{"type":13,"tag":555,"props":1110,"children":1111},{"role":557},[1112,1114,1118,1119,1123],{"type":18,"value":1113},"A = max(A",{"type":13,"tag":562,"props":1115,"children":1116},{},[1117],{"type":18,"value":566},{"type":18,"value":1024},{"type":13,"tag":562,"props":1120,"children":1121},{},[1122],{"type":18,"value":580},{"type":18,"value":971},{"type":13,"tag":14,"props":1125,"children":1126},{},[1127],{"type":18,"value":1128},"In this table, the following conventions are used:",{"type":13,"tag":1130,"props":1131,"children":1132},"ul",{},[1133,1164,1189,1217],{"type":13,"tag":1134,"props":1135,"children":1136},"li",{},[1137,1139,1144,1146,1150,1152,1156,1158,1162],{"type":18,"value":1138},"R",{"type":13,"tag":1140,"props":1141,"children":1142},"sub",{},[1143],{"type":18,"value":566},{"type":18,"value":1145},", G",{"type":13,"tag":1140,"props":1147,"children":1148},{},[1149],{"type":18,"value":566},{"type":18,"value":1151},", B",{"type":13,"tag":1140,"props":1153,"children":1154},{},[1155],{"type":18,"value":566},{"type":18,"value":1157}," and A",{"type":13,"tag":1140,"props":1159,"children":1160},{},[1161],{"type":18,"value":566},{"type":18,"value":1163}," represent the first source\ncolor R, G, B, and A components, respectively.",{"type":13,"tag":1134,"props":1165,"children":1166},{},[1167,1168,1172,1173,1177,1178,1182,1183,1187],{"type":18,"value":1138},{"type":13,"tag":1140,"props":1169,"children":1170},{},[1171],{"type":18,"value":580},{"type":18,"value":1145},{"type":13,"tag":1140,"props":1174,"children":1175},{},[1176],{"type":18,"value":580},{"type":18,"value":1151},{"type":13,"tag":1140,"props":1179,"children":1180},{},[1181],{"type":18,"value":580},{"type":18,"value":1157},{"type":13,"tag":1140,"props":1184,"children":1185},{},[1186],{"type":18,"value":580},{"type":18,"value":1188}," represent the R, G, B, and A\ncomponents of the destination color.\nThat is, the color currently in the corresponding color attachment for\nthis fragment/sample.",{"type":13,"tag":1134,"props":1190,"children":1191},{},[1192,1194,1198,1200,1204,1205,1209,1211,1215],{"type":18,"value":1193},"S",{"type":13,"tag":1140,"props":1195,"children":1196},{},[1197],{"type":18,"value":573},{"type":18,"value":1199},", S",{"type":13,"tag":1140,"props":1201,"children":1202},{},[1203],{"type":18,"value":603},{"type":18,"value":1199},{"type":13,"tag":1140,"props":1206,"children":1207},{},[1208],{"type":18,"value":630},{"type":18,"value":1210}," and S",{"type":13,"tag":1140,"props":1212,"children":1213},{},[1214],{"type":18,"value":28},{"type":18,"value":1216}," represent the source blend factor\nR, G, B, and A components, respectively.",{"type":13,"tag":1134,"props":1218,"children":1219},{},[1220,1222,1226,1228,1232,1233,1237,1239,1243],{"type":18,"value":1221},"D",{"type":13,"tag":1140,"props":1223,"children":1224},{},[1225],{"type":18,"value":573},{"type":18,"value":1227},", D",{"type":13,"tag":1140,"props":1229,"children":1230},{},[1231],{"type":18,"value":603},{"type":18,"value":1227},{"type":13,"tag":1140,"props":1234,"children":1235},{},[1236],{"type":18,"value":630},{"type":18,"value":1238}," and D",{"type":13,"tag":1140,"props":1240,"children":1241},{},[1242],{"type":18,"value":28},{"type":18,"value":1244}," represent the destination blend\nfactor R, G, B, and A components, respectively.",{"type":13,"tag":14,"props":1246,"children":1247},{},[1248,1250,1254,1255,1259,1260,1264,1265,1269],{"type":18,"value":1249},"The blending operation produces a new set of values R, G, B and\nA, which are written to the framebuffer attachment.\nIf blending is not enabled for this attachment, then R, G, B and\nA are assigned R",{"type":13,"tag":1140,"props":1251,"children":1252},{},[1253],{"type":18,"value":566},{"type":18,"value":1145},{"type":13,"tag":1140,"props":1256,"children":1257},{},[1258],{"type":18,"value":566},{"type":18,"value":1151},{"type":13,"tag":1140,"props":1261,"children":1262},{},[1263],{"type":18,"value":566},{"type":18,"value":1157},{"type":13,"tag":1140,"props":1266,"children":1267},{},[1268],{"type":18,"value":566},{"type":18,"value":1270},",\nrespectively.",{"type":13,"tag":14,"props":1272,"children":1273},{},[1274],{"type":18,"value":1275},"If the color attachment is fixed-point, the components of the source and\ndestination values and blend factors are each clamped to [0,1] or\n[-1,1] respectively for an unsigned normalized or signed normalized\ncolor attachment prior to evaluating the blend operations.\nIf the color attachment is floating-point, no clamping occurs.",{"type":13,"tag":1277,"props":1278,"children":1279},"style",{},[1280],{"type":18,"value":1281},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":46,"searchDepth":77,"depth":77,"links":1283},[],"markdown",1725732540357]