[{"data":1,"prerenderedAt":279},["ShallowReactive",2],{"W3A5B0SPow":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":278,"_id":4},"VkClearDepthStencilValue","Structure specifying a clear depth stencil value","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":276},"root",[12,28,189,216,270],{"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,104],{"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 VkClearDepthStencilValue {\n float depth;\n uint32_t stencil;\n} VkClearDepthStencilValue;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,95],{"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}," VkClearDepthStencilValue {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76],{"type":13,"tag":45,"props":72,"children":73},{"style":52},[74],{"type":18,"value":75}," float",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," depth;\n",{"type":13,"tag":45,"props":82,"children":84},{"class":47,"line":83},3,[85,90],{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," uint32_t",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," stencil;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103},"} VkClearDepthStencilValue;\n",{"type":13,"tag":33,"props":105,"children":110},{"className":106,"code":107,"filename":108,"language":109,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ClearDepthStencilValue {\n depth: f32,\n stencil: u32,\n}\n","Rust","rs",[111],{"type":13,"tag":21,"props":112,"children":113},{"__ignoreMap":39},[114,137,160,181],{"type":13,"tag":45,"props":115,"children":116},{"class":47,"line":48},[117,122,126,132],{"type":13,"tag":45,"props":118,"children":119},{"style":52},[120],{"type":18,"value":121},"pub",{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":60},{"type":13,"tag":45,"props":127,"children":129},{"style":128},"--shiki-default:#953800;--shiki-dark:#FFA657",[130],{"type":18,"value":131}," ClearDepthStencilValue",{"type":13,"tag":45,"props":133,"children":134},{"style":63},[135],{"type":18,"value":136}," {\n",{"type":13,"tag":45,"props":138,"children":139},{"class":47,"line":69},[140,145,150,155],{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," depth",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":149},":",{"type":13,"tag":45,"props":151,"children":152},{"style":128},[153],{"type":18,"value":154}," f32",{"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":83},[163,168,172,177],{"type":13,"tag":45,"props":164,"children":165},{"style":63},[166],{"type":18,"value":167}," stencil",{"type":13,"tag":45,"props":169,"children":170},{"style":52},[171],{"type":18,"value":149},{"type":13,"tag":45,"props":173,"children":174},{"style":128},[175],{"type":18,"value":176}," u32",{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":159},{"type":13,"tag":45,"props":182,"children":183},{"class":47,"line":97},[184],{"type":13,"tag":45,"props":185,"children":186},{"style":63},[187],{"type":18,"value":188},"}\n",{"type":13,"tag":190,"props":191,"children":192},"ul",{},[193,205],{"type":13,"tag":194,"props":195,"children":196},"li",{},[197,203],{"type":13,"tag":21,"props":198,"children":200},{"className":199},[],[201],{"type":18,"value":202},"depth",{"type":18,"value":204}," is the clear value for the depth aspect of the depth/stencil\nattachment.\nIt is a floating-point value which is automatically converted to the\nattachment’s format.",{"type":13,"tag":194,"props":206,"children":207},{},[208,214],{"type":13,"tag":21,"props":209,"children":211},{"className":210},[],[212],{"type":18,"value":213},"stencil",{"type":18,"value":215}," is the clear value for the stencil aspect of the\ndepth/stencil attachment.\nIt is a 32-bit integer value which is converted to the attachment’s\nformat by taking the appropriate number of LSBs.",{"type":13,"tag":217,"props":218,"children":220},"validity-group",{"name":219},"Valid Usage",[221],{"type":13,"tag":222,"props":223,"children":225},"validity-field",{"name":224},"VUID-VkClearDepthStencilValue-depth-00022",[226],{"type":13,"tag":14,"props":227,"children":228},{},[229,231,238,240,245,247,252,254,260,262,268],{"type":18,"value":230},"Unless the ",{"type":13,"tag":232,"props":233,"children":235},"a",{"href":234},"/extensions/VK_EXT_depth_range_unrestricted",[236],{"type":18,"value":237},"VK_EXT_depth_range_unrestricted",{"type":18,"value":239}," extension is enabled\n",{"type":13,"tag":21,"props":241,"children":243},{"className":242},[],[244],{"type":18,"value":202},{"type":18,"value":246}," ",{"type":13,"tag":248,"props":249,"children":251},"normative",{"type":250},"must",[],{"type":18,"value":253}," be between ",{"type":13,"tag":21,"props":255,"children":257},{"className":256},[],[258],{"type":18,"value":259},"0.0",{"type":18,"value":261}," and ",{"type":13,"tag":21,"props":263,"children":265},{"className":264},[],[266],{"type":18,"value":267},"1.0",{"type":18,"value":269},", inclusive",{"type":13,"tag":271,"props":272,"children":273},"style",{},[274],{"type":18,"value":275},"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":277},[],"markdown",1725732542235]