[{"data":1,"prerenderedAt":1317},["ShallowReactive",2],{"$fYTlFR6sQyw48LUvU3W2-6vh6LcMqGZPifFkXxXlxj5k":3},{"title":4,"description":5,"parent":6,"aliases":7,"type":9,"xrefs":10,"body":11,"_type":1316,"_id":4},"VkResolveModeFlagBits","Bitmask indicating supported depth and stencil resolve modes","VK_VERSION_1_2",[8],"VkResolveModeFlagBitsKHR","enums",[],{"type":12,"children":13,"toc":1314},"root",[14,22,930,1010,1146,1158,1170,1256,1308],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19],{"type":20,"value":21},"text","Multisample values in a multisample attachment are combined according to the\nresolve mode used:",{"type":15,"tag":23,"props":24,"children":25},"code-group",{},[26,371],{"type":15,"tag":27,"props":28,"children":34},"pre",{"className":29,"code":30,"filename":31,"language":32,"meta":33,"style":33},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkResolveModeFlagBits {\n VK_RESOLVE_MODE_NONE = 0,\n VK_RESOLVE_MODE_SAMPLE_ZERO_BIT = 0x00000001,\n VK_RESOLVE_MODE_AVERAGE_BIT = 0x00000002,\n VK_RESOLVE_MODE_MIN_BIT = 0x00000004,\n VK_RESOLVE_MODE_MAX_BIT = 0x00000008,\n // Provided by extensions\n VK_RESOLVE_MODE_NONE_KHR = VK_RESOLVE_MODE_NONE,\n VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR = VK_RESOLVE_MODE_SAMPLE_ZERO_BIT,\n VK_RESOLVE_MODE_AVERAGE_BIT_KHR = VK_RESOLVE_MODE_AVERAGE_BIT,\n VK_RESOLVE_MODE_MIN_BIT_KHR = VK_RESOLVE_MODE_MIN_BIT,\n VK_RESOLVE_MODE_MAX_BIT_KHR = VK_RESOLVE_MODE_MAX_BIT,\n VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID = 0x00000010,\n VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID = VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID,\n VK_RESOLVE_MODE_CUSTOM_BIT_EXT = 0x00000020,\n} VkResolveModeFlagBits;\n","C","c","",[35],{"type":15,"tag":36,"props":37,"children":38},"code",{"__ignoreMap":33},[39,62,87,114,140,166,192,202,220,238,256,274,292,318,336,362],{"type":15,"tag":40,"props":41,"children":44},"span",{"class":42,"line":43},"line",1,[45,51,56],{"type":15,"tag":40,"props":46,"children":48},{"style":47},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[49],{"type":20,"value":50},"typedef",{"type":15,"tag":40,"props":52,"children":53},{"style":47},[54],{"type":20,"value":55}," enum",{"type":15,"tag":40,"props":57,"children":59},{"style":58},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[60],{"type":20,"value":61}," VkResolveModeFlagBits {\n",{"type":15,"tag":40,"props":63,"children":65},{"class":42,"line":64},2,[66,71,76,82],{"type":15,"tag":40,"props":67,"children":68},{"style":58},[69],{"type":20,"value":70}," VK_RESOLVE_MODE_NONE ",{"type":15,"tag":40,"props":72,"children":73},{"style":47},[74],{"type":20,"value":75},"=",{"type":15,"tag":40,"props":77,"children":79},{"style":78},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[80],{"type":20,"value":81}," 0",{"type":15,"tag":40,"props":83,"children":84},{"style":58},[85],{"type":20,"value":86},",\n",{"type":15,"tag":40,"props":88,"children":90},{"class":42,"line":89},3,[91,96,100,105,110],{"type":15,"tag":40,"props":92,"children":93},{"style":58},[94],{"type":20,"value":95}," VK_RESOLVE_MODE_SAMPLE_ZERO_BIT ",{"type":15,"tag":40,"props":97,"children":98},{"style":47},[99],{"type":20,"value":75},{"type":15,"tag":40,"props":101,"children":102},{"style":47},[103],{"type":20,"value":104}," 0x",{"type":15,"tag":40,"props":106,"children":107},{"style":78},[108],{"type":20,"value":109},"00000001",{"type":15,"tag":40,"props":111,"children":112},{"style":58},[113],{"type":20,"value":86},{"type":15,"tag":40,"props":115,"children":117},{"class":42,"line":116},4,[118,123,127,131,136],{"type":15,"tag":40,"props":119,"children":120},{"style":58},[121],{"type":20,"value":122}," VK_RESOLVE_MODE_AVERAGE_BIT ",{"type":15,"tag":40,"props":124,"children":125},{"style":47},[126],{"type":20,"value":75},{"type":15,"tag":40,"props":128,"children":129},{"style":47},[130],{"type":20,"value":104},{"type":15,"tag":40,"props":132,"children":133},{"style":78},[134],{"type":20,"value":135},"00000002",{"type":15,"tag":40,"props":137,"children":138},{"style":58},[139],{"type":20,"value":86},{"type":15,"tag":40,"props":141,"children":143},{"class":42,"line":142},5,[144,149,153,157,162],{"type":15,"tag":40,"props":145,"children":146},{"style":58},[147],{"type":20,"value":148}," VK_RESOLVE_MODE_MIN_BIT ",{"type":15,"tag":40,"props":150,"children":151},{"style":47},[152],{"type":20,"value":75},{"type":15,"tag":40,"props":154,"children":155},{"style":47},[156],{"type":20,"value":104},{"type":15,"tag":40,"props":158,"children":159},{"style":78},[160],{"type":20,"value":161},"00000004",{"type":15,"tag":40,"props":163,"children":164},{"style":58},[165],{"type":20,"value":86},{"type":15,"tag":40,"props":167,"children":169},{"class":42,"line":168},6,[170,175,179,183,188],{"type":15,"tag":40,"props":171,"children":172},{"style":58},[173],{"type":20,"value":174}," VK_RESOLVE_MODE_MAX_BIT ",{"type":15,"tag":40,"props":176,"children":177},{"style":47},[178],{"type":20,"value":75},{"type":15,"tag":40,"props":180,"children":181},{"style":47},[182],{"type":20,"value":104},{"type":15,"tag":40,"props":184,"children":185},{"style":78},[186],{"type":20,"value":187},"00000008",{"type":15,"tag":40,"props":189,"children":190},{"style":58},[191],{"type":20,"value":86},{"type":15,"tag":40,"props":193,"children":195},{"class":42,"line":194},7,[196],{"type":15,"tag":40,"props":197,"children":199},{"style":198},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[200],{"type":20,"value":201}," // Provided by extensions\n",{"type":15,"tag":40,"props":203,"children":205},{"class":42,"line":204},8,[206,211,215],{"type":15,"tag":40,"props":207,"children":208},{"style":58},[209],{"type":20,"value":210}," VK_RESOLVE_MODE_NONE_KHR ",{"type":15,"tag":40,"props":212,"children":213},{"style":47},[214],{"type":20,"value":75},{"type":15,"tag":40,"props":216,"children":217},{"style":58},[218],{"type":20,"value":219}," VK_RESOLVE_MODE_NONE,\n",{"type":15,"tag":40,"props":221,"children":223},{"class":42,"line":222},9,[224,229,233],{"type":15,"tag":40,"props":225,"children":226},{"style":58},[227],{"type":20,"value":228}," VK_RESOLVE_MODE_SAMPLE_ZERO_BIT_KHR ",{"type":15,"tag":40,"props":230,"children":231},{"style":47},[232],{"type":20,"value":75},{"type":15,"tag":40,"props":234,"children":235},{"style":58},[236],{"type":20,"value":237}," VK_RESOLVE_MODE_SAMPLE_ZERO_BIT,\n",{"type":15,"tag":40,"props":239,"children":241},{"class":42,"line":240},10,[242,247,251],{"type":15,"tag":40,"props":243,"children":244},{"style":58},[245],{"type":20,"value":246}," VK_RESOLVE_MODE_AVERAGE_BIT_KHR ",{"type":15,"tag":40,"props":248,"children":249},{"style":47},[250],{"type":20,"value":75},{"type":15,"tag":40,"props":252,"children":253},{"style":58},[254],{"type":20,"value":255}," VK_RESOLVE_MODE_AVERAGE_BIT,\n",{"type":15,"tag":40,"props":257,"children":259},{"class":42,"line":258},11,[260,265,269],{"type":15,"tag":40,"props":261,"children":262},{"style":58},[263],{"type":20,"value":264}," VK_RESOLVE_MODE_MIN_BIT_KHR ",{"type":15,"tag":40,"props":266,"children":267},{"style":47},[268],{"type":20,"value":75},{"type":15,"tag":40,"props":270,"children":271},{"style":58},[272],{"type":20,"value":273}," VK_RESOLVE_MODE_MIN_BIT,\n",{"type":15,"tag":40,"props":275,"children":277},{"class":42,"line":276},12,[278,283,287],{"type":15,"tag":40,"props":279,"children":280},{"style":58},[281],{"type":20,"value":282}," VK_RESOLVE_MODE_MAX_BIT_KHR ",{"type":15,"tag":40,"props":284,"children":285},{"style":47},[286],{"type":20,"value":75},{"type":15,"tag":40,"props":288,"children":289},{"style":58},[290],{"type":20,"value":291}," VK_RESOLVE_MODE_MAX_BIT,\n",{"type":15,"tag":40,"props":293,"children":295},{"class":42,"line":294},13,[296,301,305,309,314],{"type":15,"tag":40,"props":297,"children":298},{"style":58},[299],{"type":20,"value":300}," VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID ",{"type":15,"tag":40,"props":302,"children":303},{"style":47},[304],{"type":20,"value":75},{"type":15,"tag":40,"props":306,"children":307},{"style":47},[308],{"type":20,"value":104},{"type":15,"tag":40,"props":310,"children":311},{"style":78},[312],{"type":20,"value":313},"00000010",{"type":15,"tag":40,"props":315,"children":316},{"style":58},[317],{"type":20,"value":86},{"type":15,"tag":40,"props":319,"children":321},{"class":42,"line":320},14,[322,327,331],{"type":15,"tag":40,"props":323,"children":324},{"style":58},[325],{"type":20,"value":326}," VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID ",{"type":15,"tag":40,"props":328,"children":329},{"style":47},[330],{"type":20,"value":75},{"type":15,"tag":40,"props":332,"children":333},{"style":58},[334],{"type":20,"value":335}," VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID,\n",{"type":15,"tag":40,"props":337,"children":339},{"class":42,"line":338},15,[340,345,349,353,358],{"type":15,"tag":40,"props":341,"children":342},{"style":58},[343],{"type":20,"value":344}," VK_RESOLVE_MODE_CUSTOM_BIT_EXT ",{"type":15,"tag":40,"props":346,"children":347},{"style":47},[348],{"type":20,"value":75},{"type":15,"tag":40,"props":350,"children":351},{"style":47},[352],{"type":20,"value":104},{"type":15,"tag":40,"props":354,"children":355},{"style":78},[356],{"type":20,"value":357},"00000020",{"type":15,"tag":40,"props":359,"children":360},{"style":58},[361],{"type":20,"value":86},{"type":15,"tag":40,"props":363,"children":365},{"class":42,"line":364},16,[366],{"type":15,"tag":40,"props":367,"children":368},{"style":58},[369],{"type":20,"value":370},"} VkResolveModeFlagBits;\n",{"type":15,"tag":27,"props":372,"children":377},{"className":373,"code":374,"filename":375,"language":376,"meta":33,"style":33},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ResolveModeFlagBits(u32);\nimpl ResolveModeFlagBits {\n pub const NONE: Self = 0;\n pub const SAMPLE_ZERO: Self = 0x00000001;\n pub const AVERAGE: Self = 0x00000002;\n pub const MIN: Self = 0x00000004;\n pub const MAX: Self = 0x00000008;\n pub const NONE_KHR: Self = Self::NONE;\n pub const SAMPLE_ZERO_KHR: Self = Self::SAMPLE_ZERO;\n pub const AVERAGE_KHR: Self = Self::AVERAGE;\n pub const MIN_KHR: Self = Self::MIN;\n pub const MAX_KHR: Self = Self::MAX;\n pub const EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID: Self = 0x00000010;\n pub const CUSTOM_EXT: Self = 0x00000020;\n}\n","Rust","rs",[378],{"type":15,"tag":36,"props":379,"children":380},{"__ignoreMap":33},[381,415,432,474,511,548,585,622,668,713,758,803,848,885,922],{"type":15,"tag":40,"props":382,"children":383},{"class":42,"line":43},[384,389,394,400,405,410],{"type":15,"tag":40,"props":385,"children":386},{"style":47},[387],{"type":20,"value":388},"pub",{"type":15,"tag":40,"props":390,"children":391},{"style":47},[392],{"type":20,"value":393}," struct",{"type":15,"tag":40,"props":395,"children":397},{"style":396},"--shiki-default:#953800;--shiki-dark:#FFA657",[398],{"type":20,"value":399}," ResolveModeFlagBits",{"type":15,"tag":40,"props":401,"children":402},{"style":58},[403],{"type":20,"value":404},"(",{"type":15,"tag":40,"props":406,"children":407},{"style":396},[408],{"type":20,"value":409},"u32",{"type":15,"tag":40,"props":411,"children":412},{"style":58},[413],{"type":20,"value":414},");\n",{"type":15,"tag":40,"props":416,"children":417},{"class":42,"line":64},[418,423,427],{"type":15,"tag":40,"props":419,"children":420},{"style":47},[421],{"type":20,"value":422},"impl",{"type":15,"tag":40,"props":424,"children":425},{"style":396},[426],{"type":20,"value":399},{"type":15,"tag":40,"props":428,"children":429},{"style":58},[430],{"type":20,"value":431}," {\n",{"type":15,"tag":40,"props":433,"children":434},{"class":42,"line":89},[435,440,445,450,455,460,465,469],{"type":15,"tag":40,"props":436,"children":437},{"style":47},[438],{"type":20,"value":439}," pub",{"type":15,"tag":40,"props":441,"children":442},{"style":47},[443],{"type":20,"value":444}," const",{"type":15,"tag":40,"props":446,"children":447},{"style":78},[448],{"type":20,"value":449}," NONE",{"type":15,"tag":40,"props":451,"children":452},{"style":47},[453],{"type":20,"value":454},":",{"type":15,"tag":40,"props":456,"children":457},{"style":78},[458],{"type":20,"value":459}," Self",{"type":15,"tag":40,"props":461,"children":462},{"style":47},[463],{"type":20,"value":464}," =",{"type":15,"tag":40,"props":466,"children":467},{"style":78},[468],{"type":20,"value":81},{"type":15,"tag":40,"props":470,"children":471},{"style":58},[472],{"type":20,"value":473},";\n",{"type":15,"tag":40,"props":475,"children":476},{"class":42,"line":116},[477,481,485,490,494,498,502,507],{"type":15,"tag":40,"props":478,"children":479},{"style":47},[480],{"type":20,"value":439},{"type":15,"tag":40,"props":482,"children":483},{"style":47},[484],{"type":20,"value":444},{"type":15,"tag":40,"props":486,"children":487},{"style":78},[488],{"type":20,"value":489}," SAMPLE_ZERO",{"type":15,"tag":40,"props":491,"children":492},{"style":47},[493],{"type":20,"value":454},{"type":15,"tag":40,"props":495,"children":496},{"style":78},[497],{"type":20,"value":459},{"type":15,"tag":40,"props":499,"children":500},{"style":47},[501],{"type":20,"value":464},{"type":15,"tag":40,"props":503,"children":504},{"style":78},[505],{"type":20,"value":506}," 0x00000001",{"type":15,"tag":40,"props":508,"children":509},{"style":58},[510],{"type":20,"value":473},{"type":15,"tag":40,"props":512,"children":513},{"class":42,"line":142},[514,518,522,527,531,535,539,544],{"type":15,"tag":40,"props":515,"children":516},{"style":47},[517],{"type":20,"value":439},{"type":15,"tag":40,"props":519,"children":520},{"style":47},[521],{"type":20,"value":444},{"type":15,"tag":40,"props":523,"children":524},{"style":78},[525],{"type":20,"value":526}," AVERAGE",{"type":15,"tag":40,"props":528,"children":529},{"style":47},[530],{"type":20,"value":454},{"type":15,"tag":40,"props":532,"children":533},{"style":78},[534],{"type":20,"value":459},{"type":15,"tag":40,"props":536,"children":537},{"style":47},[538],{"type":20,"value":464},{"type":15,"tag":40,"props":540,"children":541},{"style":78},[542],{"type":20,"value":543}," 0x00000002",{"type":15,"tag":40,"props":545,"children":546},{"style":58},[547],{"type":20,"value":473},{"type":15,"tag":40,"props":549,"children":550},{"class":42,"line":168},[551,555,559,564,568,572,576,581],{"type":15,"tag":40,"props":552,"children":553},{"style":47},[554],{"type":20,"value":439},{"type":15,"tag":40,"props":556,"children":557},{"style":47},[558],{"type":20,"value":444},{"type":15,"tag":40,"props":560,"children":561},{"style":78},[562],{"type":20,"value":563}," MIN",{"type":15,"tag":40,"props":565,"children":566},{"style":47},[567],{"type":20,"value":454},{"type":15,"tag":40,"props":569,"children":570},{"style":78},[571],{"type":20,"value":459},{"type":15,"tag":40,"props":573,"children":574},{"style":47},[575],{"type":20,"value":464},{"type":15,"tag":40,"props":577,"children":578},{"style":78},[579],{"type":20,"value":580}," 0x00000004",{"type":15,"tag":40,"props":582,"children":583},{"style":58},[584],{"type":20,"value":473},{"type":15,"tag":40,"props":586,"children":587},{"class":42,"line":194},[588,592,596,601,605,609,613,618],{"type":15,"tag":40,"props":589,"children":590},{"style":47},[591],{"type":20,"value":439},{"type":15,"tag":40,"props":593,"children":594},{"style":47},[595],{"type":20,"value":444},{"type":15,"tag":40,"props":597,"children":598},{"style":78},[599],{"type":20,"value":600}," MAX",{"type":15,"tag":40,"props":602,"children":603},{"style":47},[604],{"type":20,"value":454},{"type":15,"tag":40,"props":606,"children":607},{"style":78},[608],{"type":20,"value":459},{"type":15,"tag":40,"props":610,"children":611},{"style":47},[612],{"type":20,"value":464},{"type":15,"tag":40,"props":614,"children":615},{"style":78},[616],{"type":20,"value":617}," 0x00000008",{"type":15,"tag":40,"props":619,"children":620},{"style":58},[621],{"type":20,"value":473},{"type":15,"tag":40,"props":623,"children":624},{"class":42,"line":204},[625,629,633,638,642,646,650,654,659,664],{"type":15,"tag":40,"props":626,"children":627},{"style":47},[628],{"type":20,"value":439},{"type":15,"tag":40,"props":630,"children":631},{"style":47},[632],{"type":20,"value":444},{"type":15,"tag":40,"props":634,"children":635},{"style":78},[636],{"type":20,"value":637}," NONE_KHR",{"type":15,"tag":40,"props":639,"children":640},{"style":47},[641],{"type":20,"value":454},{"type":15,"tag":40,"props":643,"children":644},{"style":78},[645],{"type":20,"value":459},{"type":15,"tag":40,"props":647,"children":648},{"style":47},[649],{"type":20,"value":464},{"type":15,"tag":40,"props":651,"children":652},{"style":78},[653],{"type":20,"value":459},{"type":15,"tag":40,"props":655,"children":656},{"style":47},[657],{"type":20,"value":658},"::",{"type":15,"tag":40,"props":660,"children":661},{"style":78},[662],{"type":20,"value":663},"NONE",{"type":15,"tag":40,"props":665,"children":666},{"style":58},[667],{"type":20,"value":473},{"type":15,"tag":40,"props":669,"children":670},{"class":42,"line":222},[671,675,679,684,688,692,696,700,704,709],{"type":15,"tag":40,"props":672,"children":673},{"style":47},[674],{"type":20,"value":439},{"type":15,"tag":40,"props":676,"children":677},{"style":47},[678],{"type":20,"value":444},{"type":15,"tag":40,"props":680,"children":681},{"style":78},[682],{"type":20,"value":683}," SAMPLE_ZERO_KHR",{"type":15,"tag":40,"props":685,"children":686},{"style":47},[687],{"type":20,"value":454},{"type":15,"tag":40,"props":689,"children":690},{"style":78},[691],{"type":20,"value":459},{"type":15,"tag":40,"props":693,"children":694},{"style":47},[695],{"type":20,"value":464},{"type":15,"tag":40,"props":697,"children":698},{"style":78},[699],{"type":20,"value":459},{"type":15,"tag":40,"props":701,"children":702},{"style":47},[703],{"type":20,"value":658},{"type":15,"tag":40,"props":705,"children":706},{"style":78},[707],{"type":20,"value":708},"SAMPLE_ZERO",{"type":15,"tag":40,"props":710,"children":711},{"style":58},[712],{"type":20,"value":473},{"type":15,"tag":40,"props":714,"children":715},{"class":42,"line":240},[716,720,724,729,733,737,741,745,749,754],{"type":15,"tag":40,"props":717,"children":718},{"style":47},[719],{"type":20,"value":439},{"type":15,"tag":40,"props":721,"children":722},{"style":47},[723],{"type":20,"value":444},{"type":15,"tag":40,"props":725,"children":726},{"style":78},[727],{"type":20,"value":728}," AVERAGE_KHR",{"type":15,"tag":40,"props":730,"children":731},{"style":47},[732],{"type":20,"value":454},{"type":15,"tag":40,"props":734,"children":735},{"style":78},[736],{"type":20,"value":459},{"type":15,"tag":40,"props":738,"children":739},{"style":47},[740],{"type":20,"value":464},{"type":15,"tag":40,"props":742,"children":743},{"style":78},[744],{"type":20,"value":459},{"type":15,"tag":40,"props":746,"children":747},{"style":47},[748],{"type":20,"value":658},{"type":15,"tag":40,"props":750,"children":751},{"style":78},[752],{"type":20,"value":753},"AVERAGE",{"type":15,"tag":40,"props":755,"children":756},{"style":58},[757],{"type":20,"value":473},{"type":15,"tag":40,"props":759,"children":760},{"class":42,"line":258},[761,765,769,774,778,782,786,790,794,799],{"type":15,"tag":40,"props":762,"children":763},{"style":47},[764],{"type":20,"value":439},{"type":15,"tag":40,"props":766,"children":767},{"style":47},[768],{"type":20,"value":444},{"type":15,"tag":40,"props":770,"children":771},{"style":78},[772],{"type":20,"value":773}," MIN_KHR",{"type":15,"tag":40,"props":775,"children":776},{"style":47},[777],{"type":20,"value":454},{"type":15,"tag":40,"props":779,"children":780},{"style":78},[781],{"type":20,"value":459},{"type":15,"tag":40,"props":783,"children":784},{"style":47},[785],{"type":20,"value":464},{"type":15,"tag":40,"props":787,"children":788},{"style":78},[789],{"type":20,"value":459},{"type":15,"tag":40,"props":791,"children":792},{"style":47},[793],{"type":20,"value":658},{"type":15,"tag":40,"props":795,"children":796},{"style":78},[797],{"type":20,"value":798},"MIN",{"type":15,"tag":40,"props":800,"children":801},{"style":58},[802],{"type":20,"value":473},{"type":15,"tag":40,"props":804,"children":805},{"class":42,"line":276},[806,810,814,819,823,827,831,835,839,844],{"type":15,"tag":40,"props":807,"children":808},{"style":47},[809],{"type":20,"value":439},{"type":15,"tag":40,"props":811,"children":812},{"style":47},[813],{"type":20,"value":444},{"type":15,"tag":40,"props":815,"children":816},{"style":78},[817],{"type":20,"value":818}," MAX_KHR",{"type":15,"tag":40,"props":820,"children":821},{"style":47},[822],{"type":20,"value":454},{"type":15,"tag":40,"props":824,"children":825},{"style":78},[826],{"type":20,"value":459},{"type":15,"tag":40,"props":828,"children":829},{"style":47},[830],{"type":20,"value":464},{"type":15,"tag":40,"props":832,"children":833},{"style":78},[834],{"type":20,"value":459},{"type":15,"tag":40,"props":836,"children":837},{"style":47},[838],{"type":20,"value":658},{"type":15,"tag":40,"props":840,"children":841},{"style":78},[842],{"type":20,"value":843},"MAX",{"type":15,"tag":40,"props":845,"children":846},{"style":58},[847],{"type":20,"value":473},{"type":15,"tag":40,"props":849,"children":850},{"class":42,"line":294},[851,855,859,864,868,872,876,881],{"type":15,"tag":40,"props":852,"children":853},{"style":47},[854],{"type":20,"value":439},{"type":15,"tag":40,"props":856,"children":857},{"style":47},[858],{"type":20,"value":444},{"type":15,"tag":40,"props":860,"children":861},{"style":78},[862],{"type":20,"value":863}," EXTERNAL_FORMAT_DOWNSAMPLE_ANDROID",{"type":15,"tag":40,"props":865,"children":866},{"style":47},[867],{"type":20,"value":454},{"type":15,"tag":40,"props":869,"children":870},{"style":78},[871],{"type":20,"value":459},{"type":15,"tag":40,"props":873,"children":874},{"style":47},[875],{"type":20,"value":464},{"type":15,"tag":40,"props":877,"children":878},{"style":78},[879],{"type":20,"value":880}," 0x00000010",{"type":15,"tag":40,"props":882,"children":883},{"style":58},[884],{"type":20,"value":473},{"type":15,"tag":40,"props":886,"children":887},{"class":42,"line":320},[888,892,896,901,905,909,913,918],{"type":15,"tag":40,"props":889,"children":890},{"style":47},[891],{"type":20,"value":439},{"type":15,"tag":40,"props":893,"children":894},{"style":47},[895],{"type":20,"value":444},{"type":15,"tag":40,"props":897,"children":898},{"style":78},[899],{"type":20,"value":900}," CUSTOM_EXT",{"type":15,"tag":40,"props":902,"children":903},{"style":47},[904],{"type":20,"value":454},{"type":15,"tag":40,"props":906,"children":907},{"style":78},[908],{"type":20,"value":459},{"type":15,"tag":40,"props":910,"children":911},{"style":47},[912],{"type":20,"value":464},{"type":15,"tag":40,"props":914,"children":915},{"style":78},[916],{"type":20,"value":917}," 0x00000020",{"type":15,"tag":40,"props":919,"children":920},{"style":58},[921],{"type":20,"value":473},{"type":15,"tag":40,"props":923,"children":924},{"class":42,"line":338},[925],{"type":15,"tag":40,"props":926,"children":927},{"style":58},[928],{"type":20,"value":929},"}\n",{"type":15,"tag":23,"props":931,"children":932},{},[933,959],{"type":15,"tag":27,"props":934,"children":936},{"className":29,"code":935,"filename":31,"language":32,"meta":33,"style":33},"#define VkResolveModeFlagBitsKHR VkResolveModeFlagBits\n",[937],{"type":15,"tag":36,"props":938,"children":939},{"__ignoreMap":33},[940],{"type":15,"tag":40,"props":941,"children":942},{"class":42,"line":43},[943,948,954],{"type":15,"tag":40,"props":944,"children":945},{"style":47},[946],{"type":20,"value":947},"#define",{"type":15,"tag":40,"props":949,"children":951},{"style":950},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[952],{"type":20,"value":953}," VkResolveModeFlagBitsKHR",{"type":15,"tag":40,"props":955,"children":956},{"style":58},[957],{"type":20,"value":958}," VkResolveModeFlagBits\n",{"type":15,"tag":27,"props":960,"children":962},{"className":373,"code":961,"filename":375,"language":376,"meta":33,"style":33},"const ResolveModeFlagBitsKHR: _ = vk::ResolveModeFlagBits;\n",[963],{"type":15,"tag":36,"props":964,"children":965},{"__ignoreMap":33},[966],{"type":15,"tag":40,"props":967,"children":968},{"class":42,"line":43},[969,974,979,983,988,992,997,1001,1006],{"type":15,"tag":40,"props":970,"children":971},{"style":47},[972],{"type":20,"value":973},"const",{"type":15,"tag":40,"props":975,"children":976},{"style":78},[977],{"type":20,"value":978}," ResolveModeFlagBitsKHR",{"type":15,"tag":40,"props":980,"children":981},{"style":47},[982],{"type":20,"value":454},{"type":15,"tag":40,"props":984,"children":985},{"style":58},[986],{"type":20,"value":987}," _ ",{"type":15,"tag":40,"props":989,"children":990},{"style":47},[991],{"type":20,"value":75},{"type":15,"tag":40,"props":993,"children":994},{"style":396},[995],{"type":20,"value":996}," vk",{"type":15,"tag":40,"props":998,"children":999},{"style":47},[1000],{"type":20,"value":658},{"type":15,"tag":40,"props":1002,"children":1003},{"style":396},[1004],{"type":20,"value":1005},"ResolveModeFlagBits",{"type":15,"tag":40,"props":1007,"children":1008},{"style":58},[1009],{"type":20,"value":473},{"type":15,"tag":1011,"props":1012,"children":1013},"ul",{},[1014,1026,1037,1048,1059,1070,1135],{"type":15,"tag":1015,"props":1016,"children":1017},"li",{},[1018,1024],{"type":15,"tag":36,"props":1019,"children":1021},{"className":1020},[],[1022],{"type":20,"value":1023},"VK_RESOLVE_MODE_NONE",{"type":20,"value":1025}," specifies that no resolve operation is done.",{"type":15,"tag":1015,"props":1027,"children":1028},{},[1029,1035],{"type":15,"tag":36,"props":1030,"children":1032},{"className":1031},[],[1033],{"type":20,"value":1034},"VK_RESOLVE_MODE_SAMPLE_ZERO_BIT",{"type":20,"value":1036}," specifies that result of the\nresolve operation is equal to the value of sample 0.",{"type":15,"tag":1015,"props":1038,"children":1039},{},[1040,1046],{"type":15,"tag":36,"props":1041,"children":1043},{"className":1042},[],[1044],{"type":20,"value":1045},"VK_RESOLVE_MODE_AVERAGE_BIT",{"type":20,"value":1047}," specifies that result of the resolve\noperation is the average of the sample values.",{"type":15,"tag":1015,"props":1049,"children":1050},{},[1051,1057],{"type":15,"tag":36,"props":1052,"children":1054},{"className":1053},[],[1055],{"type":20,"value":1056},"VK_RESOLVE_MODE_MIN_BIT",{"type":20,"value":1058}," specifies that result of the resolve\noperation is the minimum of the sample values.",{"type":15,"tag":1015,"props":1060,"children":1061},{},[1062,1068],{"type":15,"tag":36,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":20,"value":1067},"VK_RESOLVE_MODE_MAX_BIT",{"type":20,"value":1069}," specifies that result of the resolve\noperation is the maximum of the sample values.",{"type":15,"tag":1015,"props":1071,"children":1072},{},[1073,1079,1081,1087,1088,1093,1095,1099,1101,1105,1107,1114,1115,1121,1122,1126,1127,1133],{"type":15,"tag":36,"props":1074,"children":1076},{"className":1075},[],[1077],{"type":20,"value":1078},"VK_RESOLVE_MODE_EXTERNAL_FORMAT_DOWNSAMPLE_BIT_ANDROID",{"type":20,"value":1080}," specifies\nthat rather than a multisample resolve, a single sampled color\nattachment will be downsampled into a Y′C",{"type":15,"tag":1082,"props":1083,"children":1084},"sub",{},[1085],{"type":20,"value":1086},"B",{"type":20,"value":31},{"type":15,"tag":1082,"props":1089,"children":1090},{},[1091],{"type":20,"value":1092},"R",{"type":20,"value":1094}," format image specified by\nan external Android format.\nUnlike other resolve modes, implementations can resolve multiple times\nduring rendering, or even bypass writing to the color attachment\naltogether, as long as the final value is resolved to the resolve\nattachment.\nValues in the G, B, and R channels of the color\nattachment will be written to the Y, C",{"type":15,"tag":1082,"props":1096,"children":1097},{},[1098],{"type":20,"value":1086},{"type":20,"value":1100},", and C",{"type":15,"tag":1082,"props":1102,"children":1103},{},[1104],{"type":20,"value":1092},{"type":20,"value":1106},"\nchannels of the external format image, respectively.\nChroma values are calculated as if sampling with a linear filter from\nthe color attachment at full rate, at the location the chroma values sit\naccording to\n",{"type":15,"tag":1108,"props":1109,"children":1111},"a",{"href":1110},"/man/VkPhysicalDeviceExternalFormatResolvePropertiesANDROID",[1112],{"type":20,"value":1113},"VkPhysicalDeviceExternalFormatResolvePropertiesANDROID",{"type":20,"value":658},{"type":15,"tag":36,"props":1116,"children":1118},{"className":1117},[],[1119],{"type":20,"value":1120},"externalFormatResolveChromaOffsetX",{"type":20,"value":86},{"type":15,"tag":1108,"props":1123,"children":1124},{"href":1110},[1125],{"type":20,"value":1113},{"type":20,"value":658},{"type":15,"tag":36,"props":1128,"children":1130},{"className":1129},[],[1131],{"type":20,"value":1132},"externalFormatResolveChromaOffsetY",{"type":20,"value":1134},",\nand the chroma sample rate of the resolved image.",{"type":15,"tag":1015,"props":1136,"children":1137},{},[1138,1144],{"type":15,"tag":36,"props":1139,"children":1141},{"className":1140},[],[1142],{"type":20,"value":1143},"VK_RESOLVE_MODE_CUSTOM_BIT_EXT",{"type":20,"value":1145}," specifies that the attachment will\nbe resolved by shaders in the render pass instead of fixed-function\noperations.",{"type":15,"tag":16,"props":1147,"children":1148},{},[1149,1151,1156],{"type":20,"value":1150},"If no resolve mode is otherwise specified, ",{"type":15,"tag":36,"props":1152,"children":1154},{"className":1153},[],[1155],{"type":20,"value":1045},{"type":20,"value":1157},"\nis used.",{"type":15,"tag":16,"props":1159,"children":1160},{},[1161,1163,1168],{"type":20,"value":1162},"If ",{"type":15,"tag":36,"props":1164,"children":1166},{"className":1165},[],[1167],{"type":20,"value":1045},{"type":20,"value":1169}," is used, and the source format is a\nfloating-point or normalized type, the sample values for each pixel are\nresolved with implementation-defined numerical precision.",{"type":15,"tag":16,"props":1171,"children":1172},{},[1173,1175,1181,1183,1188,1190,1196,1198,1204,1206,1210,1212,1222,1224,1234,1236,1240,1242,1248,1254],{"type":20,"value":1174},"If the ",{"type":15,"tag":1108,"props":1176,"children":1178},{"href":1177},"/404#formats-numericformat",[1179],{"type":20,"value":1180},"numeric format",{"type":20,"value":1182}," of the resolve attachment\nuses sRGB encoding, the implementation ",{"type":15,"tag":1184,"props":1185,"children":1187},"normative",{"type":1186},"should",[],{"type":20,"value":1189}," convert samples from\nnonlinear to linear before averaging samples as described in the ",{"type":15,"tag":36,"props":1191,"children":1193},{"className":1192},[],[1194],{"type":20,"value":1195},"sRGB EOTF",{"type":20,"value":1197}," section of the ",{"type":15,"tag":1108,"props":1199,"children":1201},{"href":1200},"/chapters/introduction#data-format",[1202],{"type":20,"value":1203},"Khronos Data Format Specification",{"type":20,"value":1205},".\nIn this case, the implementation ",{"type":15,"tag":1184,"props":1207,"children":1209},{"type":1208},"must",[],{"type":20,"value":1211}," convert the linear averaged value to\nnonlinear before writing the resolved result to resolve attachment.\nIf the ",{"type":15,"tag":1108,"props":1213,"children":1215},{"href":1214},"/man/VkPhysicalDeviceMaintenance10FeaturesKHR#features-maintenance10",[1216],{"type":15,"tag":36,"props":1217,"children":1219},{"className":1218},[],[1220],{"type":20,"value":1221},"maintenance10",{"type":20,"value":1223}," feature is enabled,\nwhether a nonlinear to linear conversion happens for sRGB resolve is defined\nby\n",{"type":15,"tag":1108,"props":1225,"children":1227},{"href":1226},"/man/VkPhysicalDeviceMaintenance10PropertiesKHR#limits-resolveSrgbFormatAppliesTransferFunction",[1228],{"type":15,"tag":36,"props":1229,"children":1231},{"className":1230},[],[1232],{"type":20,"value":1233},"resolveSrgbFormatAppliesTransferFunction",{"type":20,"value":1235},".\nThis behavior ",{"type":15,"tag":1184,"props":1237,"children":1239},{"type":1238},"can",[],{"type":20,"value":1241}," be overridden with appropriate\n",{"type":15,"tag":36,"props":1243,"children":1245},{"className":1244},[],[1246],{"type":20,"value":1247},"VK_*",{"type":15,"tag":1249,"props":1250,"children":1251},"em",{},[1252],{"type":20,"value":1253},"RESOLVE",{"type":20,"value":1255},"{SKIP,ENABLE}_TRANSFER_FUNCTION_BIT_KHR flag usage.",{"type":15,"tag":1257,"props":1258,"children":1259},"note",{},[1260],{"type":15,"tag":16,"props":1261,"children":1262},{},[1263,1265,1269,1270,1274,1276,1281,1283,1306],{"type":20,"value":1264},"No range compression or Y′C",{"type":15,"tag":1082,"props":1266,"children":1267},{},[1268],{"type":20,"value":1086},{"type":20,"value":31},{"type":15,"tag":1082,"props":1271,"children":1272},{},[1273],{"type":20,"value":1092},{"type":20,"value":1275}," model conversion is performed by\n",{"type":15,"tag":36,"props":1277,"children":1279},{"className":1278},[],[1280],{"type":20,"value":1078},{"type":20,"value":1282},"; applications\nhave to do these conversions themselves.\nValue outputs are expected to match those that would be read through a\n",{"type":15,"tag":1108,"props":1284,"children":1286},{"href":1285},"/chapters/textures#textures-sampler-YCbCr-conversion-modelconversion",[1287,1289,1293,1294,1298,1300],{"type":20,"value":1288},"Y′C",{"type":15,"tag":1082,"props":1290,"children":1291},{},[1292],{"type":20,"value":1086},{"type":20,"value":31},{"type":15,"tag":1082,"props":1295,"children":1296},{},[1297],{"type":20,"value":1092},{"type":20,"value":1299}," sampler using\n",{"type":15,"tag":36,"props":1301,"children":1303},{"className":1302},[],[1304],{"type":20,"value":1305},"VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY",{"type":20,"value":1307},".\nThe color space that the values should be in is defined by the platform and\nis not exposed via Vulkan.",{"type":15,"tag":1309,"props":1310,"children":1311},"style",{},[1312],{"type":20,"value":1313},"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":33,"searchDepth":64,"depth":64,"links":1315},[],"markdown",1776503245720]