[{"data":1,"prerenderedAt":247},["ShallowReactive",2],{"uqnxaU0m47":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":246,"_id":4},"VkClearValue","Structure specifying a clear value","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":244},"root",[12,28,197,224,238],{"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}," union is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,94],{"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 union VkClearValue {\n VkClearColorValue color;\n VkClearDepthStencilValue depthStencil;\n} VkClearValue;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85],{"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}," union",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkClearValue {\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}," VkClearColorValue color;\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}," VkClearDepthStencilValue depthStencil;\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},"} VkClearValue;\n",{"type":13,"tag":33,"props":95,"children":100},{"className":96,"code":97,"filename":98,"language":99,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub union ClearValue {\n color: vk::ClearColorValue,\n depth_stencil: vk::ClearDepthStencilValue,\n}\n","Rust","rs",[101],{"type":13,"tag":21,"props":102,"children":103},{"__ignoreMap":39},[104,127,160,189],{"type":13,"tag":45,"props":105,"children":106},{"class":47,"line":48},[107,112,116,122],{"type":13,"tag":45,"props":108,"children":109},{"style":52},[110],{"type":18,"value":111},"pub",{"type":13,"tag":45,"props":113,"children":114},{"style":52},[115],{"type":18,"value":60},{"type":13,"tag":45,"props":117,"children":119},{"style":118},"--shiki-default:#953800;--shiki-dark:#FFA657",[120],{"type":18,"value":121}," ClearValue",{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126}," {\n",{"type":13,"tag":45,"props":128,"children":129},{"class":47,"line":69},[130,135,140,145,150,155],{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," color",{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},":",{"type":13,"tag":45,"props":141,"children":142},{"style":118},[143],{"type":18,"value":144}," vk",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":149},"::",{"type":13,"tag":45,"props":151,"children":152},{"style":118},[153],{"type":18,"value":154},"ClearColorValue",{"type":13,"tag":45,"props":156,"children":157},{"style":63},[158],{"type":18,"value":159},",\n",{"type":13,"tag":45,"props":161,"children":162},{"class":47,"line":78},[163,168,172,176,180,185],{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," depth_stencil",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":139},{"type":13,"tag":45,"props":173,"children":174},{"style":118},[175],{"type":18,"value":144},{"type":13,"tag":45,"props":177,"children":178},{"style":52},[179],{"type":18,"value":149},{"type":13,"tag":45,"props":181,"children":182},{"style":118},[183],{"type":18,"value":184},"ClearDepthStencilValue",{"type":13,"tag":45,"props":186,"children":187},{"style":63},[188],{"type":18,"value":159},{"type":13,"tag":45,"props":190,"children":191},{"class":47,"line":87},[192],{"type":13,"tag":45,"props":193,"children":194},{"style":63},[195],{"type":18,"value":196},"}\n",{"type":13,"tag":198,"props":199,"children":200},"ul",{},[201,213],{"type":13,"tag":202,"props":203,"children":204},"li",{},[205,211],{"type":13,"tag":21,"props":206,"children":208},{"className":207},[],[209],{"type":18,"value":210},"color",{"type":18,"value":212}," specifies the color image clear values to use when clearing\na color image or attachment.",{"type":13,"tag":202,"props":214,"children":215},{},[216,222],{"type":13,"tag":21,"props":217,"children":219},{"className":218},[],[220],{"type":18,"value":221},"depthStencil",{"type":18,"value":223}," specifies the depth and stencil clear values to use\nwhen clearing a depth/stencil image or attachment.",{"type":13,"tag":14,"props":225,"children":226},{},[227,229,236],{"type":18,"value":228},"This union is used where part of the API requires either color or\ndepth/stencil clear values, depending on the attachment, and defines the\ninitial clear values in the ",{"type":13,"tag":230,"props":231,"children":233},"a",{"href":232},"/man/VkRenderPassBeginInfo",[234],{"type":18,"value":235},"VkRenderPassBeginInfo",{"type":18,"value":237}," structure.",{"type":13,"tag":239,"props":240,"children":241},"style",{},[242],{"type":18,"value":243},"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":245},[],"markdown",1729612436716]