[{"data":1,"prerenderedAt":450},["ShallowReactive",2],{"gd5T71Y6Oo":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":449,"_id":4},"VkComponentMapping","Structure specifying a color component mapping","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":447},"root",[12,28,270,342,441],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,112],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkComponentMapping {\n VkComponentSwizzle r;\n VkComponentSwizzle g;\n VkComponentSwizzle b;\n VkComponentSwizzle a;\n} VkComponentMapping;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,94,103],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkComponentMapping {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkComponentSwizzle r;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkComponentSwizzle g;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," VkComponentSwizzle b;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},5,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102}," VkComponentSwizzle a;\n",{"type":13,"tag":45,"props":104,"children":106},{"class":47,"line":105},6,[107],{"type":13,"tag":45,"props":108,"children":109},{"style":63},[110],{"type":18,"value":111},"} VkComponentMapping;\n",{"type":13,"tag":33,"props":113,"children":118},{"className":114,"code":115,"filename":116,"language":117,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ComponentMapping {\n r: vk::ComponentSwizzle,\n g: vk::ComponentSwizzle,\n b: vk::ComponentSwizzle,\n a: vk::ComponentSwizzle,\n}\n","Rust","rs",[119],{"type":13,"tag":21,"props":120,"children":121},{"__ignoreMap":39},[122,145,178,206,234,262],{"type":13,"tag":45,"props":123,"children":124},{"class":47,"line":48},[125,130,134,140],{"type":13,"tag":45,"props":126,"children":127},{"style":52},[128],{"type":18,"value":129},"pub",{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":60},{"type":13,"tag":45,"props":135,"children":137},{"style":136},"--shiki-default:#953800;--shiki-dark:#FFA657",[138],{"type":18,"value":139}," ComponentMapping",{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," {\n",{"type":13,"tag":45,"props":146,"children":147},{"class":47,"line":69},[148,153,158,163,168,173],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152}," r",{"type":13,"tag":45,"props":154,"children":155},{"style":52},[156],{"type":18,"value":157},":",{"type":13,"tag":45,"props":159,"children":160},{"style":136},[161],{"type":18,"value":162}," vk",{"type":13,"tag":45,"props":164,"children":165},{"style":52},[166],{"type":18,"value":167},"::",{"type":13,"tag":45,"props":169,"children":170},{"style":136},[171],{"type":18,"value":172},"ComponentSwizzle",{"type":13,"tag":45,"props":174,"children":175},{"style":63},[176],{"type":18,"value":177},",\n",{"type":13,"tag":45,"props":179,"children":180},{"class":47,"line":78},[181,186,190,194,198,202],{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," g",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":157},{"type":13,"tag":45,"props":191,"children":192},{"style":136},[193],{"type":18,"value":162},{"type":13,"tag":45,"props":195,"children":196},{"style":52},[197],{"type":18,"value":167},{"type":13,"tag":45,"props":199,"children":200},{"style":136},[201],{"type":18,"value":172},{"type":13,"tag":45,"props":203,"children":204},{"style":63},[205],{"type":18,"value":177},{"type":13,"tag":45,"props":207,"children":208},{"class":47,"line":87},[209,214,218,222,226,230],{"type":13,"tag":45,"props":210,"children":211},{"style":63},[212],{"type":18,"value":213}," b",{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":157},{"type":13,"tag":45,"props":219,"children":220},{"style":136},[221],{"type":18,"value":162},{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":167},{"type":13,"tag":45,"props":227,"children":228},{"style":136},[229],{"type":18,"value":172},{"type":13,"tag":45,"props":231,"children":232},{"style":63},[233],{"type":18,"value":177},{"type":13,"tag":45,"props":235,"children":236},{"class":47,"line":96},[237,242,246,250,254,258],{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":241}," a",{"type":13,"tag":45,"props":243,"children":244},{"style":52},[245],{"type":18,"value":157},{"type":13,"tag":45,"props":247,"children":248},{"style":136},[249],{"type":18,"value":162},{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":167},{"type":13,"tag":45,"props":255,"children":256},{"style":136},[257],{"type":18,"value":172},{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":177},{"type":13,"tag":45,"props":263,"children":264},{"class":47,"line":105},[265],{"type":13,"tag":45,"props":266,"children":267},{"style":63},[268],{"type":18,"value":269},"}\n",{"type":13,"tag":271,"props":272,"children":273},"ul",{},[274,295,311,327],{"type":13,"tag":275,"props":276,"children":277},"li",{},[278,284,286,293],{"type":13,"tag":21,"props":279,"children":281},{"className":280},[],[282],{"type":18,"value":283},"r",{"type":18,"value":285}," is a ",{"type":13,"tag":287,"props":288,"children":290},"a",{"href":289},"/man/VkComponentSwizzle",[291],{"type":18,"value":292},"VkComponentSwizzle",{"type":18,"value":294}," specifying the component value\nplaced in the R component of the output vector.",{"type":13,"tag":275,"props":296,"children":297},{},[298,304,305,309],{"type":13,"tag":21,"props":299,"children":301},{"className":300},[],[302],{"type":18,"value":303},"g",{"type":18,"value":285},{"type":13,"tag":287,"props":306,"children":307},{"href":289},[308],{"type":18,"value":292},{"type":18,"value":310}," specifying the component value\nplaced in the G component of the output vector.",{"type":13,"tag":275,"props":312,"children":313},{},[314,320,321,325],{"type":13,"tag":21,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":319},"b",{"type":18,"value":285},{"type":13,"tag":287,"props":322,"children":323},{"href":289},[324],{"type":18,"value":292},{"type":18,"value":326}," specifying the component value\nplaced in the B component of the output vector.",{"type":13,"tag":275,"props":328,"children":329},{},[330,335,336,340],{"type":13,"tag":21,"props":331,"children":333},{"className":332},[],[334],{"type":18,"value":287},{"type":18,"value":285},{"type":13,"tag":287,"props":337,"children":338},{"href":289},[339],{"type":18,"value":292},{"type":18,"value":341}," specifying the component value\nplaced in the A component of the output vector.",{"type":13,"tag":343,"props":344,"children":346},"validity-group",{"name":345},"Valid Usage (Implicit)",[347,375,397,419],{"type":13,"tag":348,"props":349,"children":351},"validity-field",{"name":350},"VUID-VkComponentMapping-r-parameter",[352],{"type":13,"tag":14,"props":353,"children":354},{},[355,360,362,367,369,373],{"type":13,"tag":21,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":283},{"type":18,"value":361}," ",{"type":13,"tag":363,"props":364,"children":366},"normative",{"type":365},"must",[],{"type":18,"value":368}," be a valid ",{"type":13,"tag":287,"props":370,"children":371},{"href":289},[372],{"type":18,"value":292},{"type":18,"value":374}," value",{"type":13,"tag":348,"props":376,"children":378},{"name":377},"VUID-VkComponentMapping-g-parameter",[379],{"type":13,"tag":14,"props":380,"children":381},{},[382,387,388,391,392,396],{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":303},{"type":18,"value":361},{"type":13,"tag":363,"props":389,"children":390},{"type":365},[],{"type":18,"value":368},{"type":13,"tag":287,"props":393,"children":394},{"href":289},[395],{"type":18,"value":292},{"type":18,"value":374},{"type":13,"tag":348,"props":398,"children":400},{"name":399},"VUID-VkComponentMapping-b-parameter",[401],{"type":13,"tag":14,"props":402,"children":403},{},[404,409,410,413,414,418],{"type":13,"tag":21,"props":405,"children":407},{"className":406},[],[408],{"type":18,"value":319},{"type":18,"value":361},{"type":13,"tag":363,"props":411,"children":412},{"type":365},[],{"type":18,"value":368},{"type":13,"tag":287,"props":415,"children":416},{"href":289},[417],{"type":18,"value":292},{"type":18,"value":374},{"type":13,"tag":348,"props":420,"children":422},{"name":421},"VUID-VkComponentMapping-a-parameter",[423],{"type":13,"tag":14,"props":424,"children":425},{},[426,431,432,435,436,440],{"type":13,"tag":21,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":287},{"type":18,"value":361},{"type":13,"tag":363,"props":433,"children":434},{"type":365},[],{"type":18,"value":368},{"type":13,"tag":287,"props":437,"children":438},{"href":289},[439],{"type":18,"value":292},{"type":18,"value":374},{"type":13,"tag":442,"props":443,"children":444},"style",{},[445],{"type":18,"value":446},"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":39,"searchDepth":69,"depth":69,"links":448},[],"markdown",1725732543364]