[{"data":1,"prerenderedAt":549},["ShallowReactive",2],{"ZVFmsrJ8wM":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":548,"_id":4},"VkImageDrmFormatModifierListCreateInfoEXT","Specify that an image must be created with a DRM format modifier from the provided list","VK_EXT_image_drm_format_modifier","structs",[],{"type":10,"children":11,"toc":546},"root",[12,53,64,314,393,456,540],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36,38,43,45,51],{"type":18,"value":19},"text","If the ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":26},"pNext",{"type":18,"value":28}," chain of ",{"type":13,"tag":30,"props":31,"children":33},"a",{"href":32},"/man/VkImageCreateInfo",[34],{"type":18,"value":35},"VkImageCreateInfo",{"type":18,"value":37}," includes a\n",{"type":13,"tag":30,"props":39,"children":41},{"href":40},"/man/VkImageDrmFormatModifierListCreateInfoEXT",[42],{"type":18,"value":4},{"type":18,"value":44}," structure, then the image\nwill be created with one of the ",{"type":13,"tag":30,"props":46,"children":48},{"href":47},"/404#glossary-drm-format-modifier",[49],{"type":18,"value":50},"Linux DRM\nformat modifiers",{"type":18,"value":52}," listed in the structure.\nThe choice of modifier is implementation-dependent.",{"type":13,"tag":14,"props":54,"children":55},{},[56,58,62],{"type":18,"value":57},"The ",{"type":13,"tag":30,"props":59,"children":60},{"href":40},[61],{"type":18,"value":4},{"type":18,"value":63}," structure is defined as:",{"type":13,"tag":65,"props":66,"children":67},"code-group",{},[68,172],{"type":13,"tag":69,"props":70,"children":76},"pre",{"className":71,"code":72,"filename":73,"language":74,"meta":75,"style":75},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkImageDrmFormatModifierListCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n uint32_t drmFormatModifierCount;\n const uint64_t* pDrmFormatModifiers;\n} VkImageDrmFormatModifierListCreateInfoEXT;\n","C","c","",[77],{"type":13,"tag":21,"props":78,"children":79},{"__ignoreMap":75},[80,103,112,131,145,163],{"type":13,"tag":81,"props":82,"children":85},"span",{"class":83,"line":84},"line",1,[86,92,97],{"type":13,"tag":81,"props":87,"children":89},{"style":88},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[90],{"type":18,"value":91},"typedef",{"type":13,"tag":81,"props":93,"children":94},{"style":88},[95],{"type":18,"value":96}," struct",{"type":13,"tag":81,"props":98,"children":100},{"style":99},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[101],{"type":18,"value":102}," VkImageDrmFormatModifierListCreateInfoEXT {\n",{"type":13,"tag":81,"props":104,"children":106},{"class":83,"line":105},2,[107],{"type":13,"tag":81,"props":108,"children":109},{"style":99},[110],{"type":18,"value":111}," VkStructureType sType;\n",{"type":13,"tag":81,"props":113,"children":115},{"class":83,"line":114},3,[116,121,126],{"type":13,"tag":81,"props":117,"children":118},{"style":88},[119],{"type":18,"value":120}," const",{"type":13,"tag":81,"props":122,"children":123},{"style":88},[124],{"type":18,"value":125}," void*",{"type":13,"tag":81,"props":127,"children":128},{"style":99},[129],{"type":18,"value":130}," pNext;\n",{"type":13,"tag":81,"props":132,"children":134},{"class":83,"line":133},4,[135,140],{"type":13,"tag":81,"props":136,"children":137},{"style":88},[138],{"type":18,"value":139}," uint32_t",{"type":13,"tag":81,"props":141,"children":142},{"style":99},[143],{"type":18,"value":144}," drmFormatModifierCount;\n",{"type":13,"tag":81,"props":146,"children":148},{"class":83,"line":147},5,[149,153,158],{"type":13,"tag":81,"props":150,"children":151},{"style":88},[152],{"type":18,"value":120},{"type":13,"tag":81,"props":154,"children":155},{"style":88},[156],{"type":18,"value":157}," uint64_t*",{"type":13,"tag":81,"props":159,"children":160},{"style":99},[161],{"type":18,"value":162}," pDrmFormatModifiers;\n",{"type":13,"tag":81,"props":164,"children":166},{"class":83,"line":165},6,[167],{"type":13,"tag":81,"props":168,"children":169},{"style":99},[170],{"type":18,"value":171},"} VkImageDrmFormatModifierListCreateInfoEXT;\n",{"type":13,"tag":69,"props":173,"children":178},{"className":174,"code":175,"filename":176,"language":177,"meta":75,"style":75},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageDrmFormatModifierListCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n drm_format_modifier_count: u32,\n p_drm_format_modifiers: *const u64,\n}\n","Rust","rs",[179],{"type":13,"tag":21,"props":180,"children":181},{"__ignoreMap":75},[182,205,238,260,281,306],{"type":13,"tag":81,"props":183,"children":184},{"class":83,"line":84},[185,190,194,200],{"type":13,"tag":81,"props":186,"children":187},{"style":88},[188],{"type":18,"value":189},"pub",{"type":13,"tag":81,"props":191,"children":192},{"style":88},[193],{"type":18,"value":96},{"type":13,"tag":81,"props":195,"children":197},{"style":196},"--shiki-default:#953800;--shiki-dark:#FFA657",[198],{"type":18,"value":199}," ImageDrmFormatModifierListCreateInfoEXT",{"type":13,"tag":81,"props":201,"children":202},{"style":99},[203],{"type":18,"value":204}," {\n",{"type":13,"tag":81,"props":206,"children":207},{"class":83,"line":105},[208,213,218,223,228,233],{"type":13,"tag":81,"props":209,"children":210},{"style":99},[211],{"type":18,"value":212}," s_type",{"type":13,"tag":81,"props":214,"children":215},{"style":88},[216],{"type":18,"value":217},":",{"type":13,"tag":81,"props":219,"children":220},{"style":196},[221],{"type":18,"value":222}," vk",{"type":13,"tag":81,"props":224,"children":225},{"style":88},[226],{"type":18,"value":227},"::",{"type":13,"tag":81,"props":229,"children":230},{"style":196},[231],{"type":18,"value":232},"StructureType",{"type":13,"tag":81,"props":234,"children":235},{"style":99},[236],{"type":18,"value":237},",\n",{"type":13,"tag":81,"props":239,"children":240},{"class":83,"line":114},[241,246,250,255],{"type":13,"tag":81,"props":242,"children":243},{"style":99},[244],{"type":18,"value":245}," p_next",{"type":13,"tag":81,"props":247,"children":248},{"style":88},[249],{"type":18,"value":217},{"type":13,"tag":81,"props":251,"children":252},{"style":88},[253],{"type":18,"value":254}," *const",{"type":13,"tag":81,"props":256,"children":257},{"style":99},[258],{"type":18,"value":259}," c_void,\n",{"type":13,"tag":81,"props":261,"children":262},{"class":83,"line":133},[263,268,272,277],{"type":13,"tag":81,"props":264,"children":265},{"style":99},[266],{"type":18,"value":267}," drm_format_modifier_count",{"type":13,"tag":81,"props":269,"children":270},{"style":88},[271],{"type":18,"value":217},{"type":13,"tag":81,"props":273,"children":274},{"style":196},[275],{"type":18,"value":276}," u32",{"type":13,"tag":81,"props":278,"children":279},{"style":99},[280],{"type":18,"value":237},{"type":13,"tag":81,"props":282,"children":283},{"class":83,"line":147},[284,289,293,297,302],{"type":13,"tag":81,"props":285,"children":286},{"style":99},[287],{"type":18,"value":288}," p_drm_format_modifiers",{"type":13,"tag":81,"props":290,"children":291},{"style":88},[292],{"type":18,"value":217},{"type":13,"tag":81,"props":294,"children":295},{"style":88},[296],{"type":18,"value":254},{"type":13,"tag":81,"props":298,"children":299},{"style":196},[300],{"type":18,"value":301}," u64",{"type":13,"tag":81,"props":303,"children":304},{"style":99},[305],{"type":18,"value":237},{"type":13,"tag":81,"props":307,"children":308},{"class":83,"line":165},[309],{"type":13,"tag":81,"props":310,"children":311},{"style":99},[312],{"type":18,"value":313},"}\n",{"type":13,"tag":315,"props":316,"children":317},"ul",{},[318,338,356,375],{"type":13,"tag":319,"props":320,"children":321},"li",{},[322,328,330,336],{"type":13,"tag":21,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"sType",{"type":18,"value":329}," is a ",{"type":13,"tag":30,"props":331,"children":333},{"href":332},"/man/VkStructureType",[334],{"type":18,"value":335},"VkStructureType",{"type":18,"value":337}," value identifying this structure.",{"type":13,"tag":319,"props":339,"children":340},{},[341,346,348,354],{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":26},{"type":18,"value":347}," is ",{"type":13,"tag":21,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"NULL",{"type":18,"value":355}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":319,"props":357,"children":358},{},[359,365,367,373],{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"drmFormatModifierCount",{"type":18,"value":366}," is the length of the\n",{"type":13,"tag":21,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":372},"pDrmFormatModifiers",{"type":18,"value":374}," array.",{"type":13,"tag":319,"props":376,"children":377},{},[378,383,385,391],{"type":13,"tag":21,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":372},{"type":18,"value":384}," is a pointer to an array of ",{"type":13,"tag":386,"props":387,"children":388},"em",{},[389],{"type":18,"value":390},"Linux DRM format\nmodifiers",{"type":18,"value":392},".",{"type":13,"tag":394,"props":395,"children":397},"validity-group",{"name":396},"Valid Usage",[398],{"type":13,"tag":399,"props":400,"children":402},"validity-field",{"name":401},"VUID-VkImageDrmFormatModifierListCreateInfoEXT-pDrmFormatModifiers-02263",[403],{"type":13,"tag":14,"props":404,"children":405},{},[406,408,413,415,420,422,427,429,433,435,440,442,448,450],{"type":18,"value":407},"Each ",{"type":13,"tag":386,"props":409,"children":410},{},[411],{"type":18,"value":412},"modifier",{"type":18,"value":414}," in ",{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":372},{"type":18,"value":421}," ",{"type":13,"tag":423,"props":424,"children":426},"normative",{"type":425},"must",[],{"type":18,"value":428}," be compatible with\nthe parameters in ",{"type":13,"tag":30,"props":430,"children":431},{"href":32},[432],{"type":18,"value":35},{"type":18,"value":434}," and its ",{"type":13,"tag":21,"props":436,"children":438},{"className":437},[],[439],{"type":18,"value":26},{"type":18,"value":441}," chain, as\ndetermined by querying ",{"type":13,"tag":30,"props":443,"children":445},{"href":444},"/man/VkPhysicalDeviceImageFormatInfo2",[446],{"type":18,"value":447},"VkPhysicalDeviceImageFormatInfo2",{"type":18,"value":449}," extended\nwith ",{"type":13,"tag":30,"props":451,"children":453},{"href":452},"/man/VkPhysicalDeviceImageDrmFormatModifierInfoEXT",[454],{"type":18,"value":455},"VkPhysicalDeviceImageDrmFormatModifierInfoEXT",{"type":13,"tag":394,"props":457,"children":459},{"name":458},"Valid Usage (Implicit)",[460,484,516],{"type":13,"tag":399,"props":461,"children":463},{"name":462},"VUID-VkImageDrmFormatModifierListCreateInfoEXT-sType-sType",[464],{"type":13,"tag":14,"props":465,"children":466},{},[467,472,473,476,478],{"type":13,"tag":21,"props":468,"children":470},{"className":469},[],[471],{"type":18,"value":327},{"type":18,"value":421},{"type":13,"tag":423,"props":474,"children":475},{"type":425},[],{"type":18,"value":477}," be ",{"type":13,"tag":21,"props":479,"children":481},{"className":480},[],[482],{"type":18,"value":483},"VK_STRUCTURE_TYPE_IMAGE_DRM_FORMAT_MODIFIER_LIST_CREATE_INFO_EXT",{"type":13,"tag":399,"props":485,"children":487},{"name":486},"VUID-VkImageDrmFormatModifierListCreateInfoEXT-pDrmFormatModifiers-parameter",[488],{"type":13,"tag":14,"props":489,"children":490},{},[491,496,497,500,502,507,508,514],{"type":13,"tag":21,"props":492,"children":494},{"className":493},[],[495],{"type":18,"value":372},{"type":18,"value":421},{"type":13,"tag":423,"props":498,"children":499},{"type":425},[],{"type":18,"value":501}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":364},{"type":18,"value":421},{"type":13,"tag":21,"props":509,"children":511},{"className":510},[],[512],{"type":18,"value":513},"uint64_t",{"type":18,"value":515}," values",{"type":13,"tag":399,"props":517,"children":519},{"name":518},"VUID-VkImageDrmFormatModifierListCreateInfoEXT-drmFormatModifierCount-arraylength",[520],{"type":13,"tag":14,"props":521,"children":522},{},[523,528,529,532,534],{"type":13,"tag":21,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":364},{"type":18,"value":421},{"type":13,"tag":423,"props":530,"children":531},{"type":425},[],{"type":18,"value":533}," be greater than ",{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":539},"0",{"type":13,"tag":541,"props":542,"children":543},"style",{},[544],{"type":18,"value":545},"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":75,"searchDepth":105,"depth":105,"links":547},[],"markdown",1725732557276]