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