[{"data":1,"prerenderedAt":557},["ShallowReactive",2],{"atNEElsoRn":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":556,"_id":4},"VkMicromapTriangleEXT","Structure specifying the micromap format and data for a triangle","VK_EXT_opacity_micromap","structs",[],{"type":10,"children":11,"toc":554},"root",[12,28,229,267,529,548],{"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,117],{"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 VkMicromapTriangleEXT {\n uint32_t dataOffset;\n uint16_t subdivisionLevel;\n uint16_t format;\n} VkMicromapTriangleEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,81,95,108],{"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}," VkMicromapTriangleEXT {\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}," uint32_t",{"type":13,"tag":45,"props":77,"children":78},{"style":63},[79],{"type":18,"value":80}," dataOffset;\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}," uint16_t",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," subdivisionLevel;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,103],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":89},{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," format;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},5,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116},"} VkMicromapTriangleEXT;\n",{"type":13,"tag":33,"props":118,"children":123},{"className":119,"code":120,"filename":121,"language":122,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct MicromapTriangleEXT {\n data_offset: u32, // Specified in bytes\n subdivision_level: u16,\n format: u16,\n}\n","Rust","rs",[124],{"type":13,"tag":21,"props":125,"children":126},{"__ignoreMap":39},[127,150,179,201,221],{"type":13,"tag":45,"props":128,"children":129},{"class":47,"line":48},[130,135,139,145],{"type":13,"tag":45,"props":131,"children":132},{"style":52},[133],{"type":18,"value":134},"pub",{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":60},{"type":13,"tag":45,"props":140,"children":142},{"style":141},"--shiki-default:#953800;--shiki-dark:#FFA657",[143],{"type":18,"value":144}," MicromapTriangleEXT",{"type":13,"tag":45,"props":146,"children":147},{"style":63},[148],{"type":18,"value":149}," {\n",{"type":13,"tag":45,"props":151,"children":152},{"class":47,"line":69},[153,158,163,168,173],{"type":13,"tag":45,"props":154,"children":155},{"style":63},[156],{"type":18,"value":157}," data_offset",{"type":13,"tag":45,"props":159,"children":160},{"style":52},[161],{"type":18,"value":162},":",{"type":13,"tag":45,"props":164,"children":165},{"style":141},[166],{"type":18,"value":167}," u32",{"type":13,"tag":45,"props":169,"children":170},{"style":63},[171],{"type":18,"value":172},", ",{"type":13,"tag":45,"props":174,"children":176},{"style":175},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[177],{"type":18,"value":178},"// Specified in bytes\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":83},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," subdivision_level",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":162},{"type":13,"tag":45,"props":192,"children":193},{"style":141},[194],{"type":18,"value":195}," u16",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200},",\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":97},[204,209,213,217],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," format",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":162},{"type":13,"tag":45,"props":214,"children":215},{"style":141},[216],{"type":18,"value":195},{"type":13,"tag":45,"props":218,"children":219},{"style":63},[220],{"type":18,"value":200},{"type":13,"tag":45,"props":222,"children":223},{"class":47,"line":110},[224],{"type":13,"tag":45,"props":225,"children":226},{"style":63},[227],{"type":18,"value":228},"}\n",{"type":13,"tag":230,"props":231,"children":232},"ul",{},[233,245,256],{"type":13,"tag":234,"props":235,"children":236},"li",{},[237,243],{"type":13,"tag":21,"props":238,"children":240},{"className":239},[],[241],{"type":18,"value":242},"dataOffset",{"type":18,"value":244}," is the offset in bytes of the start of the data for\nthis triangle.\nThis is a byte aligned value.",{"type":13,"tag":234,"props":246,"children":247},{},[248,254],{"type":13,"tag":21,"props":249,"children":251},{"className":250},[],[252],{"type":18,"value":253},"subdivisionLevel",{"type":18,"value":255}," is the subdivision level of this triangle",{"type":13,"tag":234,"props":257,"children":258},{},[259,265],{"type":13,"tag":21,"props":260,"children":262},{"className":261},[],[263],{"type":18,"value":264},"format",{"type":18,"value":266}," is the format of this triangle",{"type":13,"tag":268,"props":269,"children":271},"validity-group",{"name":270},"Valid Usage",[272,327,384,435,486],{"type":13,"tag":273,"props":274,"children":276},"validity-field",{"name":275},"VUID-VkMicromapTriangleEXT-format-07522",[277],{"type":13,"tag":14,"props":278,"children":279},{},[280,282,289,291,297,299,304,306,311,313,319,321],{"type":18,"value":281},"If the ",{"type":13,"tag":283,"props":284,"children":286},"a",{"href":285},"/man/VkMicromapTypeEXT",[287],{"type":18,"value":288},"VkMicromapTypeEXT",{"type":18,"value":290}," of the micromap is\n",{"type":13,"tag":21,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"VK_MICROMAP_TYPE_OPACITY_MICROMAP_EXT",{"type":18,"value":298}," then ",{"type":13,"tag":21,"props":300,"children":302},{"className":301},[],[303],{"type":18,"value":264},{"type":18,"value":305}," ",{"type":13,"tag":307,"props":308,"children":310},"normative",{"type":309},"must",[],{"type":18,"value":312}," be\n",{"type":13,"tag":21,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":318},"VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT",{"type":18,"value":320}," or\n",{"type":13,"tag":21,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT",{"type":13,"tag":273,"props":328,"children":330},{"name":329},"VUID-VkMicromapTriangleEXT-format-07523",[331],{"type":13,"tag":14,"props":332,"children":333},{},[334,335,339,340,345,347,352,354,359,360,365,368,370,376,378],{"type":18,"value":281},{"type":13,"tag":283,"props":336,"children":337},{"href":285},[338],{"type":18,"value":288},{"type":18,"value":290},{"type":13,"tag":21,"props":341,"children":343},{"className":342},[],[344],{"type":18,"value":296},{"type":18,"value":346}," and ",{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":264},{"type":18,"value":353}," is\n",{"type":13,"tag":21,"props":355,"children":357},{"className":356},[],[358],{"type":18,"value":318},{"type":18,"value":298},{"type":13,"tag":21,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":253},{"type":13,"tag":307,"props":366,"children":367},{"type":309},[],{"type":18,"value":369}," be less than or equal to\n",{"type":13,"tag":283,"props":371,"children":373},{"href":372},"/man/VkPhysicalDeviceOpacityMicromapPropertiesEXT",[374],{"type":18,"value":375},"VkPhysicalDeviceOpacityMicromapPropertiesEXT",{"type":18,"value":377},"::",{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":383},"maxOpacity2StateSubdivisionLevel",{"type":13,"tag":273,"props":385,"children":387},{"name":386},"VUID-VkMicromapTriangleEXT-format-07524",[388],{"type":13,"tag":14,"props":389,"children":390},{},[391,392,396,397,402,403,408,409,414,415,420,423,424,428,429],{"type":18,"value":281},{"type":13,"tag":283,"props":393,"children":394},{"href":285},[395],{"type":18,"value":288},{"type":18,"value":290},{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":296},{"type":18,"value":346},{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":264},{"type":18,"value":353},{"type":13,"tag":21,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":326},{"type":18,"value":298},{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":253},{"type":13,"tag":307,"props":421,"children":422},{"type":309},[],{"type":18,"value":369},{"type":13,"tag":283,"props":425,"children":426},{"href":372},[427],{"type":18,"value":375},{"type":18,"value":377},{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":434},"maxOpacity4StateSubdivisionLevel",{"type":13,"tag":273,"props":436,"children":438},{"name":437},"VUID-VkMicromapTriangleEXT-format-08708",[439],{"type":13,"tag":14,"props":440,"children":441},{},[442,443,447,448,454,455,460,461,464,466,472,473,479,480],{"type":18,"value":281},{"type":13,"tag":283,"props":444,"children":445},{"href":285},[446],{"type":18,"value":288},{"type":18,"value":290},{"type":13,"tag":21,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":453},"VK_MICROMAP_TYPE_DISPLACEMENT_MICROMAP_NV",{"type":18,"value":298},{"type":13,"tag":21,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":264},{"type":18,"value":305},{"type":13,"tag":307,"props":462,"children":463},{"type":309},[],{"type":18,"value":465},"\nbe ",{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":471},"VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV",{"type":18,"value":200},{"type":13,"tag":21,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":478},"VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV",{"type":18,"value":320},{"type":13,"tag":21,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV",{"type":13,"tag":273,"props":487,"children":489},{"name":488},"VUID-VkMicromapTriangleEXT-subdivisionLevel-08709",[490],{"type":13,"tag":14,"props":491,"children":492},{},[493,494,498,499,504,506,511,512,515,516,522,523],{"type":18,"value":281},{"type":13,"tag":283,"props":495,"children":496},{"href":285},[497],{"type":18,"value":288},{"type":18,"value":290},{"type":13,"tag":21,"props":500,"children":502},{"className":501},[],[503],{"type":18,"value":453},{"type":18,"value":505}," then\n",{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":253},{"type":18,"value":305},{"type":13,"tag":307,"props":513,"children":514},{"type":309},[],{"type":18,"value":369},{"type":13,"tag":283,"props":517,"children":519},{"href":518},"/man/VkPhysicalDeviceDisplacementMicromapPropertiesNV",[520],{"type":18,"value":521},"VkPhysicalDeviceDisplacementMicromapPropertiesNV",{"type":18,"value":377},{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":528},"maxDisplacementMicromapSubdivisionLevel",{"type":13,"tag":14,"props":530,"children":531},{},[532,533,538,540,546],{"type":18,"value":19},{"type":13,"tag":21,"props":534,"children":536},{"className":535},[],[537],{"type":18,"value":264},{"type":18,"value":539}," is interpreted based on the ",{"type":13,"tag":21,"props":541,"children":543},{"className":542},[],[544],{"type":18,"value":545},"type",{"type":18,"value":547}," of the micromap\nusing it.",{"type":13,"tag":549,"props":550,"children":551},"style",{},[552],{"type":18,"value":553},"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":555},[],"markdown",1725732563417]