[{"data":1,"prerenderedAt":649},["ShallowReactive",2],{"HE9AGAQsu5":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":648,"_id":4},"VkConditionalRenderingBeginInfoEXT","Structure specifying conditional rendering begin information","VK_EXT_conditional_rendering","structs",[],{"type":10,"children":11,"toc":646},"root",[12,28,314,406,432,538,640],{"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,131],{"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 VkConditionalRenderingBeginInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkBuffer buffer;\n VkDeviceSize offset;\n VkConditionalRenderingFlagsEXT flags;\n} VkConditionalRenderingBeginInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122],{"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}," VkConditionalRenderingBeginInfoEXT {\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}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\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}," VkBuffer buffer;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkDeviceSize offset;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkConditionalRenderingFlagsEXT flags;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130},"} VkConditionalRenderingBeginInfoEXT;\n",{"type":13,"tag":33,"props":132,"children":137},{"className":133,"code":134,"filename":135,"language":136,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ConditionalRenderingBeginInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n buffer: vk::Buffer,\n offset: vk::DeviceSize,\n flags: vk::ConditionalRenderingFlagsEXT,\n}\n","Rust","rs",[138],{"type":13,"tag":21,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,248,277,306],{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":48},[144,149,153,159],{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},"pub",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":60},{"type":13,"tag":45,"props":154,"children":156},{"style":155},"--shiki-default:#953800;--shiki-dark:#FFA657",[157],{"type":18,"value":158}," ConditionalRenderingBeginInfoEXT",{"type":13,"tag":45,"props":160,"children":161},{"style":63},[162],{"type":18,"value":163}," {\n",{"type":13,"tag":45,"props":165,"children":166},{"class":47,"line":69},[167,172,177,182,187,192],{"type":13,"tag":45,"props":168,"children":169},{"style":63},[170],{"type":18,"value":171}," s_type",{"type":13,"tag":45,"props":173,"children":174},{"style":52},[175],{"type":18,"value":176},":",{"type":13,"tag":45,"props":178,"children":179},{"style":155},[180],{"type":18,"value":181}," vk",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":186},"::",{"type":13,"tag":45,"props":188,"children":189},{"style":155},[190],{"type":18,"value":191},"StructureType",{"type":13,"tag":45,"props":193,"children":194},{"style":63},[195],{"type":18,"value":196},",\n",{"type":13,"tag":45,"props":198,"children":199},{"class":47,"line":78},[200,205,209,214],{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," p_next",{"type":13,"tag":45,"props":206,"children":207},{"style":52},[208],{"type":18,"value":176},{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":213}," *const",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218}," c_void,\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":97},[222,227,231,235,239,244],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," buffer",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":176},{"type":13,"tag":45,"props":232,"children":233},{"style":155},[234],{"type":18,"value":181},{"type":13,"tag":45,"props":236,"children":237},{"style":52},[238],{"type":18,"value":186},{"type":13,"tag":45,"props":240,"children":241},{"style":155},[242],{"type":18,"value":243},"Buffer",{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":196},{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":106},[251,256,260,264,268,273],{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":255}," offset",{"type":13,"tag":45,"props":257,"children":258},{"style":52},[259],{"type":18,"value":176},{"type":13,"tag":45,"props":261,"children":262},{"style":155},[263],{"type":18,"value":181},{"type":13,"tag":45,"props":265,"children":266},{"style":52},[267],{"type":18,"value":186},{"type":13,"tag":45,"props":269,"children":270},{"style":155},[271],{"type":18,"value":272},"DeviceSize",{"type":13,"tag":45,"props":274,"children":275},{"style":63},[276],{"type":18,"value":196},{"type":13,"tag":45,"props":278,"children":279},{"class":47,"line":115},[280,285,289,293,297,302],{"type":13,"tag":45,"props":281,"children":282},{"style":63},[283],{"type":18,"value":284}," flags",{"type":13,"tag":45,"props":286,"children":287},{"style":52},[288],{"type":18,"value":176},{"type":13,"tag":45,"props":290,"children":291},{"style":155},[292],{"type":18,"value":181},{"type":13,"tag":45,"props":294,"children":295},{"style":52},[296],{"type":18,"value":186},{"type":13,"tag":45,"props":298,"children":299},{"style":155},[300],{"type":18,"value":301},"ConditionalRenderingFlagsEXT",{"type":13,"tag":45,"props":303,"children":304},{"style":63},[305],{"type":18,"value":196},{"type":13,"tag":45,"props":307,"children":308},{"class":47,"line":124},[309],{"type":13,"tag":45,"props":310,"children":311},{"style":63},[312],{"type":18,"value":313},"}\n",{"type":13,"tag":315,"props":316,"children":317},"ul",{},[318,339,358,369,387],{"type":13,"tag":319,"props":320,"children":321},"li",{},[322,328,330,337],{"type":13,"tag":21,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"sType",{"type":18,"value":329}," is a ",{"type":13,"tag":331,"props":332,"children":334},"a",{"href":333},"/man/VkStructureType",[335],{"type":18,"value":336},"VkStructureType",{"type":18,"value":338}," value identifying this structure.",{"type":13,"tag":319,"props":340,"children":341},{},[342,348,350,356],{"type":13,"tag":21,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":347},"pNext",{"type":18,"value":349}," is ",{"type":13,"tag":21,"props":351,"children":353},{"className":352},[],[354],{"type":18,"value":355},"NULL",{"type":18,"value":357}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":319,"props":359,"children":360},{},[361,367],{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":366},"buffer",{"type":18,"value":368}," is a buffer containing the predicate for conditional\nrendering.",{"type":13,"tag":319,"props":370,"children":371},{},[372,378,380,385],{"type":13,"tag":21,"props":373,"children":375},{"className":374},[],[376],{"type":18,"value":377},"offset",{"type":18,"value":379}," is the byte offset into ",{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":366},{"type":18,"value":386}," where the predicate is\nlocated.",{"type":13,"tag":319,"props":388,"children":389},{},[390,396,398,404],{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":395},"flags",{"type":18,"value":397}," is a bitmask of ",{"type":13,"tag":331,"props":399,"children":401},{"href":400},"/man/VkConditionalRenderingFlagsEXT",[402],{"type":18,"value":403},"VkConditionalRenderingFlagsEXT",{"type":18,"value":405},"\nspecifying the behavior of conditional rendering.",{"type":13,"tag":14,"props":407,"children":408},{},[409,411,416,418,423,425,430],{"type":18,"value":410},"If the 32-bit value at ",{"type":13,"tag":21,"props":412,"children":414},{"className":413},[],[415],{"type":18,"value":377},{"type":18,"value":417}," in ",{"type":13,"tag":21,"props":419,"children":421},{"className":420},[],[422],{"type":18,"value":366},{"type":18,"value":424}," memory is zero, then the\nrendering commands are discarded, otherwise they are executed as normal.\nIf the value of the predicate in buffer memory changes while conditional\nrendering is active, the rendering commands ",{"type":13,"tag":426,"props":427,"children":429},"normative",{"type":428},"may",[],{"type":18,"value":431}," be discarded in an\nimplementation-dependent way.\nSome implementations may latch the value of the predicate upon beginning\nconditional rendering while others may read it before every rendering\ncommand.",{"type":13,"tag":433,"props":434,"children":436},"validity-group",{"name":435},"Valid Usage",[437,468,495,520],{"type":13,"tag":438,"props":439,"children":441},"validity-field",{"name":440},"VUID-VkConditionalRenderingBeginInfoEXT-buffer-01981",[442],{"type":13,"tag":14,"props":443,"children":444},{},[445,447,452,454,458,460,466],{"type":18,"value":446},"If ",{"type":13,"tag":21,"props":448,"children":450},{"className":449},[],[451],{"type":18,"value":366},{"type":18,"value":453}," is non-sparse then it ",{"type":13,"tag":426,"props":455,"children":457},{"type":456},"must",[],{"type":18,"value":459}," be bound completely and\ncontiguously to a single ",{"type":13,"tag":21,"props":461,"children":463},{"className":462},[],[464],{"type":18,"value":465},"VkDeviceMemory",{"type":18,"value":467}," object",{"type":13,"tag":438,"props":469,"children":471},{"name":470},"VUID-VkConditionalRenderingBeginInfoEXT-buffer-01982",[472],{"type":13,"tag":14,"props":473,"children":474},{},[475,480,482,485,487,493],{"type":13,"tag":21,"props":476,"children":478},{"className":477},[],[479],{"type":18,"value":366},{"type":18,"value":481}," ",{"type":13,"tag":426,"props":483,"children":484},{"type":456},[],{"type":18,"value":486}," have been created with the\n",{"type":13,"tag":21,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":492},"VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT",{"type":18,"value":494}," bit set",{"type":13,"tag":438,"props":496,"children":498},{"name":497},"VUID-VkConditionalRenderingBeginInfoEXT-offset-01983",[499],{"type":13,"tag":14,"props":500,"children":501},{},[502,507,508,511,513,518],{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":377},{"type":18,"value":481},{"type":13,"tag":426,"props":509,"children":510},{"type":456},[],{"type":18,"value":512}," be less than the size of ",{"type":13,"tag":21,"props":514,"children":516},{"className":515},[],[517],{"type":18,"value":366},{"type":18,"value":519}," by at least 32\nbits",{"type":13,"tag":438,"props":521,"children":523},{"name":522},"VUID-VkConditionalRenderingBeginInfoEXT-offset-01984",[524],{"type":13,"tag":14,"props":525,"children":526},{},[527,532,533,536],{"type":13,"tag":21,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":377},{"type":18,"value":481},{"type":13,"tag":426,"props":534,"children":535},{"type":456},[],{"type":18,"value":537}," be a multiple of 4",{"type":13,"tag":433,"props":539,"children":541},{"name":540},"Valid Usage (Implicit)",[542,566,588,614],{"type":13,"tag":438,"props":543,"children":545},{"name":544},"VUID-VkConditionalRenderingBeginInfoEXT-sType-sType",[546],{"type":13,"tag":14,"props":547,"children":548},{},[549,554,555,558,560],{"type":13,"tag":21,"props":550,"children":552},{"className":551},[],[553],{"type":18,"value":327},{"type":18,"value":481},{"type":13,"tag":426,"props":556,"children":557},{"type":456},[],{"type":18,"value":559}," be ",{"type":13,"tag":21,"props":561,"children":563},{"className":562},[],[564],{"type":18,"value":565},"VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT",{"type":13,"tag":438,"props":567,"children":569},{"name":568},"VUID-VkConditionalRenderingBeginInfoEXT-pNext-pNext",[570],{"type":13,"tag":14,"props":571,"children":572},{},[573,578,579,582,583],{"type":13,"tag":21,"props":574,"children":576},{"className":575},[],[577],{"type":18,"value":347},{"type":18,"value":481},{"type":13,"tag":426,"props":580,"children":581},{"type":456},[],{"type":18,"value":559},{"type":13,"tag":21,"props":584,"children":586},{"className":585},[],[587],{"type":18,"value":355},{"type":13,"tag":438,"props":589,"children":591},{"name":590},"VUID-VkConditionalRenderingBeginInfoEXT-buffer-parameter",[592],{"type":13,"tag":14,"props":593,"children":594},{},[595,600,601,604,606,612],{"type":13,"tag":21,"props":596,"children":598},{"className":597},[],[599],{"type":18,"value":366},{"type":18,"value":481},{"type":13,"tag":426,"props":602,"children":603},{"type":456},[],{"type":18,"value":605}," be a valid ",{"type":13,"tag":331,"props":607,"children":609},{"href":608},"/man/VkBuffer",[610],{"type":18,"value":611},"VkBuffer",{"type":18,"value":613}," handle",{"type":13,"tag":438,"props":615,"children":617},{"name":616},"VUID-VkConditionalRenderingBeginInfoEXT-flags-parameter",[618],{"type":13,"tag":14,"props":619,"children":620},{},[621,626,627,630,632,638],{"type":13,"tag":21,"props":622,"children":624},{"className":623},[],[625],{"type":18,"value":395},{"type":18,"value":481},{"type":13,"tag":426,"props":628,"children":629},{"type":456},[],{"type":18,"value":631}," be a valid combination of ",{"type":13,"tag":331,"props":633,"children":635},{"href":634},"/man/VkConditionalRenderingFlagBitsEXT",[636],{"type":18,"value":637},"VkConditionalRenderingFlagBitsEXT",{"type":18,"value":639}," values",{"type":13,"tag":641,"props":642,"children":643},"style",{},[644],{"type":18,"value":645},"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":647},[],"markdown",1725732543615]