[{"data":1,"prerenderedAt":434},["ShallowReactive",2],{"XvC7XUDkO1":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":433,"_id":4},"VkDisplacementMicromapFormatNV","Format enum for displacement micromaps","VK_NV_displacement_micromap","enums",[],{"type":10,"children":11,"toc":431},"root",[12,59,360,416,425],{"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,176],{"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 VkDisplacementMicromapFormatNV {\n VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV = 1,\n VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV = 2,\n VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV = 3,\n} VkDisplacementMicromapFormatNV;\n","C","c","",[72],{"type":13,"tag":37,"props":73,"children":74},{"__ignoreMap":70},[75,98,123,145,167],{"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}," VkDisplacementMicromapFormatNV {\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_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV ",{"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_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV ",{"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,154,158,163],{"type":13,"tag":76,"props":150,"children":151},{"style":94},[152],{"type":18,"value":153}," VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV ",{"type":13,"tag":76,"props":155,"children":156},{"style":83},[157],{"type":18,"value":111},{"type":13,"tag":76,"props":159,"children":160},{"style":114},[161],{"type":18,"value":162}," 3",{"type":13,"tag":76,"props":164,"children":165},{"style":94},[166],{"type":18,"value":122},{"type":13,"tag":76,"props":168,"children":170},{"class":78,"line":169},5,[171],{"type":13,"tag":76,"props":172,"children":173},{"style":94},[174],{"type":18,"value":175},"} VkDisplacementMicromapFormatNV;\n",{"type":13,"tag":64,"props":177,"children":182},{"className":178,"code":179,"filename":180,"language":181,"meta":70,"style":70},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DisplacementMicromapFormatNV(u32);\nimpl DisplacementMicromapFormatNV {\n pub const TYPE_64_TRIANGLES_64_BYTES: Self = 1;\n pub const TYPE_256_TRIANGLES_128_BYTES: Self = 2;\n pub const TYPE_1024_TRIANGLES_128_BYTES: Self = 3;\n}\n","Rust","rs",[183],{"type":13,"tag":37,"props":184,"children":185},{"__ignoreMap":70},[186,220,237,279,315,351],{"type":13,"tag":76,"props":187,"children":188},{"class":78,"line":79},[189,194,199,205,210,215],{"type":13,"tag":76,"props":190,"children":191},{"style":83},[192],{"type":18,"value":193},"pub",{"type":13,"tag":76,"props":195,"children":196},{"style":83},[197],{"type":18,"value":198}," struct",{"type":13,"tag":76,"props":200,"children":202},{"style":201},"--shiki-default:#953800;--shiki-dark:#FFA657",[203],{"type":18,"value":204}," DisplacementMicromapFormatNV",{"type":13,"tag":76,"props":206,"children":207},{"style":94},[208],{"type":18,"value":209},"(",{"type":13,"tag":76,"props":211,"children":212},{"style":201},[213],{"type":18,"value":214},"u32",{"type":13,"tag":76,"props":216,"children":217},{"style":94},[218],{"type":18,"value":219},");\n",{"type":13,"tag":76,"props":221,"children":222},{"class":78,"line":100},[223,228,232],{"type":13,"tag":76,"props":224,"children":225},{"style":83},[226],{"type":18,"value":227},"impl",{"type":13,"tag":76,"props":229,"children":230},{"style":201},[231],{"type":18,"value":204},{"type":13,"tag":76,"props":233,"children":234},{"style":94},[235],{"type":18,"value":236}," {\n",{"type":13,"tag":76,"props":238,"children":239},{"class":78,"line":125},[240,245,250,255,260,265,270,274],{"type":13,"tag":76,"props":241,"children":242},{"style":83},[243],{"type":18,"value":244}," pub",{"type":13,"tag":76,"props":246,"children":247},{"style":83},[248],{"type":18,"value":249}," const",{"type":13,"tag":76,"props":251,"children":252},{"style":114},[253],{"type":18,"value":254}," TYPE_64_TRIANGLES_64_BYTES",{"type":13,"tag":76,"props":256,"children":257},{"style":83},[258],{"type":18,"value":259},":",{"type":13,"tag":76,"props":261,"children":262},{"style":114},[263],{"type":18,"value":264}," Self",{"type":13,"tag":76,"props":266,"children":267},{"style":83},[268],{"type":18,"value":269}," =",{"type":13,"tag":76,"props":271,"children":272},{"style":114},[273],{"type":18,"value":117},{"type":13,"tag":76,"props":275,"children":276},{"style":94},[277],{"type":18,"value":278},";\n",{"type":13,"tag":76,"props":280,"children":281},{"class":78,"line":147},[282,286,290,295,299,303,307,311],{"type":13,"tag":76,"props":283,"children":284},{"style":83},[285],{"type":18,"value":244},{"type":13,"tag":76,"props":287,"children":288},{"style":83},[289],{"type":18,"value":249},{"type":13,"tag":76,"props":291,"children":292},{"style":114},[293],{"type":18,"value":294}," TYPE_256_TRIANGLES_128_BYTES",{"type":13,"tag":76,"props":296,"children":297},{"style":83},[298],{"type":18,"value":259},{"type":13,"tag":76,"props":300,"children":301},{"style":114},[302],{"type":18,"value":264},{"type":13,"tag":76,"props":304,"children":305},{"style":83},[306],{"type":18,"value":269},{"type":13,"tag":76,"props":308,"children":309},{"style":114},[310],{"type":18,"value":140},{"type":13,"tag":76,"props":312,"children":313},{"style":94},[314],{"type":18,"value":278},{"type":13,"tag":76,"props":316,"children":317},{"class":78,"line":169},[318,322,326,331,335,339,343,347],{"type":13,"tag":76,"props":319,"children":320},{"style":83},[321],{"type":18,"value":244},{"type":13,"tag":76,"props":323,"children":324},{"style":83},[325],{"type":18,"value":249},{"type":13,"tag":76,"props":327,"children":328},{"style":114},[329],{"type":18,"value":330}," TYPE_1024_TRIANGLES_128_BYTES",{"type":13,"tag":76,"props":332,"children":333},{"style":83},[334],{"type":18,"value":259},{"type":13,"tag":76,"props":336,"children":337},{"style":114},[338],{"type":18,"value":264},{"type":13,"tag":76,"props":340,"children":341},{"style":83},[342],{"type":18,"value":269},{"type":13,"tag":76,"props":344,"children":345},{"style":114},[346],{"type":18,"value":162},{"type":13,"tag":76,"props":348,"children":349},{"style":94},[350],{"type":18,"value":278},{"type":13,"tag":76,"props":352,"children":354},{"class":78,"line":353},6,[355],{"type":13,"tag":76,"props":356,"children":357},{"style":94},[358],{"type":18,"value":359},"}\n",{"type":13,"tag":361,"props":362,"children":363},"ul",{},[364,384,400],{"type":13,"tag":365,"props":366,"children":367},"li",{},[368,374,376,382],{"type":13,"tag":37,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"VK_DISPLACEMENT_MICROMAP_FORMAT_64_TRIANGLES_64_BYTES_NV",{"type":18,"value":375}," indicates\nthat the given micromap format encodes 64 micro-triangles worth of\ndisplacements in 64 bytes as described in\n",{"type":13,"tag":28,"props":377,"children":379},{"href":378},"/chapters/micromap#displacement-micromap-encoding",[380],{"type":18,"value":381},"Displacement Micromap Encoding",{"type":18,"value":383},".",{"type":13,"tag":365,"props":385,"children":386},{},[387,393,395,399],{"type":13,"tag":37,"props":388,"children":390},{"className":389},[],[391],{"type":18,"value":392},"VK_DISPLACEMENT_MICROMAP_FORMAT_256_TRIANGLES_128_BYTES_NV",{"type":18,"value":394},"\nindicates that the given micromap format encodes 256 micro-triangles\nworth of displacements in 128 bytes as described in\n",{"type":13,"tag":28,"props":396,"children":397},{"href":378},[398],{"type":18,"value":381},{"type":18,"value":383},{"type":13,"tag":365,"props":401,"children":402},{},[403,409,411,415],{"type":13,"tag":37,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":408},"VK_DISPLACEMENT_MICROMAP_FORMAT_1024_TRIANGLES_128_BYTES_NV",{"type":18,"value":410},"\nindicates that the given micromap format encodes 1024 micro-triangles\nworth of displacements in 128 bytes as described in\n",{"type":13,"tag":28,"props":412,"children":413},{"href":378},[414],{"type":18,"value":381},{"type":18,"value":383},{"type":13,"tag":417,"props":418,"children":419},"note",{},[420],{"type":13,"tag":14,"props":421,"children":422},{},[423],{"type":18,"value":424},"For compactness, these values are stored as 16-bit in some structures.",{"type":13,"tag":426,"props":427,"children":428},"style",{},[429],{"type":18,"value":430},"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":432},[],"markdown",1725732549836]