[{"data":1,"prerenderedAt":355},["ShallowReactive",2],{"lHZhnnVuX0":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":354,"_id":4},"VkOpacityMicromapFormatEXT","Format enum for opacity micromaps","VK_EXT_opacity_micromap","enums",[],{"type":10,"children":11,"toc":352},"root",[12,59,302,337,346],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43,45,51,52,57],{"type":18,"value":19},"text","Formats which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"can",[],{"type":18,"value":26}," be set in ",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkMicromapUsageEXT",[32],{"type":18,"value":33},"VkMicromapUsageEXT",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"format",{"type":18,"value":44}," and\n",{"type":13,"tag":28,"props":46,"children":48},{"href":47},"/man/VkMicromapTriangleEXT",[49],{"type":18,"value":50},"VkMicromapTriangleEXT",{"type":18,"value":35},{"type":13,"tag":37,"props":53,"children":55},{"className":54},[],[56],{"type":18,"value":42},{"type":18,"value":58}," for micromap builds, are:",{"type":13,"tag":60,"props":61,"children":62},"code-group",{},[63,154],{"type":13,"tag":64,"props":65,"children":71},"pre",{"className":66,"code":67,"filename":68,"language":69,"meta":70,"style":70},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkOpacityMicromapFormatEXT {\n VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT = 1,\n VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT = 2,\n} VkOpacityMicromapFormatEXT;\n","C","c","",[72],{"type":13,"tag":37,"props":73,"children":74},{"__ignoreMap":70},[75,98,123,145],{"type":13,"tag":76,"props":77,"children":80},"span",{"class":78,"line":79},"line",1,[81,87,92],{"type":13,"tag":76,"props":82,"children":84},{"style":83},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[85],{"type":18,"value":86},"typedef",{"type":13,"tag":76,"props":88,"children":89},{"style":83},[90],{"type":18,"value":91}," enum",{"type":13,"tag":76,"props":93,"children":95},{"style":94},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[96],{"type":18,"value":97}," VkOpacityMicromapFormatEXT {\n",{"type":13,"tag":76,"props":99,"children":101},{"class":78,"line":100},2,[102,107,112,118],{"type":13,"tag":76,"props":103,"children":104},{"style":94},[105],{"type":18,"value":106}," VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT ",{"type":13,"tag":76,"props":108,"children":109},{"style":83},[110],{"type":18,"value":111},"=",{"type":13,"tag":76,"props":113,"children":115},{"style":114},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[116],{"type":18,"value":117}," 1",{"type":13,"tag":76,"props":119,"children":120},{"style":94},[121],{"type":18,"value":122},",\n",{"type":13,"tag":76,"props":124,"children":126},{"class":78,"line":125},3,[127,132,136,141],{"type":13,"tag":76,"props":128,"children":129},{"style":94},[130],{"type":18,"value":131}," VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT ",{"type":13,"tag":76,"props":133,"children":134},{"style":83},[135],{"type":18,"value":111},{"type":13,"tag":76,"props":137,"children":138},{"style":114},[139],{"type":18,"value":140}," 2",{"type":13,"tag":76,"props":142,"children":143},{"style":94},[144],{"type":18,"value":122},{"type":13,"tag":76,"props":146,"children":148},{"class":78,"line":147},4,[149],{"type":13,"tag":76,"props":150,"children":151},{"style":94},[152],{"type":18,"value":153},"} VkOpacityMicromapFormatEXT;\n",{"type":13,"tag":64,"props":155,"children":160},{"className":156,"code":157,"filename":158,"language":159,"meta":70,"style":70},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct OpacityMicromapFormatEXT(u32);\nimpl OpacityMicromapFormatEXT {\n pub const TYPE_2_STATE: Self = 1;\n pub const TYPE_4_STATE: Self = 2;\n}\n","Rust","rs",[161],{"type":13,"tag":37,"props":162,"children":163},{"__ignoreMap":70},[164,198,215,257,293],{"type":13,"tag":76,"props":165,"children":166},{"class":78,"line":79},[167,172,177,183,188,193],{"type":13,"tag":76,"props":168,"children":169},{"style":83},[170],{"type":18,"value":171},"pub",{"type":13,"tag":76,"props":173,"children":174},{"style":83},[175],{"type":18,"value":176}," struct",{"type":13,"tag":76,"props":178,"children":180},{"style":179},"--shiki-default:#953800;--shiki-dark:#FFA657",[181],{"type":18,"value":182}," OpacityMicromapFormatEXT",{"type":13,"tag":76,"props":184,"children":185},{"style":94},[186],{"type":18,"value":187},"(",{"type":13,"tag":76,"props":189,"children":190},{"style":179},[191],{"type":18,"value":192},"u32",{"type":13,"tag":76,"props":194,"children":195},{"style":94},[196],{"type":18,"value":197},");\n",{"type":13,"tag":76,"props":199,"children":200},{"class":78,"line":100},[201,206,210],{"type":13,"tag":76,"props":202,"children":203},{"style":83},[204],{"type":18,"value":205},"impl",{"type":13,"tag":76,"props":207,"children":208},{"style":179},[209],{"type":18,"value":182},{"type":13,"tag":76,"props":211,"children":212},{"style":94},[213],{"type":18,"value":214}," {\n",{"type":13,"tag":76,"props":216,"children":217},{"class":78,"line":125},[218,223,228,233,238,243,248,252],{"type":13,"tag":76,"props":219,"children":220},{"style":83},[221],{"type":18,"value":222}," pub",{"type":13,"tag":76,"props":224,"children":225},{"style":83},[226],{"type":18,"value":227}," const",{"type":13,"tag":76,"props":229,"children":230},{"style":114},[231],{"type":18,"value":232}," TYPE_2_STATE",{"type":13,"tag":76,"props":234,"children":235},{"style":83},[236],{"type":18,"value":237},":",{"type":13,"tag":76,"props":239,"children":240},{"style":114},[241],{"type":18,"value":242}," Self",{"type":13,"tag":76,"props":244,"children":245},{"style":83},[246],{"type":18,"value":247}," =",{"type":13,"tag":76,"props":249,"children":250},{"style":114},[251],{"type":18,"value":117},{"type":13,"tag":76,"props":253,"children":254},{"style":94},[255],{"type":18,"value":256},";\n",{"type":13,"tag":76,"props":258,"children":259},{"class":78,"line":147},[260,264,268,273,277,281,285,289],{"type":13,"tag":76,"props":261,"children":262},{"style":83},[263],{"type":18,"value":222},{"type":13,"tag":76,"props":265,"children":266},{"style":83},[267],{"type":18,"value":227},{"type":13,"tag":76,"props":269,"children":270},{"style":114},[271],{"type":18,"value":272}," TYPE_4_STATE",{"type":13,"tag":76,"props":274,"children":275},{"style":83},[276],{"type":18,"value":237},{"type":13,"tag":76,"props":278,"children":279},{"style":114},[280],{"type":18,"value":242},{"type":13,"tag":76,"props":282,"children":283},{"style":83},[284],{"type":18,"value":247},{"type":13,"tag":76,"props":286,"children":287},{"style":114},[288],{"type":18,"value":140},{"type":13,"tag":76,"props":290,"children":291},{"style":94},[292],{"type":18,"value":256},{"type":13,"tag":76,"props":294,"children":296},{"class":78,"line":295},5,[297],{"type":13,"tag":76,"props":298,"children":299},{"style":94},[300],{"type":18,"value":301},"}\n",{"type":13,"tag":303,"props":304,"children":305},"ul",{},[306,318],{"type":13,"tag":307,"props":308,"children":309},"li",{},[310,316],{"type":13,"tag":37,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":315},"VK_OPACITY_MICROMAP_FORMAT_2_STATE_EXT",{"type":18,"value":317}," indicates that the given\nmicromap format has one bit per subtriangle encoding either fully opaque\nor fully transparent.",{"type":13,"tag":307,"props":319,"children":320},{},[321,327,329,335],{"type":13,"tag":37,"props":322,"children":324},{"className":323},[],[325],{"type":18,"value":326},"VK_OPACITY_MICROMAP_FORMAT_4_STATE_EXT",{"type":18,"value":328}," indicates that the given\nmicromap format has two bits per subtriangle encoding four modes which\ncan be interpreted as described in ",{"type":13,"tag":28,"props":330,"children":332},{"href":331},"/chapters/ray-traversal#ray-opacity-micromap",[333],{"type":18,"value":334},"ray\ntraversal",{"type":18,"value":336},".",{"type":13,"tag":338,"props":339,"children":340},"note",{},[341],{"type":13,"tag":14,"props":342,"children":343},{},[344],{"type":18,"value":345},"For compactness, these values are stored as 16-bit in some structures.",{"type":13,"tag":347,"props":348,"children":349},"style",{},[350],{"type":18,"value":351},"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":70,"searchDepth":100,"depth":100,"links":353},[],"markdown",1725732563894]