[{"data":1,"prerenderedAt":480},["ShallowReactive",2],{"17VHJJo1Tl":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":479,"_id":4},"VkCompositeAlphaFlagBitsKHR","Alpha compositing modes supported on a device","VK_KHR_surface","enums",[],{"type":10,"children":11,"toc":477},"root",[12,37,417,422,471],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"supportedCompositeAlpha",{"type":18,"value":28}," member is of type\n",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkCompositeAlphaFlagBitsKHR",[34],{"type":18,"value":4},{"type":18,"value":36},", containing the following values:",{"type":13,"tag":38,"props":39,"children":40},"code-group",{},[41,193],{"type":13,"tag":42,"props":43,"children":49},"pre",{"className":44,"code":45,"filename":46,"language":47,"meta":48,"style":48},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkCompositeAlphaFlagBitsKHR {\n VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR = 0x00000001,\n VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR = 0x00000002,\n VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR = 0x00000004,\n VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR = 0x00000008,\n} VkCompositeAlphaFlagBitsKHR;\n","C","c","",[50],{"type":13,"tag":21,"props":51,"children":52},{"__ignoreMap":48},[53,76,106,132,158,184],{"type":13,"tag":54,"props":55,"children":58},"span",{"class":56,"line":57},"line",1,[59,65,70],{"type":13,"tag":54,"props":60,"children":62},{"style":61},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[63],{"type":18,"value":64},"typedef",{"type":13,"tag":54,"props":66,"children":67},{"style":61},[68],{"type":18,"value":69}," enum",{"type":13,"tag":54,"props":71,"children":73},{"style":72},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[74],{"type":18,"value":75}," VkCompositeAlphaFlagBitsKHR {\n",{"type":13,"tag":54,"props":77,"children":79},{"class":56,"line":78},2,[80,85,90,95,101],{"type":13,"tag":54,"props":81,"children":82},{"style":72},[83],{"type":18,"value":84}," VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR ",{"type":13,"tag":54,"props":86,"children":87},{"style":61},[88],{"type":18,"value":89},"=",{"type":13,"tag":54,"props":91,"children":92},{"style":61},[93],{"type":18,"value":94}," 0x",{"type":13,"tag":54,"props":96,"children":98},{"style":97},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[99],{"type":18,"value":100},"00000001",{"type":13,"tag":54,"props":102,"children":103},{"style":72},[104],{"type":18,"value":105},",\n",{"type":13,"tag":54,"props":107,"children":109},{"class":56,"line":108},3,[110,115,119,123,128],{"type":13,"tag":54,"props":111,"children":112},{"style":72},[113],{"type":18,"value":114}," VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR ",{"type":13,"tag":54,"props":116,"children":117},{"style":61},[118],{"type":18,"value":89},{"type":13,"tag":54,"props":120,"children":121},{"style":61},[122],{"type":18,"value":94},{"type":13,"tag":54,"props":124,"children":125},{"style":97},[126],{"type":18,"value":127},"00000002",{"type":13,"tag":54,"props":129,"children":130},{"style":72},[131],{"type":18,"value":105},{"type":13,"tag":54,"props":133,"children":135},{"class":56,"line":134},4,[136,141,145,149,154],{"type":13,"tag":54,"props":137,"children":138},{"style":72},[139],{"type":18,"value":140}," VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR ",{"type":13,"tag":54,"props":142,"children":143},{"style":61},[144],{"type":18,"value":89},{"type":13,"tag":54,"props":146,"children":147},{"style":61},[148],{"type":18,"value":94},{"type":13,"tag":54,"props":150,"children":151},{"style":97},[152],{"type":18,"value":153},"00000004",{"type":13,"tag":54,"props":155,"children":156},{"style":72},[157],{"type":18,"value":105},{"type":13,"tag":54,"props":159,"children":161},{"class":56,"line":160},5,[162,167,171,175,180],{"type":13,"tag":54,"props":163,"children":164},{"style":72},[165],{"type":18,"value":166}," VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR ",{"type":13,"tag":54,"props":168,"children":169},{"style":61},[170],{"type":18,"value":89},{"type":13,"tag":54,"props":172,"children":173},{"style":61},[174],{"type":18,"value":94},{"type":13,"tag":54,"props":176,"children":177},{"style":97},[178],{"type":18,"value":179},"00000008",{"type":13,"tag":54,"props":181,"children":182},{"style":72},[183],{"type":18,"value":105},{"type":13,"tag":54,"props":185,"children":187},{"class":56,"line":186},6,[188],{"type":13,"tag":54,"props":189,"children":190},{"style":72},[191],{"type":18,"value":192},"} VkCompositeAlphaFlagBitsKHR;\n",{"type":13,"tag":42,"props":194,"children":199},{"className":195,"code":196,"filename":197,"language":198,"meta":48,"style":48},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct CompositeAlphaFlagBitsKHR(u32);\nimpl CompositeAlphaFlagBitsKHR {\n pub const OPAQUE: Self = 0x00000001;\n pub const PRE_MULTIPLIED: Self = 0x00000002;\n pub const POST_MULTIPLIED: Self = 0x00000004;\n pub const INHERIT: Self = 0x00000008;\n}\n","Rust","rs",[200],{"type":13,"tag":21,"props":201,"children":202},{"__ignoreMap":48},[203,237,254,297,334,371,408],{"type":13,"tag":54,"props":204,"children":205},{"class":56,"line":57},[206,211,216,222,227,232],{"type":13,"tag":54,"props":207,"children":208},{"style":61},[209],{"type":18,"value":210},"pub",{"type":13,"tag":54,"props":212,"children":213},{"style":61},[214],{"type":18,"value":215}," struct",{"type":13,"tag":54,"props":217,"children":219},{"style":218},"--shiki-default:#953800;--shiki-dark:#FFA657",[220],{"type":18,"value":221}," CompositeAlphaFlagBitsKHR",{"type":13,"tag":54,"props":223,"children":224},{"style":72},[225],{"type":18,"value":226},"(",{"type":13,"tag":54,"props":228,"children":229},{"style":218},[230],{"type":18,"value":231},"u32",{"type":13,"tag":54,"props":233,"children":234},{"style":72},[235],{"type":18,"value":236},");\n",{"type":13,"tag":54,"props":238,"children":239},{"class":56,"line":78},[240,245,249],{"type":13,"tag":54,"props":241,"children":242},{"style":61},[243],{"type":18,"value":244},"impl",{"type":13,"tag":54,"props":246,"children":247},{"style":218},[248],{"type":18,"value":221},{"type":13,"tag":54,"props":250,"children":251},{"style":72},[252],{"type":18,"value":253}," {\n",{"type":13,"tag":54,"props":255,"children":256},{"class":56,"line":108},[257,262,267,272,277,282,287,292],{"type":13,"tag":54,"props":258,"children":259},{"style":61},[260],{"type":18,"value":261}," pub",{"type":13,"tag":54,"props":263,"children":264},{"style":61},[265],{"type":18,"value":266}," const",{"type":13,"tag":54,"props":268,"children":269},{"style":97},[270],{"type":18,"value":271}," OPAQUE",{"type":13,"tag":54,"props":273,"children":274},{"style":61},[275],{"type":18,"value":276},":",{"type":13,"tag":54,"props":278,"children":279},{"style":97},[280],{"type":18,"value":281}," Self",{"type":13,"tag":54,"props":283,"children":284},{"style":61},[285],{"type":18,"value":286}," =",{"type":13,"tag":54,"props":288,"children":289},{"style":97},[290],{"type":18,"value":291}," 0x00000001",{"type":13,"tag":54,"props":293,"children":294},{"style":72},[295],{"type":18,"value":296},";\n",{"type":13,"tag":54,"props":298,"children":299},{"class":56,"line":134},[300,304,308,313,317,321,325,330],{"type":13,"tag":54,"props":301,"children":302},{"style":61},[303],{"type":18,"value":261},{"type":13,"tag":54,"props":305,"children":306},{"style":61},[307],{"type":18,"value":266},{"type":13,"tag":54,"props":309,"children":310},{"style":97},[311],{"type":18,"value":312}," PRE_MULTIPLIED",{"type":13,"tag":54,"props":314,"children":315},{"style":61},[316],{"type":18,"value":276},{"type":13,"tag":54,"props":318,"children":319},{"style":97},[320],{"type":18,"value":281},{"type":13,"tag":54,"props":322,"children":323},{"style":61},[324],{"type":18,"value":286},{"type":13,"tag":54,"props":326,"children":327},{"style":97},[328],{"type":18,"value":329}," 0x00000002",{"type":13,"tag":54,"props":331,"children":332},{"style":72},[333],{"type":18,"value":296},{"type":13,"tag":54,"props":335,"children":336},{"class":56,"line":160},[337,341,345,350,354,358,362,367],{"type":13,"tag":54,"props":338,"children":339},{"style":61},[340],{"type":18,"value":261},{"type":13,"tag":54,"props":342,"children":343},{"style":61},[344],{"type":18,"value":266},{"type":13,"tag":54,"props":346,"children":347},{"style":97},[348],{"type":18,"value":349}," POST_MULTIPLIED",{"type":13,"tag":54,"props":351,"children":352},{"style":61},[353],{"type":18,"value":276},{"type":13,"tag":54,"props":355,"children":356},{"style":97},[357],{"type":18,"value":281},{"type":13,"tag":54,"props":359,"children":360},{"style":61},[361],{"type":18,"value":286},{"type":13,"tag":54,"props":363,"children":364},{"style":97},[365],{"type":18,"value":366}," 0x00000004",{"type":13,"tag":54,"props":368,"children":369},{"style":72},[370],{"type":18,"value":296},{"type":13,"tag":54,"props":372,"children":373},{"class":56,"line":186},[374,378,382,387,391,395,399,404],{"type":13,"tag":54,"props":375,"children":376},{"style":61},[377],{"type":18,"value":261},{"type":13,"tag":54,"props":379,"children":380},{"style":61},[381],{"type":18,"value":266},{"type":13,"tag":54,"props":383,"children":384},{"style":97},[385],{"type":18,"value":386}," INHERIT",{"type":13,"tag":54,"props":388,"children":389},{"style":61},[390],{"type":18,"value":276},{"type":13,"tag":54,"props":392,"children":393},{"style":97},[394],{"type":18,"value":281},{"type":13,"tag":54,"props":396,"children":397},{"style":61},[398],{"type":18,"value":286},{"type":13,"tag":54,"props":400,"children":401},{"style":97},[402],{"type":18,"value":403}," 0x00000008",{"type":13,"tag":54,"props":405,"children":406},{"style":72},[407],{"type":18,"value":296},{"type":13,"tag":54,"props":409,"children":411},{"class":56,"line":410},7,[412],{"type":13,"tag":54,"props":413,"children":414},{"style":72},[415],{"type":18,"value":416},"}\n",{"type":13,"tag":14,"props":418,"children":419},{},[420],{"type":18,"value":421},"These values are described as follows:",{"type":13,"tag":423,"props":424,"children":425},"ul",{},[426,438,449,460],{"type":13,"tag":427,"props":428,"children":429},"li",{},[430,436],{"type":13,"tag":21,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":435},"VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR",{"type":18,"value":437},": The alpha component, if it\nexists, of the images is ignored in the compositing process.\nInstead, the image is treated as if it has a constant alpha of 1.0.",{"type":13,"tag":427,"props":439,"children":440},{},[441,447],{"type":13,"tag":21,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR",{"type":18,"value":448},": The alpha component, if\nit exists, of the images is respected in the compositing process.\nThe non-alpha components of the image are expected to already be\nmultiplied by the alpha component by the application.",{"type":13,"tag":427,"props":450,"children":451},{},[452,458],{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":457},"VK_COMPOSITE_ALPHA_POST_MULTIPLIED_BIT_KHR",{"type":18,"value":459},": The alpha component,\nif it exists, of the images is respected in the compositing process.\nThe non-alpha components of the image are not expected to already be\nmultiplied by the alpha component by the application; instead, the\ncompositor will multiply the non-alpha components of the image by the\nalpha component during compositing.",{"type":13,"tag":427,"props":461,"children":462},{},[463,469],{"type":13,"tag":21,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":468},"VK_COMPOSITE_ALPHA_INHERIT_BIT_KHR",{"type":18,"value":470},": The way in which the\npresentation engine treats the alpha component in the images is unknown\nto the Vulkan API.\nInstead, the application is responsible for setting the composite alpha\nblending mode using native window system commands.\nIf the application does not set the blending mode using native window\nsystem commands, then a platform-specific default will be used.",{"type":13,"tag":472,"props":473,"children":474},"style",{},[475],{"type":18,"value":476},"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":48,"searchDepth":78,"depth":78,"links":478},[],"markdown",1725732543499]