[{"data":1,"prerenderedAt":1177},["ShallowReactive",2],{"$ffNB8gt113eR6BRQi1c3Yy6alT9_LbPsVwrwneBEYsYo":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":1176,"_id":4},"VkAccelerationStructureGeometryMicromapDataKHR","Structure specifying the data used to build a micromap","VK_KHR_opacity_micromap",[8],"VkAccelerationStructureGeometryKHR","structs",[],{"type":12,"children":13,"toc":1174},"root",[14,54,66,504,639,742,802,838,1026,1168],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,29,31,37,39,45,47,52],{"type":20,"value":21},"text","When building micromaps with ",{"type":15,"tag":23,"props":24,"children":26},"a",{"href":25},"/man/vkCmdBuildAccelerationStructuresKHR",[27],{"type":20,"value":28},"vkCmdBuildAccelerationStructuresKHR",{"type":20,"value":30},", a\n",{"type":15,"tag":32,"props":33,"children":35},"code",{"className":34},[],[36],{"type":20,"value":4},{"type":20,"value":38}," structure can be added\nto the ",{"type":15,"tag":32,"props":40,"children":42},{"className":41},[],[43],{"type":20,"value":44},"pNext",{"type":20,"value":46}," chain of ",{"type":15,"tag":23,"props":48,"children":50},{"href":49},"/man/VkAccelerationStructureGeometryKHR",[51],{"type":20,"value":8},{"type":20,"value":53}," to\nspecify the data used to build the micromap.",{"type":15,"tag":16,"props":55,"children":56},{},[57,59,64],{"type":20,"value":58},"The ",{"type":15,"tag":32,"props":60,"children":62},{"className":61},[],[63],{"type":20,"value":4},{"type":20,"value":65}," structure is\ndefined as:",{"type":15,"tag":67,"props":68,"children":69},"code-group",{},[70,232],{"type":15,"tag":71,"props":72,"children":78},"pre",{"className":73,"code":74,"filename":75,"language":76,"meta":77,"style":77},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkAccelerationStructureGeometryMicromapDataKHR {\n VkStructureType sType;\n const void* pNext;\n uint32_t usageCountsCount;\n const VkMicromapUsageKHR* pUsageCounts;\n const VkMicromapUsageKHR* const* ppUsageCounts;\n VkDeviceAddress data;\n VkDeviceAddress triangleArray;\n VkDeviceSize triangleArrayStride;\n} VkAccelerationStructureGeometryMicromapDataKHR;\n","C","c","",[79],{"type":15,"tag":32,"props":80,"children":81},{"__ignoreMap":77},[82,105,114,133,147,170,196,205,214,223],{"type":15,"tag":83,"props":84,"children":87},"span",{"class":85,"line":86},"line",1,[88,94,99],{"type":15,"tag":83,"props":89,"children":91},{"style":90},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[92],{"type":20,"value":93},"typedef",{"type":15,"tag":83,"props":95,"children":96},{"style":90},[97],{"type":20,"value":98}," struct",{"type":15,"tag":83,"props":100,"children":102},{"style":101},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[103],{"type":20,"value":104}," VkAccelerationStructureGeometryMicromapDataKHR {\n",{"type":15,"tag":83,"props":106,"children":108},{"class":85,"line":107},2,[109],{"type":15,"tag":83,"props":110,"children":111},{"style":101},[112],{"type":20,"value":113}," VkStructureType sType;\n",{"type":15,"tag":83,"props":115,"children":117},{"class":85,"line":116},3,[118,123,128],{"type":15,"tag":83,"props":119,"children":120},{"style":90},[121],{"type":20,"value":122}," const",{"type":15,"tag":83,"props":124,"children":125},{"style":90},[126],{"type":20,"value":127}," void*",{"type":15,"tag":83,"props":129,"children":130},{"style":101},[131],{"type":20,"value":132}," pNext;\n",{"type":15,"tag":83,"props":134,"children":136},{"class":85,"line":135},4,[137,142],{"type":15,"tag":83,"props":138,"children":139},{"style":90},[140],{"type":20,"value":141}," uint32_t",{"type":15,"tag":83,"props":143,"children":144},{"style":101},[145],{"type":20,"value":146}," usageCountsCount;\n",{"type":15,"tag":83,"props":148,"children":150},{"class":85,"line":149},5,[151,155,160,165],{"type":15,"tag":83,"props":152,"children":153},{"style":90},[154],{"type":20,"value":122},{"type":15,"tag":83,"props":156,"children":157},{"style":101},[158],{"type":20,"value":159}," VkMicromapUsageKHR",{"type":15,"tag":83,"props":161,"children":162},{"style":90},[163],{"type":20,"value":164},"*",{"type":15,"tag":83,"props":166,"children":167},{"style":101},[168],{"type":20,"value":169}," pUsageCounts;\n",{"type":15,"tag":83,"props":171,"children":173},{"class":85,"line":172},6,[174,178,182,186,191],{"type":15,"tag":83,"props":175,"children":176},{"style":90},[177],{"type":20,"value":122},{"type":15,"tag":83,"props":179,"children":180},{"style":101},[181],{"type":20,"value":159},{"type":15,"tag":83,"props":183,"children":184},{"style":90},[185],{"type":20,"value":164},{"type":15,"tag":83,"props":187,"children":188},{"style":90},[189],{"type":20,"value":190}," const*",{"type":15,"tag":83,"props":192,"children":193},{"style":101},[194],{"type":20,"value":195}," ppUsageCounts;\n",{"type":15,"tag":83,"props":197,"children":199},{"class":85,"line":198},7,[200],{"type":15,"tag":83,"props":201,"children":202},{"style":101},[203],{"type":20,"value":204}," VkDeviceAddress data;\n",{"type":15,"tag":83,"props":206,"children":208},{"class":85,"line":207},8,[209],{"type":15,"tag":83,"props":210,"children":211},{"style":101},[212],{"type":20,"value":213}," VkDeviceAddress triangleArray;\n",{"type":15,"tag":83,"props":215,"children":217},{"class":85,"line":216},9,[218],{"type":15,"tag":83,"props":219,"children":220},{"style":101},[221],{"type":20,"value":222}," VkDeviceSize triangleArrayStride;\n",{"type":15,"tag":83,"props":224,"children":226},{"class":85,"line":225},10,[227],{"type":15,"tag":83,"props":228,"children":229},{"style":101},[230],{"type":20,"value":231},"} VkAccelerationStructureGeometryMicromapDataKHR;\n",{"type":15,"tag":71,"props":233,"children":238},{"className":234,"code":235,"filename":236,"language":237,"meta":77,"style":77},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct AccelerationStructureGeometryMicromapDataKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n usage_counts_count: u32,\n p_usage_counts: *const vk::MicromapUsageKHR,\n pp_usage_counts: *const *const vk::MicromapUsageKHR,\n data: vk::DeviceAddress,\n triangle_array: vk::DeviceAddress,\n triangle_array_stride: vk::DeviceSize,\n}\n","Rust","rs",[239],{"type":15,"tag":32,"props":240,"children":241},{"__ignoreMap":77},[242,265,298,320,341,374,410,439,467,496],{"type":15,"tag":83,"props":243,"children":244},{"class":85,"line":86},[245,250,254,260],{"type":15,"tag":83,"props":246,"children":247},{"style":90},[248],{"type":20,"value":249},"pub",{"type":15,"tag":83,"props":251,"children":252},{"style":90},[253],{"type":20,"value":98},{"type":15,"tag":83,"props":255,"children":257},{"style":256},"--shiki-default:#953800;--shiki-dark:#FFA657",[258],{"type":20,"value":259}," AccelerationStructureGeometryMicromapDataKHR",{"type":15,"tag":83,"props":261,"children":262},{"style":101},[263],{"type":20,"value":264}," {\n",{"type":15,"tag":83,"props":266,"children":267},{"class":85,"line":107},[268,273,278,283,288,293],{"type":15,"tag":83,"props":269,"children":270},{"style":101},[271],{"type":20,"value":272}," s_type",{"type":15,"tag":83,"props":274,"children":275},{"style":90},[276],{"type":20,"value":277},":",{"type":15,"tag":83,"props":279,"children":280},{"style":256},[281],{"type":20,"value":282}," vk",{"type":15,"tag":83,"props":284,"children":285},{"style":90},[286],{"type":20,"value":287},"::",{"type":15,"tag":83,"props":289,"children":290},{"style":256},[291],{"type":20,"value":292},"StructureType",{"type":15,"tag":83,"props":294,"children":295},{"style":101},[296],{"type":20,"value":297},",\n",{"type":15,"tag":83,"props":299,"children":300},{"class":85,"line":116},[301,306,310,315],{"type":15,"tag":83,"props":302,"children":303},{"style":101},[304],{"type":20,"value":305}," p_next",{"type":15,"tag":83,"props":307,"children":308},{"style":90},[309],{"type":20,"value":277},{"type":15,"tag":83,"props":311,"children":312},{"style":90},[313],{"type":20,"value":314}," *const",{"type":15,"tag":83,"props":316,"children":317},{"style":101},[318],{"type":20,"value":319}," c_void,\n",{"type":15,"tag":83,"props":321,"children":322},{"class":85,"line":135},[323,328,332,337],{"type":15,"tag":83,"props":324,"children":325},{"style":101},[326],{"type":20,"value":327}," usage_counts_count",{"type":15,"tag":83,"props":329,"children":330},{"style":90},[331],{"type":20,"value":277},{"type":15,"tag":83,"props":333,"children":334},{"style":256},[335],{"type":20,"value":336}," u32",{"type":15,"tag":83,"props":338,"children":339},{"style":101},[340],{"type":20,"value":297},{"type":15,"tag":83,"props":342,"children":343},{"class":85,"line":149},[344,349,353,357,361,365,370],{"type":15,"tag":83,"props":345,"children":346},{"style":101},[347],{"type":20,"value":348}," p_usage_counts",{"type":15,"tag":83,"props":350,"children":351},{"style":90},[352],{"type":20,"value":277},{"type":15,"tag":83,"props":354,"children":355},{"style":90},[356],{"type":20,"value":314},{"type":15,"tag":83,"props":358,"children":359},{"style":256},[360],{"type":20,"value":282},{"type":15,"tag":83,"props":362,"children":363},{"style":90},[364],{"type":20,"value":287},{"type":15,"tag":83,"props":366,"children":367},{"style":256},[368],{"type":20,"value":369},"MicromapUsageKHR",{"type":15,"tag":83,"props":371,"children":372},{"style":101},[373],{"type":20,"value":297},{"type":15,"tag":83,"props":375,"children":376},{"class":85,"line":172},[377,382,386,390,394,398,402,406],{"type":15,"tag":83,"props":378,"children":379},{"style":101},[380],{"type":20,"value":381}," pp_usage_counts",{"type":15,"tag":83,"props":383,"children":384},{"style":90},[385],{"type":20,"value":277},{"type":15,"tag":83,"props":387,"children":388},{"style":90},[389],{"type":20,"value":314},{"type":15,"tag":83,"props":391,"children":392},{"style":90},[393],{"type":20,"value":314},{"type":15,"tag":83,"props":395,"children":396},{"style":256},[397],{"type":20,"value":282},{"type":15,"tag":83,"props":399,"children":400},{"style":90},[401],{"type":20,"value":287},{"type":15,"tag":83,"props":403,"children":404},{"style":256},[405],{"type":20,"value":369},{"type":15,"tag":83,"props":407,"children":408},{"style":101},[409],{"type":20,"value":297},{"type":15,"tag":83,"props":411,"children":412},{"class":85,"line":198},[413,418,422,426,430,435],{"type":15,"tag":83,"props":414,"children":415},{"style":101},[416],{"type":20,"value":417}," data",{"type":15,"tag":83,"props":419,"children":420},{"style":90},[421],{"type":20,"value":277},{"type":15,"tag":83,"props":423,"children":424},{"style":256},[425],{"type":20,"value":282},{"type":15,"tag":83,"props":427,"children":428},{"style":90},[429],{"type":20,"value":287},{"type":15,"tag":83,"props":431,"children":432},{"style":256},[433],{"type":20,"value":434},"DeviceAddress",{"type":15,"tag":83,"props":436,"children":437},{"style":101},[438],{"type":20,"value":297},{"type":15,"tag":83,"props":440,"children":441},{"class":85,"line":207},[442,447,451,455,459,463],{"type":15,"tag":83,"props":443,"children":444},{"style":101},[445],{"type":20,"value":446}," triangle_array",{"type":15,"tag":83,"props":448,"children":449},{"style":90},[450],{"type":20,"value":277},{"type":15,"tag":83,"props":452,"children":453},{"style":256},[454],{"type":20,"value":282},{"type":15,"tag":83,"props":456,"children":457},{"style":90},[458],{"type":20,"value":287},{"type":15,"tag":83,"props":460,"children":461},{"style":256},[462],{"type":20,"value":434},{"type":15,"tag":83,"props":464,"children":465},{"style":101},[466],{"type":20,"value":297},{"type":15,"tag":83,"props":468,"children":469},{"class":85,"line":216},[470,475,479,483,487,492],{"type":15,"tag":83,"props":471,"children":472},{"style":101},[473],{"type":20,"value":474}," triangle_array_stride",{"type":15,"tag":83,"props":476,"children":477},{"style":90},[478],{"type":20,"value":277},{"type":15,"tag":83,"props":480,"children":481},{"style":256},[482],{"type":20,"value":282},{"type":15,"tag":83,"props":484,"children":485},{"style":90},[486],{"type":20,"value":287},{"type":15,"tag":83,"props":488,"children":489},{"style":256},[490],{"type":20,"value":491},"DeviceSize",{"type":15,"tag":83,"props":493,"children":494},{"style":101},[495],{"type":20,"value":297},{"type":15,"tag":83,"props":497,"children":498},{"class":85,"line":225},[499],{"type":15,"tag":83,"props":500,"children":501},{"style":101},[502],{"type":20,"value":503},"}\n",{"type":15,"tag":505,"props":506,"children":507},"ul",{},[508,528,546,557,576,593,604,623],{"type":15,"tag":509,"props":510,"children":511},"li",{},[512,518,520,526],{"type":15,"tag":32,"props":513,"children":515},{"className":514},[],[516],{"type":20,"value":517},"sType",{"type":20,"value":519}," is a ",{"type":15,"tag":23,"props":521,"children":523},{"href":522},"/man/VkStructureType",[524],{"type":20,"value":525},"VkStructureType",{"type":20,"value":527}," value identifying this structure.",{"type":15,"tag":509,"props":529,"children":530},{},[531,536,538,544],{"type":15,"tag":32,"props":532,"children":534},{"className":533},[],[535],{"type":20,"value":44},{"type":20,"value":537}," is ",{"type":15,"tag":32,"props":539,"children":541},{"className":540},[],[542],{"type":20,"value":543},"NULL",{"type":20,"value":545}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":509,"props":547,"children":548},{},[549,555],{"type":15,"tag":32,"props":550,"children":552},{"className":551},[],[553],{"type":20,"value":554},"usageCountsCount",{"type":20,"value":556}," specifies the number of usage counts structures\nthat will be used to determine the size of this micromap.",{"type":15,"tag":509,"props":558,"children":559},{},[560,566,568,574],{"type":15,"tag":32,"props":561,"children":563},{"className":562},[],[564],{"type":20,"value":565},"pUsageCounts",{"type":20,"value":567}," is a pointer to an array of ",{"type":15,"tag":23,"props":569,"children":571},{"href":570},"/man/VkMicromapUsageKHR",[572],{"type":20,"value":573},"VkMicromapUsageKHR",{"type":20,"value":575},"\nstructures.",{"type":15,"tag":509,"props":577,"children":578},{},[579,585,587,591],{"type":15,"tag":32,"props":580,"children":582},{"className":581},[],[583],{"type":20,"value":584},"ppUsageCounts",{"type":20,"value":586}," is a pointer to an array of pointers to\n",{"type":15,"tag":23,"props":588,"children":589},{"href":570},[590],{"type":20,"value":573},{"type":20,"value":592}," structures.",{"type":15,"tag":509,"props":594,"children":595},{},[596,602],{"type":15,"tag":32,"props":597,"children":599},{"className":598},[],[600],{"type":20,"value":601},"data",{"type":20,"value":603}," is the device address to memory which contains the data for\nthe micromap.",{"type":15,"tag":509,"props":605,"children":606},{},[607,613,615,621],{"type":15,"tag":32,"props":608,"children":610},{"className":609},[],[611],{"type":20,"value":612},"triangleArray",{"type":20,"value":614}," is the device address to memory containing the\n",{"type":15,"tag":23,"props":616,"children":618},{"href":617},"/man/VkMicromapTriangleKHR",[619],{"type":20,"value":620},"VkMicromapTriangleKHR",{"type":20,"value":622}," data",{"type":15,"tag":509,"props":624,"children":625},{},[626,632,634],{"type":15,"tag":32,"props":627,"children":629},{"className":628},[],[630],{"type":20,"value":631},"triangleArrayStride",{"type":20,"value":633}," is the stride in bytes between each element of\n",{"type":15,"tag":32,"props":635,"children":637},{"className":636},[],[638],{"type":20,"value":612},{"type":15,"tag":16,"props":640,"children":641},{},[642,644,649,651,656,658,663,665,669,671,676,678,683,685,691,693,699,701,707,709,714,715,720,722,727,728,733,735,740],{"type":20,"value":643},"Only one of ",{"type":15,"tag":32,"props":645,"children":647},{"className":646},[],[648],{"type":20,"value":565},{"type":20,"value":650}," or ",{"type":15,"tag":32,"props":652,"children":654},{"className":653},[],[655],{"type":20,"value":584},{"type":20,"value":657}," ",{"type":15,"tag":659,"props":660,"children":662},"normative",{"type":661},"can",[],{"type":20,"value":664}," be a valid\npointer, the other ",{"type":15,"tag":659,"props":666,"children":668},{"type":667},"must",[],{"type":20,"value":670}," be ",{"type":15,"tag":32,"props":672,"children":674},{"className":673},[],[675],{"type":20,"value":543},{"type":20,"value":677},".\nThe elements of the non-",{"type":15,"tag":32,"props":679,"children":681},{"className":680},[],[682],{"type":20,"value":543},{"type":20,"value":684}," array describe the total counts used to build\neach micromap.\nEach element contains a ",{"type":15,"tag":32,"props":686,"children":688},{"className":687},[],[689],{"type":20,"value":690},"count",{"type":20,"value":692}," which is the number of micromap\ntriangles of that ",{"type":15,"tag":32,"props":694,"children":696},{"className":695},[],[697],{"type":20,"value":698},"format",{"type":20,"value":700}," and ",{"type":15,"tag":32,"props":702,"children":704},{"className":703},[],[705],{"type":20,"value":706},"subdivisionLevel",{"type":20,"value":708}," contained in the\nmicromap.\nMultiple elements with the same ",{"type":15,"tag":32,"props":710,"children":712},{"className":711},[],[713],{"type":20,"value":698},{"type":20,"value":700},{"type":15,"tag":32,"props":716,"children":718},{"className":717},[],[719],{"type":20,"value":706},{"type":20,"value":721}," are\nallowed and the total count for that ",{"type":15,"tag":32,"props":723,"children":725},{"className":724},[],[726],{"type":20,"value":698},{"type":20,"value":700},{"type":15,"tag":32,"props":729,"children":731},{"className":730},[],[732],{"type":20,"value":706},{"type":20,"value":734},"\nis the sum of the ",{"type":15,"tag":32,"props":736,"children":738},{"className":737},[],[739],{"type":20,"value":690},{"type":20,"value":741}," for each element.",{"type":15,"tag":16,"props":743,"children":744},{},[745,747,752,754,759,760,765,767,773,775,780,782,787,789,794,796,800],{"type":20,"value":746},"Each micromap triangle refers to one element in ",{"type":15,"tag":32,"props":748,"children":750},{"className":749},[],[751],{"type":20,"value":612},{"type":20,"value":753}," which\ncontains the ",{"type":15,"tag":32,"props":755,"children":757},{"className":756},[],[758],{"type":20,"value":698},{"type":20,"value":700},{"type":15,"tag":32,"props":761,"children":763},{"className":762},[],[764],{"type":20,"value":706},{"type":20,"value":766}," for that particular\ntriangle as well as a ",{"type":15,"tag":32,"props":768,"children":770},{"className":769},[],[771],{"type":20,"value":772},"dataOffset",{"type":20,"value":774}," in bytes which is the location\nrelative to ",{"type":15,"tag":32,"props":776,"children":778},{"className":777},[],[779],{"type":20,"value":601},{"type":20,"value":781}," where that triangle’s micromap data begins.\nThe data at ",{"type":15,"tag":32,"props":783,"children":785},{"className":784},[],[786],{"type":20,"value":612},{"type":20,"value":788}," is laid out as a 4 byte unsigned integer for\nthe ",{"type":15,"tag":32,"props":790,"children":792},{"className":791},[],[793],{"type":20,"value":772},{"type":20,"value":795}," followed by a 2 byte unsigned integer for the\nsubdivision level then a 2 byte unsigned integer for the format.\nIn practice, compilers compile ",{"type":15,"tag":23,"props":797,"children":798},{"href":617},[799],{"type":20,"value":620},{"type":20,"value":801}," to match this\npattern.",{"type":15,"tag":16,"props":803,"children":804},{},[805,807,812,814,820,822,828,830,836],{"type":20,"value":806},"For opacity micromaps, the data at ",{"type":15,"tag":32,"props":808,"children":810},{"className":809},[],[811],{"type":20,"value":601},{"type":20,"value":813}," is packed as either one bit\nper element for ",{"type":15,"tag":32,"props":815,"children":817},{"className":816},[],[818],{"type":20,"value":819},"VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR",{"type":20,"value":821}," or two bits per\nelement for ",{"type":15,"tag":32,"props":823,"children":825},{"className":824},[],[826],{"type":20,"value":827},"VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR",{"type":20,"value":829}," and is packed from\nLSB to MSB in each byte.\nThe data at each index in those bytes is interpreted as discussed in\n",{"type":15,"tag":23,"props":831,"children":833},{"href":832},"/chapters/ray-traversal#ray-opacity-micromap",[834],{"type":20,"value":835},"Ray Opacity Micromap",{"type":20,"value":837},".",{"type":15,"tag":839,"props":840,"children":842},"validity-group",{"name":841},"Valid Usage",[843,877,921,975,1001],{"type":15,"tag":844,"props":845,"children":847},"validity-field",{"name":846},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-pUsageCounts-11642",[848],{"type":15,"tag":16,"props":849,"children":850},{},[851,852,857,858,863,864,867,868,871,872],{"type":20,"value":643},{"type":15,"tag":32,"props":853,"children":855},{"className":854},[],[856],{"type":20,"value":565},{"type":20,"value":650},{"type":15,"tag":32,"props":859,"children":861},{"className":860},[],[862],{"type":20,"value":584},{"type":20,"value":657},{"type":15,"tag":659,"props":865,"children":866},{"type":661},[],{"type":20,"value":664},{"type":15,"tag":659,"props":869,"children":870},{"type":667},[],{"type":20,"value":670},{"type":15,"tag":32,"props":873,"children":875},{"className":874},[],[876],{"type":20,"value":543},{"type":15,"tag":844,"props":878,"children":880},{"name":879},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-count-11643",[881],{"type":15,"tag":16,"props":882,"children":883},{},[884,886,891,893,898,900,905,906,909,911],{"type":20,"value":885},"The total sum of ",{"type":15,"tag":32,"props":887,"children":889},{"className":888},[],[890],{"type":20,"value":690},{"type":20,"value":892}," from all elements of ",{"type":15,"tag":32,"props":894,"children":896},{"className":895},[],[897],{"type":20,"value":565},{"type":20,"value":899}," and\n",{"type":15,"tag":32,"props":901,"children":903},{"className":902},[],[904],{"type":20,"value":584},{"type":20,"value":657},{"type":15,"tag":659,"props":907,"children":908},{"type":667},[],{"type":20,"value":910}," be less than or equal to\n",{"type":15,"tag":23,"props":912,"children":914},{"href":913},"/man/VkPhysicalDeviceOpacityMicromapPropertiesKHR#limits-maxMicromapTriangles",[915],{"type":15,"tag":32,"props":916,"children":918},{"className":917},[],[919],{"type":20,"value":920},"maxMicromapTriangles",{"type":15,"tag":844,"props":922,"children":924},{"name":923},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-subdivisionLevel-11645",[925],{"type":15,"tag":16,"props":926,"children":927},{},[928,930,935,936,941,943,948,949,954,955,960,961,964,965],{"type":20,"value":929},"For each member of ",{"type":15,"tag":32,"props":931,"children":933},{"className":932},[],[934],{"type":20,"value":565},{"type":20,"value":650},{"type":15,"tag":32,"props":937,"children":939},{"className":938},[],[940],{"type":20,"value":584},{"type":20,"value":942},", if\n",{"type":15,"tag":32,"props":944,"children":946},{"className":945},[],[947],{"type":20,"value":698},{"type":20,"value":537},{"type":15,"tag":32,"props":950,"children":952},{"className":951},[],[953],{"type":20,"value":819},{"type":20,"value":297},{"type":15,"tag":32,"props":956,"children":958},{"className":957},[],[959],{"type":20,"value":706},{"type":20,"value":657},{"type":15,"tag":659,"props":962,"children":963},{"type":667},[],{"type":20,"value":910},{"type":15,"tag":23,"props":966,"children":968},{"href":967},"/man/VkPhysicalDeviceOpacityMicromapPropertiesKHR#limits-maxOpacity2StateSubdivisionLevel",[969],{"type":15,"tag":32,"props":970,"children":972},{"className":971},[],[973],{"type":20,"value":974},"maxOpacity2StateSubdivisionLevel",{"type":15,"tag":844,"props":976,"children":978},{"name":977},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-triangleArrayStride-11646",[979],{"type":15,"tag":16,"props":980,"children":981},{},[982,987,988,991,993,999],{"type":15,"tag":32,"props":983,"children":985},{"className":984},[],[986],{"type":20,"value":631},{"type":20,"value":657},{"type":15,"tag":659,"props":989,"children":990},{"type":667},[],{"type":20,"value":992}," be greater than or equal to ",{"type":15,"tag":32,"props":994,"children":996},{"className":995},[],[997],{"type":20,"value":998},"8",{"type":20,"value":1000}," bytes",{"type":15,"tag":844,"props":1002,"children":1004},{"name":1003},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-triangleArrayStride-11647",[1005],{"type":15,"tag":16,"props":1006,"children":1007},{},[1008,1013,1014,1017,1019,1025],{"type":15,"tag":32,"props":1009,"children":1011},{"className":1010},[],[1012],{"type":20,"value":631},{"type":20,"value":657},{"type":15,"tag":659,"props":1015,"children":1016},{"type":667},[],{"type":20,"value":1018}," be a multiple of ",{"type":15,"tag":32,"props":1020,"children":1022},{"className":1021},[],[1023],{"type":20,"value":1024},"4",{"type":20,"value":1000},{"type":15,"tag":839,"props":1027,"children":1029},{"name":1028},"Valid Usage (Implicit)",[1030,1053,1114],{"type":15,"tag":844,"props":1031,"children":1033},{"name":1032},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-sType-sType",[1034],{"type":15,"tag":16,"props":1035,"children":1036},{},[1037,1042,1043,1046,1047],{"type":15,"tag":32,"props":1038,"children":1040},{"className":1039},[],[1041],{"type":20,"value":517},{"type":20,"value":657},{"type":15,"tag":659,"props":1044,"children":1045},{"type":667},[],{"type":20,"value":670},{"type":15,"tag":32,"props":1048,"children":1050},{"className":1049},[],[1051],{"type":20,"value":1052},"VK_STRUCTURE_TYPE_ACCELERATION_STRUCTURE_GEOMETRY_MICROMAP_DATA_KHR",{"type":15,"tag":844,"props":1054,"children":1056},{"name":1055},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-pUsageCounts-parameter",[1057],{"type":15,"tag":16,"props":1058,"children":1059},{},[1060,1062,1067,1069,1075,1077,1082,1083,1088,1090,1095,1096,1099,1101,1106,1108,1112],{"type":20,"value":1061},"If ",{"type":15,"tag":32,"props":1063,"children":1065},{"className":1064},[],[1066],{"type":20,"value":554},{"type":20,"value":1068}," is not ",{"type":15,"tag":32,"props":1070,"children":1072},{"className":1071},[],[1073],{"type":20,"value":1074},"0",{"type":20,"value":1076},", and ",{"type":15,"tag":32,"props":1078,"children":1080},{"className":1079},[],[1081],{"type":20,"value":565},{"type":20,"value":1068},{"type":15,"tag":32,"props":1084,"children":1086},{"className":1085},[],[1087],{"type":20,"value":543},{"type":20,"value":1089},", ",{"type":15,"tag":32,"props":1091,"children":1093},{"className":1092},[],[1094],{"type":20,"value":565},{"type":20,"value":657},{"type":15,"tag":659,"props":1097,"children":1098},{"type":667},[],{"type":20,"value":1100}," be a valid pointer to an array of ",{"type":15,"tag":32,"props":1102,"children":1104},{"className":1103},[],[1105],{"type":20,"value":554},{"type":20,"value":1107}," valid ",{"type":15,"tag":23,"props":1109,"children":1110},{"href":570},[1111],{"type":20,"value":573},{"type":20,"value":1113}," structures",{"type":15,"tag":844,"props":1115,"children":1117},{"name":1116},"VUID-VkAccelerationStructureGeometryMicromapDataKHR-ppUsageCounts-parameter",[1118],{"type":15,"tag":16,"props":1119,"children":1120},{},[1121,1122,1127,1128,1133,1134,1139,1140,1145,1146,1151,1152,1155,1156,1161,1163,1167],{"type":20,"value":1061},{"type":15,"tag":32,"props":1123,"children":1125},{"className":1124},[],[1126],{"type":20,"value":554},{"type":20,"value":1068},{"type":15,"tag":32,"props":1129,"children":1131},{"className":1130},[],[1132],{"type":20,"value":1074},{"type":20,"value":1076},{"type":15,"tag":32,"props":1135,"children":1137},{"className":1136},[],[1138],{"type":20,"value":584},{"type":20,"value":1068},{"type":15,"tag":32,"props":1141,"children":1143},{"className":1142},[],[1144],{"type":20,"value":543},{"type":20,"value":1089},{"type":15,"tag":32,"props":1147,"children":1149},{"className":1148},[],[1150],{"type":20,"value":584},{"type":20,"value":657},{"type":15,"tag":659,"props":1153,"children":1154},{"type":667},[],{"type":20,"value":1100},{"type":15,"tag":32,"props":1157,"children":1159},{"className":1158},[],[1160],{"type":20,"value":554},{"type":20,"value":1162}," valid pointers to valid ",{"type":15,"tag":23,"props":1164,"children":1165},{"href":570},[1166],{"type":20,"value":573},{"type":20,"value":1113},{"type":15,"tag":1169,"props":1170,"children":1171},"style",{},[1172],{"type":20,"value":1173},"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":77,"searchDepth":107,"depth":107,"links":1175},[],"markdown",1778234050438]