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