[{"data":1,"prerenderedAt":589},["ShallowReactive",2],{"$f00IMqfI7PY9on5pCm5dszARREgkaWxp-bdGXF7rCThQ":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":588,"_id":4},"VkPhysicalDeviceOpacityMicromapPropertiesKHR","Structure describing the opacity micromap properties of a physical device","VK_KHR_opacity_micromap",[8],"VkPhysicalDeviceProperties2","structs",[],{"type":12,"children":13,"toc":586},"root",[14,30,333,514,548,580],{"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\nas:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,155],{"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 VkPhysicalDeviceOpacityMicromapPropertiesKHR {\n VkStructureType sType;\n void* pNext;\n uint32_t maxOpacity2StateSubdivisionLevel;\n uint32_t maxOpacity4StateSubdivisionLevel;\n uint32_t maxOpacityLossy4StateSubdivisionLevel;\n uint64_t maxMicromapTriangles;\n} VkPhysicalDeviceOpacityMicromapPropertiesKHR;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,78,92,106,119,132,146],{"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}," VkPhysicalDeviceOpacityMicromapPropertiesKHR {\n",{"type":15,"tag":47,"props":70,"children":72},{"class":49,"line":71},2,[73],{"type":15,"tag":47,"props":74,"children":75},{"style":65},[76],{"type":20,"value":77}," VkStructureType sType;\n",{"type":15,"tag":47,"props":79,"children":81},{"class":49,"line":80},3,[82,87],{"type":15,"tag":47,"props":83,"children":84},{"style":54},[85],{"type":20,"value":86}," void*",{"type":15,"tag":47,"props":88,"children":89},{"style":65},[90],{"type":20,"value":91}," pNext;\n",{"type":15,"tag":47,"props":93,"children":95},{"class":49,"line":94},4,[96,101],{"type":15,"tag":47,"props":97,"children":98},{"style":54},[99],{"type":20,"value":100}," uint32_t",{"type":15,"tag":47,"props":102,"children":103},{"style":65},[104],{"type":20,"value":105}," maxOpacity2StateSubdivisionLevel;\n",{"type":15,"tag":47,"props":107,"children":109},{"class":49,"line":108},5,[110,114],{"type":15,"tag":47,"props":111,"children":112},{"style":54},[113],{"type":20,"value":100},{"type":15,"tag":47,"props":115,"children":116},{"style":65},[117],{"type":20,"value":118}," maxOpacity4StateSubdivisionLevel;\n",{"type":15,"tag":47,"props":120,"children":122},{"class":49,"line":121},6,[123,127],{"type":15,"tag":47,"props":124,"children":125},{"style":54},[126],{"type":20,"value":100},{"type":15,"tag":47,"props":128,"children":129},{"style":65},[130],{"type":20,"value":131}," maxOpacityLossy4StateSubdivisionLevel;\n",{"type":15,"tag":47,"props":133,"children":135},{"class":49,"line":134},7,[136,141],{"type":15,"tag":47,"props":137,"children":138},{"style":54},[139],{"type":20,"value":140}," uint64_t",{"type":15,"tag":47,"props":142,"children":143},{"style":65},[144],{"type":20,"value":145}," maxMicromapTriangles;\n",{"type":15,"tag":47,"props":147,"children":149},{"class":49,"line":148},8,[150],{"type":15,"tag":47,"props":151,"children":152},{"style":65},[153],{"type":20,"value":154},"} VkPhysicalDeviceOpacityMicromapPropertiesKHR;\n",{"type":15,"tag":35,"props":156,"children":161},{"className":157,"code":158,"filename":159,"language":160,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceOpacityMicromapPropertiesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n max_opacity2_state_subdivision_level: u32,\n max_opacity4_state_subdivision_level: u32,\n max_opacity_lossy4_state_subdivision_level: u32,\n max_micromap_triangles: u64,\n}\n","Rust","rs",[162],{"type":15,"tag":23,"props":163,"children":164},{"__ignoreMap":41},[165,188,221,243,264,284,304,325],{"type":15,"tag":47,"props":166,"children":167},{"class":49,"line":50},[168,173,177,183],{"type":15,"tag":47,"props":169,"children":170},{"style":54},[171],{"type":20,"value":172},"pub",{"type":15,"tag":47,"props":174,"children":175},{"style":54},[176],{"type":20,"value":62},{"type":15,"tag":47,"props":178,"children":180},{"style":179},"--shiki-default:#953800;--shiki-dark:#FFA657",[181],{"type":20,"value":182}," PhysicalDeviceOpacityMicromapPropertiesKHR",{"type":15,"tag":47,"props":184,"children":185},{"style":65},[186],{"type":20,"value":187}," {\n",{"type":15,"tag":47,"props":189,"children":190},{"class":49,"line":71},[191,196,201,206,211,216],{"type":15,"tag":47,"props":192,"children":193},{"style":65},[194],{"type":20,"value":195}," s_type",{"type":15,"tag":47,"props":197,"children":198},{"style":54},[199],{"type":20,"value":200},":",{"type":15,"tag":47,"props":202,"children":203},{"style":179},[204],{"type":20,"value":205}," vk",{"type":15,"tag":47,"props":207,"children":208},{"style":54},[209],{"type":20,"value":210},"::",{"type":15,"tag":47,"props":212,"children":213},{"style":179},[214],{"type":20,"value":215},"StructureType",{"type":15,"tag":47,"props":217,"children":218},{"style":65},[219],{"type":20,"value":220},",\n",{"type":15,"tag":47,"props":222,"children":223},{"class":49,"line":80},[224,229,233,238],{"type":15,"tag":47,"props":225,"children":226},{"style":65},[227],{"type":20,"value":228}," p_next",{"type":15,"tag":47,"props":230,"children":231},{"style":54},[232],{"type":20,"value":200},{"type":15,"tag":47,"props":234,"children":235},{"style":54},[236],{"type":20,"value":237}," *mut",{"type":15,"tag":47,"props":239,"children":240},{"style":65},[241],{"type":20,"value":242}," c_void,\n",{"type":15,"tag":47,"props":244,"children":245},{"class":49,"line":94},[246,251,255,260],{"type":15,"tag":47,"props":247,"children":248},{"style":65},[249],{"type":20,"value":250}," max_opacity2_state_subdivision_level",{"type":15,"tag":47,"props":252,"children":253},{"style":54},[254],{"type":20,"value":200},{"type":15,"tag":47,"props":256,"children":257},{"style":179},[258],{"type":20,"value":259}," u32",{"type":15,"tag":47,"props":261,"children":262},{"style":65},[263],{"type":20,"value":220},{"type":15,"tag":47,"props":265,"children":266},{"class":49,"line":108},[267,272,276,280],{"type":15,"tag":47,"props":268,"children":269},{"style":65},[270],{"type":20,"value":271}," max_opacity4_state_subdivision_level",{"type":15,"tag":47,"props":273,"children":274},{"style":54},[275],{"type":20,"value":200},{"type":15,"tag":47,"props":277,"children":278},{"style":179},[279],{"type":20,"value":259},{"type":15,"tag":47,"props":281,"children":282},{"style":65},[283],{"type":20,"value":220},{"type":15,"tag":47,"props":285,"children":286},{"class":49,"line":121},[287,292,296,300],{"type":15,"tag":47,"props":288,"children":289},{"style":65},[290],{"type":20,"value":291}," max_opacity_lossy4_state_subdivision_level",{"type":15,"tag":47,"props":293,"children":294},{"style":54},[295],{"type":20,"value":200},{"type":15,"tag":47,"props":297,"children":298},{"style":179},[299],{"type":20,"value":259},{"type":15,"tag":47,"props":301,"children":302},{"style":65},[303],{"type":20,"value":220},{"type":15,"tag":47,"props":305,"children":306},{"class":49,"line":134},[307,312,316,321],{"type":15,"tag":47,"props":308,"children":309},{"style":65},[310],{"type":20,"value":311}," max_micromap_triangles",{"type":15,"tag":47,"props":313,"children":314},{"style":54},[315],{"type":20,"value":200},{"type":15,"tag":47,"props":317,"children":318},{"style":179},[319],{"type":20,"value":320}," u64",{"type":15,"tag":47,"props":322,"children":323},{"style":65},[324],{"type":20,"value":220},{"type":15,"tag":47,"props":326,"children":327},{"class":49,"line":148},[328],{"type":15,"tag":47,"props":329,"children":330},{"style":65},[331],{"type":20,"value":332},"}\n",{"type":15,"tag":334,"props":335,"children":336},"ul",{},[337,358,377,417,458,497],{"type":15,"tag":338,"props":339,"children":340},"li",{},[341,347,349,356],{"type":15,"tag":23,"props":342,"children":344},{"className":343},[],[345],{"type":20,"value":346},"sType",{"type":20,"value":348}," is a ",{"type":15,"tag":350,"props":351,"children":353},"a",{"href":352},"/man/VkStructureType",[354],{"type":20,"value":355},"VkStructureType",{"type":20,"value":357}," value identifying this structure.",{"type":15,"tag":338,"props":359,"children":360},{},[361,367,369,375],{"type":15,"tag":23,"props":362,"children":364},{"className":363},[],[365],{"type":20,"value":366},"pNext",{"type":20,"value":368}," is ",{"type":15,"tag":23,"props":370,"children":372},{"className":371},[],[373],{"type":20,"value":374},"NULL",{"type":20,"value":376}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":338,"props":378,"children":379},{},[380,385,391,393,399,401,407,409,415],{"type":15,"tag":381,"props":382,"children":384},"anchor",{"id":383},"limits-maxOpacity2StateSubdivisionLevel",[],{"type":15,"tag":23,"props":386,"children":388},{"className":387},[],[389],{"type":20,"value":390},"maxOpacity2StateSubdivisionLevel",{"type":20,"value":392}," is the maximum allowed\n",{"type":15,"tag":23,"props":394,"children":396},{"className":395},[],[397],{"type":20,"value":398},"subdivisionLevel",{"type":20,"value":400}," when ",{"type":15,"tag":23,"props":402,"children":404},{"className":403},[],[405],{"type":20,"value":406},"format",{"type":20,"value":408}," is\n",{"type":15,"tag":23,"props":410,"children":412},{"className":411},[],[413],{"type":20,"value":414},"VK_OPACITY_MICROMAP_FORMAT_2_STATE_KHR",{"type":20,"value":416},".",{"type":15,"tag":338,"props":418,"children":419},{},[420,424,430,431,436,437,442,443,449,451,457],{"type":15,"tag":381,"props":421,"children":423},{"id":422},"limits-maxOpacity4StateSubdivisionLevel",[],{"type":15,"tag":23,"props":425,"children":427},{"className":426},[],[428],{"type":20,"value":429},"maxOpacity4StateSubdivisionLevel",{"type":20,"value":392},{"type":15,"tag":23,"props":432,"children":434},{"className":433},[],[435],{"type":20,"value":398},{"type":20,"value":400},{"type":15,"tag":23,"props":438,"children":440},{"className":439},[],[441],{"type":20,"value":406},{"type":20,"value":408},{"type":15,"tag":23,"props":444,"children":446},{"className":445},[],[447],{"type":20,"value":448},"VK_OPACITY_MICROMAP_FORMAT_4_STATE_KHR",{"type":20,"value":450}," and the micromap is not\nbuilt with ",{"type":15,"tag":23,"props":452,"children":454},{"className":453},[],[455],{"type":20,"value":456},"VK_BUILD_ACCELERATION_STRUCTURE_MICROMAP_LOSSY_BIT_KHR",{"type":20,"value":416},{"type":15,"tag":338,"props":459,"children":460},{},[461,465,471,472,477,478,483,484,489,491,496],{"type":15,"tag":381,"props":462,"children":464},{"id":463},"limits-maxOpacityLossy4StateSubdivisionLevel",[],{"type":15,"tag":23,"props":466,"children":468},{"className":467},[],[469],{"type":20,"value":470},"maxOpacityLossy4StateSubdivisionLevel",{"type":20,"value":392},{"type":15,"tag":23,"props":473,"children":475},{"className":474},[],[476],{"type":20,"value":398},{"type":20,"value":400},{"type":15,"tag":23,"props":479,"children":481},{"className":480},[],[482],{"type":20,"value":406},{"type":20,"value":408},{"type":15,"tag":23,"props":485,"children":487},{"className":486},[],[488],{"type":20,"value":448},{"type":20,"value":490}," and the micromap is built\nwith ",{"type":15,"tag":23,"props":492,"children":494},{"className":493},[],[495],{"type":20,"value":456},{"type":20,"value":416},{"type":15,"tag":338,"props":498,"children":499},{},[500,504,506,512],{"type":15,"tag":381,"props":501,"children":503},{"id":502},"limits-maxMicromapTriangles",[],{"type":20,"value":505}," ",{"type":15,"tag":23,"props":507,"children":509},{"className":508},[],[510],{"type":20,"value":511},"maxMicromapTriangles",{"type":20,"value":513}," limits the\nnumber of triangles allowed to be specified when building a micromap",{"type":15,"tag":16,"props":515,"children":516},{},[517,519,524,526,531,533,538,540,546],{"type":20,"value":518},"If the ",{"type":15,"tag":23,"props":520,"children":522},{"className":521},[],[523],{"type":20,"value":4},{"type":20,"value":525}," structure is included in the ",{"type":15,"tag":23,"props":527,"children":529},{"className":528},[],[530],{"type":20,"value":366},{"type":20,"value":532}," chain of the\n",{"type":15,"tag":350,"props":534,"children":536},{"href":535},"/man/VkPhysicalDeviceProperties2",[537],{"type":20,"value":8},{"type":20,"value":539}," structure passed to\n",{"type":15,"tag":350,"props":541,"children":543},{"href":542},"/man/vkGetPhysicalDeviceProperties2",[544],{"type":20,"value":545},"vkGetPhysicalDeviceProperties2",{"type":20,"value":547},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":15,"tag":549,"props":550,"children":552},"validity-group",{"name":551},"Valid Usage (Implicit)",[553],{"type":15,"tag":554,"props":555,"children":557},"validity-field",{"name":556},"VUID-VkPhysicalDeviceOpacityMicromapPropertiesKHR-sType-sType",[558],{"type":15,"tag":16,"props":559,"children":560},{},[561,566,567,572,574],{"type":15,"tag":23,"props":562,"children":564},{"className":563},[],[565],{"type":20,"value":346},{"type":20,"value":505},{"type":15,"tag":568,"props":569,"children":571},"normative",{"type":570},"must",[],{"type":20,"value":573}," be ",{"type":15,"tag":23,"props":575,"children":577},{"className":576},[],[578],{"type":20,"value":579},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_OPACITY_MICROMAP_PROPERTIES_KHR",{"type":15,"tag":581,"props":582,"children":583},"style",{},[584],{"type":20,"value":585},"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":587},[],"markdown",1778234103238]