[{"data":1,"prerenderedAt":572},["ShallowReactive",2],{"$f4OJ7EZkgl66gINfVI7nuKsEiYWcT2zA06rs4sERT0ec":3},{"title":4,"description":5,"parent":6,"aliases":7,"type":9,"xrefs":10,"body":11,"_type":571,"_id":4},"VkOpacityMicromapFormatKHR","Format enum for opacity micromaps","VK_KHR_opacity_micromap",[8],"VkOpacityMicromapFormatEXT","enums",[],{"type":12,"children":13,"toc":569},"root",[14,61,439,519,554,563],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,27,29,36,38,45,47,53,54,59],{"type":20,"value":21},"text","Formats which ",{"type":15,"tag":23,"props":24,"children":26},"normative",{"type":25},"can",[],{"type":20,"value":28}," be set in ",{"type":15,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkMicromapUsageKHR",[34],{"type":20,"value":35},"VkMicromapUsageKHR",{"type":20,"value":37},"::",{"type":15,"tag":39,"props":40,"children":42},"code",{"className":41},[],[43],{"type":20,"value":44},"format",{"type":20,"value":46}," and\n",{"type":15,"tag":30,"props":48,"children":50},{"href":49},"/man/VkMicromapTriangleKHR",[51],{"type":20,"value":52},"VkMicromapTriangleKHR",{"type":20,"value":37},{"type":15,"tag":39,"props":55,"children":57},{"className":56},[],[58],{"type":20,"value":44},{"type":20,"value":60}," for micromap builds, are:",{"type":15,"tag":62,"props":63,"children":64},"code-group",{},[65,202],{"type":15,"tag":66,"props":67,"children":73},"pre",{"className":68,"code":69,"filename":70,"language":71,"meta":72,"style":72},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkOpacityMicromapFormatKHR {\n VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR = 1,\n VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR = 2,\n // Provided by extensions\n VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT = VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR,\n VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT = VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR,\n} VkOpacityMicromapFormatKHR;\n","C","c","",[74],{"type":15,"tag":39,"props":75,"children":76},{"__ignoreMap":72},[77,100,125,147,157,175,193],{"type":15,"tag":78,"props":79,"children":82},"span",{"class":80,"line":81},"line",1,[83,89,94],{"type":15,"tag":78,"props":84,"children":86},{"style":85},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[87],{"type":20,"value":88},"typedef",{"type":15,"tag":78,"props":90,"children":91},{"style":85},[92],{"type":20,"value":93}," enum",{"type":15,"tag":78,"props":95,"children":97},{"style":96},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[98],{"type":20,"value":99}," VkOpacityMicromapFormatKHR {\n",{"type":15,"tag":78,"props":101,"children":103},{"class":80,"line":102},2,[104,109,114,120],{"type":15,"tag":78,"props":105,"children":106},{"style":96},[107],{"type":20,"value":108}," VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR ",{"type":15,"tag":78,"props":110,"children":111},{"style":85},[112],{"type":20,"value":113},"=",{"type":15,"tag":78,"props":115,"children":117},{"style":116},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[118],{"type":20,"value":119}," 1",{"type":15,"tag":78,"props":121,"children":122},{"style":96},[123],{"type":20,"value":124},",\n",{"type":15,"tag":78,"props":126,"children":128},{"class":80,"line":127},3,[129,134,138,143],{"type":15,"tag":78,"props":130,"children":131},{"style":96},[132],{"type":20,"value":133}," VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR ",{"type":15,"tag":78,"props":135,"children":136},{"style":85},[137],{"type":20,"value":113},{"type":15,"tag":78,"props":139,"children":140},{"style":116},[141],{"type":20,"value":142}," 2",{"type":15,"tag":78,"props":144,"children":145},{"style":96},[146],{"type":20,"value":124},{"type":15,"tag":78,"props":148,"children":150},{"class":80,"line":149},4,[151],{"type":15,"tag":78,"props":152,"children":154},{"style":153},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[155],{"type":20,"value":156}," // Provided by extensions\n",{"type":15,"tag":78,"props":158,"children":160},{"class":80,"line":159},5,[161,166,170],{"type":15,"tag":78,"props":162,"children":163},{"style":96},[164],{"type":20,"value":165}," VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT ",{"type":15,"tag":78,"props":167,"children":168},{"style":85},[169],{"type":20,"value":113},{"type":15,"tag":78,"props":171,"children":172},{"style":96},[173],{"type":20,"value":174}," VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR,\n",{"type":15,"tag":78,"props":176,"children":178},{"class":80,"line":177},6,[179,184,188],{"type":15,"tag":78,"props":180,"children":181},{"style":96},[182],{"type":20,"value":183}," VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT ",{"type":15,"tag":78,"props":185,"children":186},{"style":85},[187],{"type":20,"value":113},{"type":15,"tag":78,"props":189,"children":190},{"style":96},[191],{"type":20,"value":192}," VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR,\n",{"type":15,"tag":78,"props":194,"children":196},{"class":80,"line":195},7,[197],{"type":15,"tag":78,"props":198,"children":199},{"style":96},[200],{"type":20,"value":201},"} VkOpacityMicromapFormatKHR;\n",{"type":15,"tag":66,"props":203,"children":208},{"className":204,"code":205,"filename":206,"language":207,"meta":72,"style":72},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct OpacityMicromapFormatKHR(u32);\nimpl OpacityMicromapFormatKHR {\n pub const TYPE_2_STATE: Self = 1;\n pub const TYPE_4_STATE: Self = 2;\n pub const TYPE_2_STATE_EXT: Self = Self::TYPE_2_STATE;\n pub const TYPE_4_STATE_EXT: Self = Self::TYPE_4_STATE;\n}\n","Rust","rs",[209],{"type":15,"tag":39,"props":210,"children":211},{"__ignoreMap":72},[212,246,263,305,341,386,431],{"type":15,"tag":78,"props":213,"children":214},{"class":80,"line":81},[215,220,225,231,236,241],{"type":15,"tag":78,"props":216,"children":217},{"style":85},[218],{"type":20,"value":219},"pub",{"type":15,"tag":78,"props":221,"children":222},{"style":85},[223],{"type":20,"value":224}," struct",{"type":15,"tag":78,"props":226,"children":228},{"style":227},"--shiki-default:#953800;--shiki-dark:#FFA657",[229],{"type":20,"value":230}," OpacityMicromapFormatKHR",{"type":15,"tag":78,"props":232,"children":233},{"style":96},[234],{"type":20,"value":235},"(",{"type":15,"tag":78,"props":237,"children":238},{"style":227},[239],{"type":20,"value":240},"u32",{"type":15,"tag":78,"props":242,"children":243},{"style":96},[244],{"type":20,"value":245},");\n",{"type":15,"tag":78,"props":247,"children":248},{"class":80,"line":102},[249,254,258],{"type":15,"tag":78,"props":250,"children":251},{"style":85},[252],{"type":20,"value":253},"impl",{"type":15,"tag":78,"props":255,"children":256},{"style":227},[257],{"type":20,"value":230},{"type":15,"tag":78,"props":259,"children":260},{"style":96},[261],{"type":20,"value":262}," {\n",{"type":15,"tag":78,"props":264,"children":265},{"class":80,"line":127},[266,271,276,281,286,291,296,300],{"type":15,"tag":78,"props":267,"children":268},{"style":85},[269],{"type":20,"value":270}," pub",{"type":15,"tag":78,"props":272,"children":273},{"style":85},[274],{"type":20,"value":275}," const",{"type":15,"tag":78,"props":277,"children":278},{"style":116},[279],{"type":20,"value":280}," TYPE_2_STATE",{"type":15,"tag":78,"props":282,"children":283},{"style":85},[284],{"type":20,"value":285},":",{"type":15,"tag":78,"props":287,"children":288},{"style":116},[289],{"type":20,"value":290}," Self",{"type":15,"tag":78,"props":292,"children":293},{"style":85},[294],{"type":20,"value":295}," =",{"type":15,"tag":78,"props":297,"children":298},{"style":116},[299],{"type":20,"value":119},{"type":15,"tag":78,"props":301,"children":302},{"style":96},[303],{"type":20,"value":304},";\n",{"type":15,"tag":78,"props":306,"children":307},{"class":80,"line":149},[308,312,316,321,325,329,333,337],{"type":15,"tag":78,"props":309,"children":310},{"style":85},[311],{"type":20,"value":270},{"type":15,"tag":78,"props":313,"children":314},{"style":85},[315],{"type":20,"value":275},{"type":15,"tag":78,"props":317,"children":318},{"style":116},[319],{"type":20,"value":320}," TYPE_4_STATE",{"type":15,"tag":78,"props":322,"children":323},{"style":85},[324],{"type":20,"value":285},{"type":15,"tag":78,"props":326,"children":327},{"style":116},[328],{"type":20,"value":290},{"type":15,"tag":78,"props":330,"children":331},{"style":85},[332],{"type":20,"value":295},{"type":15,"tag":78,"props":334,"children":335},{"style":116},[336],{"type":20,"value":142},{"type":15,"tag":78,"props":338,"children":339},{"style":96},[340],{"type":20,"value":304},{"type":15,"tag":78,"props":342,"children":343},{"class":80,"line":159},[344,348,352,357,361,365,369,373,377,382],{"type":15,"tag":78,"props":345,"children":346},{"style":85},[347],{"type":20,"value":270},{"type":15,"tag":78,"props":349,"children":350},{"style":85},[351],{"type":20,"value":275},{"type":15,"tag":78,"props":353,"children":354},{"style":116},[355],{"type":20,"value":356}," TYPE_2_STATE_EXT",{"type":15,"tag":78,"props":358,"children":359},{"style":85},[360],{"type":20,"value":285},{"type":15,"tag":78,"props":362,"children":363},{"style":116},[364],{"type":20,"value":290},{"type":15,"tag":78,"props":366,"children":367},{"style":85},[368],{"type":20,"value":295},{"type":15,"tag":78,"props":370,"children":371},{"style":116},[372],{"type":20,"value":290},{"type":15,"tag":78,"props":374,"children":375},{"style":85},[376],{"type":20,"value":37},{"type":15,"tag":78,"props":378,"children":379},{"style":116},[380],{"type":20,"value":381},"TYPE_2_STATE",{"type":15,"tag":78,"props":383,"children":384},{"style":96},[385],{"type":20,"value":304},{"type":15,"tag":78,"props":387,"children":388},{"class":80,"line":177},[389,393,397,402,406,410,414,418,422,427],{"type":15,"tag":78,"props":390,"children":391},{"style":85},[392],{"type":20,"value":270},{"type":15,"tag":78,"props":394,"children":395},{"style":85},[396],{"type":20,"value":275},{"type":15,"tag":78,"props":398,"children":399},{"style":116},[400],{"type":20,"value":401}," TYPE_4_STATE_EXT",{"type":15,"tag":78,"props":403,"children":404},{"style":85},[405],{"type":20,"value":285},{"type":15,"tag":78,"props":407,"children":408},{"style":116},[409],{"type":20,"value":290},{"type":15,"tag":78,"props":411,"children":412},{"style":85},[413],{"type":20,"value":295},{"type":15,"tag":78,"props":415,"children":416},{"style":116},[417],{"type":20,"value":290},{"type":15,"tag":78,"props":419,"children":420},{"style":85},[421],{"type":20,"value":37},{"type":15,"tag":78,"props":423,"children":424},{"style":116},[425],{"type":20,"value":426},"TYPE_4_STATE",{"type":15,"tag":78,"props":428,"children":429},{"style":96},[430],{"type":20,"value":304},{"type":15,"tag":78,"props":432,"children":433},{"class":80,"line":195},[434],{"type":15,"tag":78,"props":435,"children":436},{"style":96},[437],{"type":20,"value":438},"}\n",{"type":15,"tag":62,"props":440,"children":441},{},[442,468],{"type":15,"tag":66,"props":443,"children":445},{"className":68,"code":444,"filename":70,"language":71,"meta":72,"style":72},"#define VkOpacityMicromapFormatEXT VkOpacityMicromapFormatKHR\n",[446],{"type":15,"tag":39,"props":447,"children":448},{"__ignoreMap":72},[449],{"type":15,"tag":78,"props":450,"children":451},{"class":80,"line":81},[452,457,463],{"type":15,"tag":78,"props":453,"children":454},{"style":85},[455],{"type":20,"value":456},"#define",{"type":15,"tag":78,"props":458,"children":460},{"style":459},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[461],{"type":20,"value":462}," VkOpacityMicromapFormatEXT",{"type":15,"tag":78,"props":464,"children":465},{"style":96},[466],{"type":20,"value":467}," VkOpacityMicromapFormatKHR\n",{"type":15,"tag":66,"props":469,"children":471},{"className":204,"code":470,"filename":206,"language":207,"meta":72,"style":72},"const OpacityMicromapFormatEXT: _ = vk::OpacityMicromapFormatKHR;\n",[472],{"type":15,"tag":39,"props":473,"children":474},{"__ignoreMap":72},[475],{"type":15,"tag":78,"props":476,"children":477},{"class":80,"line":81},[478,483,488,492,497,501,506,510,515],{"type":15,"tag":78,"props":479,"children":480},{"style":85},[481],{"type":20,"value":482},"const",{"type":15,"tag":78,"props":484,"children":485},{"style":116},[486],{"type":20,"value":487}," OpacityMicromapFormatEXT",{"type":15,"tag":78,"props":489,"children":490},{"style":85},[491],{"type":20,"value":285},{"type":15,"tag":78,"props":493,"children":494},{"style":96},[495],{"type":20,"value":496}," _ ",{"type":15,"tag":78,"props":498,"children":499},{"style":85},[500],{"type":20,"value":113},{"type":15,"tag":78,"props":502,"children":503},{"style":227},[504],{"type":20,"value":505}," vk",{"type":15,"tag":78,"props":507,"children":508},{"style":85},[509],{"type":20,"value":37},{"type":15,"tag":78,"props":511,"children":512},{"style":227},[513],{"type":20,"value":514},"OpacityMicromapFormatKHR",{"type":15,"tag":78,"props":516,"children":517},{"style":96},[518],{"type":20,"value":304},{"type":15,"tag":520,"props":521,"children":522},"ul",{},[523,535],{"type":15,"tag":524,"props":525,"children":526},"li",{},[527,533],{"type":15,"tag":39,"props":528,"children":530},{"className":529},[],[531],{"type":20,"value":532},"VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR",{"type":20,"value":534}," specifies that the given\nmicromap format has one bit per subtriangle encoding either fully opaque\nor fully transparent.",{"type":15,"tag":524,"props":536,"children":537},{},[538,544,546,552],{"type":15,"tag":39,"props":539,"children":541},{"className":540},[],[542],{"type":20,"value":543},"VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR",{"type":20,"value":545}," specifies that the given\nmicromap format has two bits per subtriangle encoding four modes which\ncan be interpreted as described in ",{"type":15,"tag":30,"props":547,"children":549},{"href":548},"/chapters/ray-traversal#ray-opacity-micromap",[550],{"type":20,"value":551},"Ray Opacity\nMicromap",{"type":20,"value":553},".",{"type":15,"tag":555,"props":556,"children":557},"note",{},[558],{"type":15,"tag":16,"props":559,"children":560},{},[561],{"type":20,"value":562},"For compactness, these values are stored as 16-bit in some structures.",{"type":15,"tag":564,"props":565,"children":566},"style",{},[567],{"type":20,"value":568},"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":72,"searchDepth":102,"depth":102,"links":570},[],"markdown",1778234091625]