[{"data":1,"prerenderedAt":363},["ShallowReactive",2],{"$f_yYQiEKgHGKhIqeyMSlusJw8MRwmOf2Mvv4IlpAOTsE":3},{"title":4,"description":5,"parent":6,"aliases":7,"type":9,"xrefs":10,"body":11,"_type":362,"_id":4},"VkMicromapTriangleKHR","Structure specifying the micromap format and data for a triangle","VK_KHR_opacity_micromap",[8],"VkMicromapTriangleEXT","structs",[],{"type":12,"children":13,"toc":360},"root",[14,30,231,298,336,354],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,28],{"type":20,"value":21},"text","The ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":4},{"type":20,"value":29}," structure is defined as:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,119],{"type":15,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkMicromapTriangleKHR {\n uint32_t dataOffset;\n uint16_t subdivisionLevel;\n uint16_t format;\n} VkMicromapTriangleKHR;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,83,97,110],{"type":15,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":15,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":20,"value":57},"typedef",{"type":15,"tag":47,"props":59,"children":60},{"style":54},[61],{"type":20,"value":62}," struct",{"type":15,"tag":47,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":20,"value":68}," VkMicromapTriangleKHR {\n",{"type":15,"tag":47,"props":70,"children":72},{"class":49,"line":71},2,[73,78],{"type":15,"tag":47,"props":74,"children":75},{"style":54},[76],{"type":20,"value":77}," uint32_t",{"type":15,"tag":47,"props":79,"children":80},{"style":65},[81],{"type":20,"value":82}," dataOffset;\n",{"type":15,"tag":47,"props":84,"children":86},{"class":49,"line":85},3,[87,92],{"type":15,"tag":47,"props":88,"children":89},{"style":54},[90],{"type":20,"value":91}," uint16_t",{"type":15,"tag":47,"props":93,"children":94},{"style":65},[95],{"type":20,"value":96}," subdivisionLevel;\n",{"type":15,"tag":47,"props":98,"children":100},{"class":49,"line":99},4,[101,105],{"type":15,"tag":47,"props":102,"children":103},{"style":54},[104],{"type":20,"value":91},{"type":15,"tag":47,"props":106,"children":107},{"style":65},[108],{"type":20,"value":109}," format;\n",{"type":15,"tag":47,"props":111,"children":113},{"class":49,"line":112},5,[114],{"type":15,"tag":47,"props":115,"children":116},{"style":65},[117],{"type":20,"value":118},"} VkMicromapTriangleKHR;\n",{"type":15,"tag":35,"props":120,"children":125},{"className":121,"code":122,"filename":123,"language":124,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct MicromapTriangleKHR {\n data_offset: u32, // Specified in bytes\n subdivision_level: u16,\n format: u16,\n}\n","Rust","rs",[126],{"type":15,"tag":23,"props":127,"children":128},{"__ignoreMap":41},[129,152,181,203,223],{"type":15,"tag":47,"props":130,"children":131},{"class":49,"line":50},[132,137,141,147],{"type":15,"tag":47,"props":133,"children":134},{"style":54},[135],{"type":20,"value":136},"pub",{"type":15,"tag":47,"props":138,"children":139},{"style":54},[140],{"type":20,"value":62},{"type":15,"tag":47,"props":142,"children":144},{"style":143},"--shiki-default:#953800;--shiki-dark:#FFA657",[145],{"type":20,"value":146}," MicromapTriangleKHR",{"type":15,"tag":47,"props":148,"children":149},{"style":65},[150],{"type":20,"value":151}," {\n",{"type":15,"tag":47,"props":153,"children":154},{"class":49,"line":71},[155,160,165,170,175],{"type":15,"tag":47,"props":156,"children":157},{"style":65},[158],{"type":20,"value":159}," data_offset",{"type":15,"tag":47,"props":161,"children":162},{"style":54},[163],{"type":20,"value":164},":",{"type":15,"tag":47,"props":166,"children":167},{"style":143},[168],{"type":20,"value":169}," u32",{"type":15,"tag":47,"props":171,"children":172},{"style":65},[173],{"type":20,"value":174},", ",{"type":15,"tag":47,"props":176,"children":178},{"style":177},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[179],{"type":20,"value":180},"// Specified in bytes\n",{"type":15,"tag":47,"props":182,"children":183},{"class":49,"line":85},[184,189,193,198],{"type":15,"tag":47,"props":185,"children":186},{"style":65},[187],{"type":20,"value":188}," subdivision_level",{"type":15,"tag":47,"props":190,"children":191},{"style":54},[192],{"type":20,"value":164},{"type":15,"tag":47,"props":194,"children":195},{"style":143},[196],{"type":20,"value":197}," u16",{"type":15,"tag":47,"props":199,"children":200},{"style":65},[201],{"type":20,"value":202},",\n",{"type":15,"tag":47,"props":204,"children":205},{"class":49,"line":99},[206,211,215,219],{"type":15,"tag":47,"props":207,"children":208},{"style":65},[209],{"type":20,"value":210}," format",{"type":15,"tag":47,"props":212,"children":213},{"style":54},[214],{"type":20,"value":164},{"type":15,"tag":47,"props":216,"children":217},{"style":143},[218],{"type":20,"value":197},{"type":15,"tag":47,"props":220,"children":221},{"style":65},[222],{"type":20,"value":202},{"type":15,"tag":47,"props":224,"children":225},{"class":49,"line":112},[226],{"type":15,"tag":47,"props":227,"children":228},{"style":65},[229],{"type":20,"value":230},"}\n",{"type":15,"tag":31,"props":232,"children":233},{},[234,253],{"type":15,"tag":35,"props":235,"children":237},{"className":37,"code":236,"filename":39,"language":40,"meta":41,"style":41},"typedef VkMicromapTriangleKHR VkMicromapTriangleEXT;\n",[238],{"type":15,"tag":23,"props":239,"children":240},{"__ignoreMap":41},[241],{"type":15,"tag":47,"props":242,"children":243},{"class":49,"line":50},[244,248],{"type":15,"tag":47,"props":245,"children":246},{"style":54},[247],{"type":20,"value":57},{"type":15,"tag":47,"props":249,"children":250},{"style":65},[251],{"type":20,"value":252}," VkMicromapTriangleKHR VkMicromapTriangleEXT;\n",{"type":15,"tag":35,"props":254,"children":256},{"className":121,"code":255,"filename":123,"language":124,"meta":41,"style":41},"type MicromapTriangleEXT = vk::MicromapTriangleKHR;\n",[257],{"type":15,"tag":23,"props":258,"children":259},{"__ignoreMap":41},[260],{"type":15,"tag":47,"props":261,"children":262},{"class":49,"line":50},[263,268,273,278,283,288,293],{"type":15,"tag":47,"props":264,"children":265},{"style":54},[266],{"type":20,"value":267},"type",{"type":15,"tag":47,"props":269,"children":270},{"style":143},[271],{"type":20,"value":272}," MicromapTriangleEXT",{"type":15,"tag":47,"props":274,"children":275},{"style":54},[276],{"type":20,"value":277}," =",{"type":15,"tag":47,"props":279,"children":280},{"style":143},[281],{"type":20,"value":282}," vk",{"type":15,"tag":47,"props":284,"children":285},{"style":54},[286],{"type":20,"value":287},"::",{"type":15,"tag":47,"props":289,"children":290},{"style":143},[291],{"type":20,"value":292},"MicromapTriangleKHR",{"type":15,"tag":47,"props":294,"children":295},{"style":65},[296],{"type":20,"value":297},";\n",{"type":15,"tag":299,"props":300,"children":301},"ul",{},[302,314,325],{"type":15,"tag":303,"props":304,"children":305},"li",{},[306,312],{"type":15,"tag":23,"props":307,"children":309},{"className":308},[],[310],{"type":20,"value":311},"dataOffset",{"type":20,"value":313}," is the offset in bytes of the start of the data for\nthis triangle.\nThis is a byte aligned value.",{"type":15,"tag":303,"props":315,"children":316},{},[317,323],{"type":15,"tag":23,"props":318,"children":320},{"className":319},[],[321],{"type":20,"value":322},"subdivisionLevel",{"type":20,"value":324}," is the subdivision level of this triangle",{"type":15,"tag":303,"props":326,"children":327},{},[328,334],{"type":15,"tag":23,"props":329,"children":331},{"className":330},[],[332],{"type":20,"value":333},"format",{"type":20,"value":335}," is the format of this triangle",{"type":15,"tag":16,"props":337,"children":338},{},[339,340,345,347,352],{"type":20,"value":21},{"type":15,"tag":23,"props":341,"children":343},{"className":342},[],[344],{"type":20,"value":333},{"type":20,"value":346}," is interpreted based on the ",{"type":15,"tag":23,"props":348,"children":350},{"className":349},[],[351],{"type":20,"value":267},{"type":20,"value":353}," of the micromap\nusing it.",{"type":15,"tag":355,"props":356,"children":357},"style",{},[358],{"type":20,"value":359},"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":41,"searchDepth":71,"depth":71,"links":361},[],"markdown",1778234090816]