[{"data":1,"prerenderedAt":478},["ShallowReactive",2],{"2UDxfMXVke":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":477,"_id":4},"VkMicromapBuildSizesInfoEXT","Structure specifying build sizes for a micromap","VK_EXT_opacity_micromap","structs",[],{"type":10,"children":11,"toc":475},"root",[12,28,313,416,469],{"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 describes the required build\nsizes for a micromap and scratch buffers and 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 VkMicromapBuildSizesInfoEXT {\n VkStructureType sType;\n const void* pNext;\n VkDeviceSize micromapSize;\n VkDeviceSize buildScratchSize;\n VkBool32 discardable;\n} VkMicromapBuildSizesInfoEXT;\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}," VkMicromapBuildSizesInfoEXT {\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}," VkDeviceSize micromapSize;\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 buildScratchSize;\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}," VkBool32 discardable;\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},"} VkMicromapBuildSizesInfoEXT;\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 MicromapBuildSizesInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n micromap_size: vk::DeviceSize,\n build_scratch_size: vk::DeviceSize,\n discardable: vk::Bool32,\n}\n","Rust","rs",[138],{"type":13,"tag":21,"props":139,"children":140},{"__ignoreMap":39},[141,164,197,219,248,276,305],{"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}," MicromapBuildSizesInfoEXT",{"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}," micromap_size",{"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},"DeviceSize",{"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,272],{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":255}," build_scratch_size",{"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":243},{"type":13,"tag":45,"props":273,"children":274},{"style":63},[275],{"type":18,"value":196},{"type":13,"tag":45,"props":277,"children":278},{"class":47,"line":115},[279,284,288,292,296,301],{"type":13,"tag":45,"props":280,"children":281},{"style":63},[282],{"type":18,"value":283}," discardable",{"type":13,"tag":45,"props":285,"children":286},{"style":52},[287],{"type":18,"value":176},{"type":13,"tag":45,"props":289,"children":290},{"style":155},[291],{"type":18,"value":181},{"type":13,"tag":45,"props":293,"children":294},{"style":52},[295],{"type":18,"value":186},{"type":13,"tag":45,"props":297,"children":298},{"style":155},[299],{"type":18,"value":300},"Bool32",{"type":13,"tag":45,"props":302,"children":303},{"style":63},[304],{"type":18,"value":196},{"type":13,"tag":45,"props":306,"children":307},{"class":47,"line":124},[308],{"type":13,"tag":45,"props":309,"children":310},{"style":63},[311],{"type":18,"value":312},"}\n",{"type":13,"tag":314,"props":315,"children":316},"ul",{},[317,338,357,376,387],{"type":13,"tag":318,"props":319,"children":320},"li",{},[321,327,329,336],{"type":13,"tag":21,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"sType",{"type":18,"value":328}," is a ",{"type":13,"tag":330,"props":331,"children":333},"a",{"href":332},"/man/VkStructureType",[334],{"type":18,"value":335},"VkStructureType",{"type":18,"value":337}," value identifying this structure.",{"type":13,"tag":318,"props":339,"children":340},{},[341,347,349,355],{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"pNext",{"type":18,"value":348}," is ",{"type":13,"tag":21,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":354},"NULL",{"type":18,"value":356}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":318,"props":358,"children":359},{},[360,366,368,374],{"type":13,"tag":21,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":365},"micromapSize",{"type":18,"value":367}," is the size in bytes required in a\n",{"type":13,"tag":330,"props":369,"children":371},{"href":370},"/man/VkMicromapEXT",[372],{"type":18,"value":373},"VkMicromapEXT",{"type":18,"value":375}," for a build or update operation.",{"type":13,"tag":318,"props":377,"children":378},{},[379,385],{"type":13,"tag":21,"props":380,"children":382},{"className":381},[],[383],{"type":18,"value":384},"buildScratchSize",{"type":18,"value":386}," is the size in bytes required in a scratch buffer\nfor a build operation.",{"type":13,"tag":318,"props":388,"children":389},{},[390,396,398,403,405,409,411,414],{"type":13,"tag":21,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":395},"discardable",{"type":18,"value":397}," indicates whether or not the micromap object may be\ndestroyed after an acceleration structure build or update.\nA false value means that acceleration structures built with this\nmicromap ",{"type":13,"tag":399,"props":400,"children":402},"normative",{"type":401},"may",[],{"type":18,"value":404}," contain references to the data contained therein, and the\napplication ",{"type":13,"tag":399,"props":406,"children":408},{"type":407},"must",[],{"type":18,"value":410}," not destroy the micromap until ray traversal has\nconcluded.\nA true value means that the information in the micromap will be copied\nby value into the acceleration structure, and the micromap ",{"type":13,"tag":399,"props":412,"children":413},{"type":401},[],{"type":18,"value":415}," be\ndestroyed after the acceleration structure build concludes.",{"type":13,"tag":417,"props":418,"children":420},"validity-group",{"name":419},"Valid Usage (Implicit)",[421,447],{"type":13,"tag":422,"props":423,"children":425},"validity-field",{"name":424},"VUID-VkMicromapBuildSizesInfoEXT-sType-sType",[426],{"type":13,"tag":14,"props":427,"children":428},{},[429,434,436,439,441],{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":326},{"type":18,"value":435}," ",{"type":13,"tag":399,"props":437,"children":438},{"type":407},[],{"type":18,"value":440}," be ",{"type":13,"tag":21,"props":442,"children":444},{"className":443},[],[445],{"type":18,"value":446},"VK_STRUCTURE_TYPE_MICROMAP_BUILD_SIZES_INFO_EXT",{"type":13,"tag":422,"props":448,"children":450},{"name":449},"VUID-VkMicromapBuildSizesInfoEXT-pNext-pNext",[451],{"type":13,"tag":14,"props":452,"children":453},{},[454,459,460,463,464],{"type":13,"tag":21,"props":455,"children":457},{"className":456},[],[458],{"type":18,"value":346},{"type":18,"value":435},{"type":13,"tag":399,"props":461,"children":462},{"type":407},[],{"type":18,"value":440},{"type":13,"tag":21,"props":465,"children":467},{"className":466},[],[468],{"type":18,"value":354},{"type":13,"tag":470,"props":471,"children":472},"style",{},[473],{"type":18,"value":474},"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":476},[],"markdown",1725732563212]