[{"data":1,"prerenderedAt":506},["ShallowReactive",2],{"ncykPrDkzc":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":505,"_id":4},"VkImageViewMinLodCreateInfoEXT","Structure describing the minimum LOD of an image view","VK_EXT_image_view_min_lod","structs",[],{"type":10,"children":11,"toc":503},"root",[12,28,235,298,340,352,370,375,385,390,407,470,497],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,118],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImageViewMinLodCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n float minLod;\n} VkImageViewMinLodCreateInfoEXT;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkImageViewMinLodCreateInfoEXT {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," float",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," minLod;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113],{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117},"} VkImageViewMinLodCreateInfoEXT;\n",{"type":13,"tag":33,"props":119,"children":124},{"className":120,"code":121,"filename":122,"language":123,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageViewMinLodCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n min_lod: f32,\n}\n","Rust","rs",[125],{"type":13,"tag":21,"props":126,"children":127},{"__ignoreMap":39},[128,151,184,206,227],{"type":13,"tag":45,"props":129,"children":130},{"class":47,"line":48},[131,136,140,146],{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":135},"pub",{"type":13,"tag":45,"props":137,"children":138},{"style":52},[139],{"type":18,"value":60},{"type":13,"tag":45,"props":141,"children":143},{"style":142},"--shiki-default:#953800;--shiki-dark:#FFA657",[144],{"type":18,"value":145}," ImageViewMinLodCreateInfoEXT",{"type":13,"tag":45,"props":147,"children":148},{"style":63},[149],{"type":18,"value":150}," {\n",{"type":13,"tag":45,"props":152,"children":153},{"class":47,"line":69},[154,159,164,169,174,179],{"type":13,"tag":45,"props":155,"children":156},{"style":63},[157],{"type":18,"value":158}," s_type",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},":",{"type":13,"tag":45,"props":165,"children":166},{"style":142},[167],{"type":18,"value":168}," vk",{"type":13,"tag":45,"props":170,"children":171},{"style":52},[172],{"type":18,"value":173},"::",{"type":13,"tag":45,"props":175,"children":176},{"style":142},[177],{"type":18,"value":178},"StructureType",{"type":13,"tag":45,"props":180,"children":181},{"style":63},[182],{"type":18,"value":183},",\n",{"type":13,"tag":45,"props":185,"children":186},{"class":47,"line":78},[187,192,196,201],{"type":13,"tag":45,"props":188,"children":189},{"style":63},[190],{"type":18,"value":191}," p_next",{"type":13,"tag":45,"props":193,"children":194},{"style":52},[195],{"type":18,"value":163},{"type":13,"tag":45,"props":197,"children":198},{"style":52},[199],{"type":18,"value":200}," *const",{"type":13,"tag":45,"props":202,"children":203},{"style":63},[204],{"type":18,"value":205}," c_void,\n",{"type":13,"tag":45,"props":207,"children":208},{"class":47,"line":97},[209,214,218,223],{"type":13,"tag":45,"props":210,"children":211},{"style":63},[212],{"type":18,"value":213}," min_lod",{"type":13,"tag":45,"props":215,"children":216},{"style":52},[217],{"type":18,"value":163},{"type":13,"tag":45,"props":219,"children":220},{"style":142},[221],{"type":18,"value":222}," f32",{"type":13,"tag":45,"props":224,"children":225},{"style":63},[226],{"type":18,"value":183},{"type":13,"tag":45,"props":228,"children":229},{"class":47,"line":111},[230],{"type":13,"tag":45,"props":231,"children":232},{"style":63},[233],{"type":18,"value":234},"}\n",{"type":13,"tag":236,"props":237,"children":238},"ul",{},[239,260,279],{"type":13,"tag":240,"props":241,"children":242},"li",{},[243,249,251,258],{"type":13,"tag":21,"props":244,"children":246},{"className":245},[],[247],{"type":18,"value":248},"sType",{"type":18,"value":250}," is a ",{"type":13,"tag":252,"props":253,"children":255},"a",{"href":254},"/man/VkStructureType",[256],{"type":18,"value":257},"VkStructureType",{"type":18,"value":259}," value identifying this structure.",{"type":13,"tag":240,"props":261,"children":262},{},[263,269,271,277],{"type":13,"tag":21,"props":264,"children":266},{"className":265},[],[267],{"type":18,"value":268},"pNext",{"type":18,"value":270}," is ",{"type":13,"tag":21,"props":272,"children":274},{"className":273},[],[275],{"type":18,"value":276},"NULL",{"type":18,"value":278}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":240,"props":280,"children":281},{},[282,288,290,296],{"type":13,"tag":21,"props":283,"children":285},{"className":284},[],[286],{"type":18,"value":287},"minLod",{"type":18,"value":289}," is the value to clamp the minimum LOD accessible by this\n",{"type":13,"tag":252,"props":291,"children":293},{"href":292},"/man/VkImageView",[294],{"type":18,"value":295},"VkImageView",{"type":18,"value":297},".",{"type":13,"tag":14,"props":299,"children":300},{},[301,303,308,310,315,317,323,325,331,333,339],{"type":18,"value":302},"If the ",{"type":13,"tag":21,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":268},{"type":18,"value":309}," chain includes a ",{"type":13,"tag":21,"props":311,"children":313},{"className":312},[],[314],{"type":18,"value":4},{"type":18,"value":316},"\nstructure, then that structure includes a parameter specifying a value to\nclamp the minimum LOD value during ",{"type":13,"tag":252,"props":318,"children":320},{"href":319},"/chapters/textures#textures-image-level-selection",[321],{"type":18,"value":322},"Image\nLevel(s) Selection",{"type":18,"value":324},", ",{"type":13,"tag":252,"props":326,"children":328},{"href":327},"/chapters/textures#textures-gather",[329],{"type":18,"value":330},"Texel Gathering",{"type":18,"value":332}," and\n",{"type":13,"tag":252,"props":334,"children":336},{"href":335},"/chapters/textures#textures-integer-coordinate-operations",[337],{"type":18,"value":338},"Integer Texel Coordinate\nOperations",{"type":18,"value":297},{"type":13,"tag":14,"props":341,"children":342},{},[343,345,350],{"type":18,"value":344},"If the image view contains ",{"type":13,"tag":21,"props":346,"children":348},{"className":347},[],[349],{"type":18,"value":4},{"type":18,"value":351}," and it is\nused as part of a sampling operation:",{"type":13,"tag":14,"props":353,"children":354},{},[355,357,363,365],{"type":18,"value":356},"minLodFloat",{"type":13,"tag":358,"props":359,"children":360},"sub",{},[361],{"type":18,"value":362},"imageView",{"type":18,"value":364}," = ",{"type":13,"tag":21,"props":366,"children":368},{"className":367},[],[369],{"type":18,"value":287},{"type":13,"tag":14,"props":371,"children":372},{},[373],{"type":18,"value":374},"otherwise:",{"type":13,"tag":14,"props":376,"children":377},{},[378,379,383],{"type":18,"value":356},{"type":13,"tag":358,"props":380,"children":381},{},[382],{"type":18,"value":362},{"type":18,"value":384}," = 0.0",{"type":13,"tag":14,"props":386,"children":387},{},[388],{"type":18,"value":389},"An integer variant of this parameter is also defined for sampling operations\nwhich access integer mipmap levels:",{"type":13,"tag":14,"props":391,"children":392},{},[393,395,399,401,405],{"type":18,"value":394},"minLodInteger",{"type":13,"tag":358,"props":396,"children":397},{},[398],{"type":18,"value":362},{"type":18,"value":400}," = ⌊minLodFloat",{"type":13,"tag":358,"props":402,"children":403},{},[404],{"type":18,"value":362},{"type":18,"value":406},"⌋",{"type":13,"tag":408,"props":409,"children":411},"validity-group",{"name":410},"Valid Usage",[412,452],{"type":13,"tag":413,"props":414,"children":416},"validity-field",{"name":415},"VUID-VkImageViewMinLodCreateInfoEXT-minLod-06455",[417],{"type":13,"tag":14,"props":418,"children":419},{},[420,421,430,432,437,439,444,446],{"type":18,"value":302},{"type":13,"tag":252,"props":422,"children":424},{"href":423},"/man/VkPhysicalDeviceImageViewMinLodFeaturesEXT#features-minLod",[425],{"type":13,"tag":21,"props":426,"children":428},{"className":427},[],[429],{"type":18,"value":287},{"type":18,"value":431}," feature is not enabled,\n",{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":287},{"type":18,"value":438}," ",{"type":13,"tag":440,"props":441,"children":443},"normative",{"type":442},"must",[],{"type":18,"value":445}," be ",{"type":13,"tag":21,"props":447,"children":449},{"className":448},[],[450],{"type":18,"value":451},"0.0",{"type":13,"tag":413,"props":453,"children":455},{"name":454},"VUID-VkImageViewMinLodCreateInfoEXT-minLod-06456",[456],{"type":13,"tag":14,"props":457,"children":458},{},[459,464,465,468],{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":287},{"type":18,"value":438},{"type":13,"tag":440,"props":466,"children":467},{"type":442},[],{"type":18,"value":469}," be less or equal to the index of the last mipmap\nlevel accessible to the view",{"type":13,"tag":408,"props":471,"children":473},{"name":472},"Valid Usage (Implicit)",[474],{"type":13,"tag":413,"props":475,"children":477},{"name":476},"VUID-VkImageViewMinLodCreateInfoEXT-sType-sType",[478],{"type":13,"tag":14,"props":479,"children":480},{},[481,486,487,490,491],{"type":13,"tag":21,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":248},{"type":18,"value":438},{"type":13,"tag":440,"props":488,"children":489},{"type":442},[],{"type":18,"value":445},{"type":13,"tag":21,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":496},"VK_STRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT",{"type":13,"tag":498,"props":499,"children":500},"style",{},[501],{"type":18,"value":502},"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":39,"searchDepth":69,"depth":69,"links":504},[],"markdown",1725732559047]