[{"data":1,"prerenderedAt":376},["ShallowReactive",2],{"JThHgIMa7I":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":375,"_id":4},"VkDrmFormatModifierProperties2EXT","Structure specifying properties of a format when combined with a DRM format modifier","VK_EXT_image_drm_format_modifier","structs",[],{"type":10,"children":11,"toc":373},"root",[12,52,64,266,367],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,34,36,42,44,50],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkDrmFormatModifierProperties2EXT",[25],{"type":18,"value":4},{"type":18,"value":27}," structure describes properties\nof a ",{"type":13,"tag":21,"props":29,"children":31},{"href":30},"/man/VkFormat",[32],{"type":18,"value":33},"VkFormat",{"type":18,"value":35}," when that format is combined with a\n",{"type":13,"tag":21,"props":37,"children":39},{"href":38},"/404#glossary-drm-format-modifier",[40],{"type":18,"value":41},"Linux DRM format modifier",{"type":18,"value":43},".\nThese properties, like those of ",{"type":13,"tag":21,"props":45,"children":47},{"href":46},"/man/VkFormatProperties2",[48],{"type":18,"value":49},"VkFormatProperties2",{"type":18,"value":51},", are independent\nof any particular image.",{"type":13,"tag":14,"props":53,"children":54},{},[55,56,62],{"type":18,"value":19},{"type":13,"tag":21,"props":57,"children":59},{"href":58},"/man/VkDrmFormatModifierPropertiesEXT",[60],{"type":18,"value":61},"VkDrmFormatModifierPropertiesEXT",{"type":18,"value":63}," structure is defined as:",{"type":13,"tag":65,"props":66,"children":67},"code-group",{},[68,150],{"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 VkDrmFormatModifierProperties2EXT {\n uint64_t drmFormatModifier;\n uint32_t drmFormatModifierPlaneCount;\n VkFormatFeatureFlags2 drmFormatModifierTilingFeatures;\n} VkDrmFormatModifierProperties2EXT;\n","C","c","",[77],{"type":13,"tag":78,"props":79,"children":80},"code",{"__ignoreMap":75},[81,104,118,132,141],{"type":13,"tag":82,"props":83,"children":86},"span",{"class":84,"line":85},"line",1,[87,93,98],{"type":13,"tag":82,"props":88,"children":90},{"style":89},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[91],{"type":18,"value":92},"typedef",{"type":13,"tag":82,"props":94,"children":95},{"style":89},[96],{"type":18,"value":97}," struct",{"type":13,"tag":82,"props":99,"children":101},{"style":100},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[102],{"type":18,"value":103}," VkDrmFormatModifierProperties2EXT {\n",{"type":13,"tag":82,"props":105,"children":107},{"class":84,"line":106},2,[108,113],{"type":13,"tag":82,"props":109,"children":110},{"style":89},[111],{"type":18,"value":112}," uint64_t",{"type":13,"tag":82,"props":114,"children":115},{"style":100},[116],{"type":18,"value":117}," drmFormatModifier;\n",{"type":13,"tag":82,"props":119,"children":121},{"class":84,"line":120},3,[122,127],{"type":13,"tag":82,"props":123,"children":124},{"style":89},[125],{"type":18,"value":126}," uint32_t",{"type":13,"tag":82,"props":128,"children":129},{"style":100},[130],{"type":18,"value":131}," drmFormatModifierPlaneCount;\n",{"type":13,"tag":82,"props":133,"children":135},{"class":84,"line":134},4,[136],{"type":13,"tag":82,"props":137,"children":138},{"style":100},[139],{"type":18,"value":140}," VkFormatFeatureFlags2 drmFormatModifierTilingFeatures;\n",{"type":13,"tag":82,"props":142,"children":144},{"class":84,"line":143},5,[145],{"type":13,"tag":82,"props":146,"children":147},{"style":100},[148],{"type":18,"value":149},"} VkDrmFormatModifierProperties2EXT;\n",{"type":13,"tag":69,"props":151,"children":156},{"className":152,"code":153,"filename":154,"language":155,"meta":75,"style":75},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DrmFormatModifierProperties2EXT {\n drm_format_modifier: u64,\n drm_format_modifier_plane_count: u32,\n drm_format_modifier_tiling_features: vk::FormatFeatureFlags2,\n}\n","Rust","rs",[157],{"type":13,"tag":78,"props":158,"children":159},{"__ignoreMap":75},[160,183,206,227,258],{"type":13,"tag":82,"props":161,"children":162},{"class":84,"line":85},[163,168,172,178],{"type":13,"tag":82,"props":164,"children":165},{"style":89},[166],{"type":18,"value":167},"pub",{"type":13,"tag":82,"props":169,"children":170},{"style":89},[171],{"type":18,"value":97},{"type":13,"tag":82,"props":173,"children":175},{"style":174},"--shiki-default:#953800;--shiki-dark:#FFA657",[176],{"type":18,"value":177}," DrmFormatModifierProperties2EXT",{"type":13,"tag":82,"props":179,"children":180},{"style":100},[181],{"type":18,"value":182}," {\n",{"type":13,"tag":82,"props":184,"children":185},{"class":84,"line":106},[186,191,196,201],{"type":13,"tag":82,"props":187,"children":188},{"style":100},[189],{"type":18,"value":190}," drm_format_modifier",{"type":13,"tag":82,"props":192,"children":193},{"style":89},[194],{"type":18,"value":195},":",{"type":13,"tag":82,"props":197,"children":198},{"style":174},[199],{"type":18,"value":200}," u64",{"type":13,"tag":82,"props":202,"children":203},{"style":100},[204],{"type":18,"value":205},",\n",{"type":13,"tag":82,"props":207,"children":208},{"class":84,"line":120},[209,214,218,223],{"type":13,"tag":82,"props":210,"children":211},{"style":100},[212],{"type":18,"value":213}," drm_format_modifier_plane_count",{"type":13,"tag":82,"props":215,"children":216},{"style":89},[217],{"type":18,"value":195},{"type":13,"tag":82,"props":219,"children":220},{"style":174},[221],{"type":18,"value":222}," u32",{"type":13,"tag":82,"props":224,"children":225},{"style":100},[226],{"type":18,"value":205},{"type":13,"tag":82,"props":228,"children":229},{"class":84,"line":134},[230,235,239,244,249,254],{"type":13,"tag":82,"props":231,"children":232},{"style":100},[233],{"type":18,"value":234}," drm_format_modifier_tiling_features",{"type":13,"tag":82,"props":236,"children":237},{"style":89},[238],{"type":18,"value":195},{"type":13,"tag":82,"props":240,"children":241},{"style":174},[242],{"type":18,"value":243}," vk",{"type":13,"tag":82,"props":245,"children":246},{"style":89},[247],{"type":18,"value":248},"::",{"type":13,"tag":82,"props":250,"children":251},{"style":174},[252],{"type":18,"value":253},"FormatFeatureFlags2",{"type":13,"tag":82,"props":255,"children":256},{"style":100},[257],{"type":18,"value":205},{"type":13,"tag":82,"props":259,"children":260},{"class":84,"line":143},[261],{"type":13,"tag":82,"props":262,"children":263},{"style":100},[264],{"type":18,"value":265},"}\n",{"type":13,"tag":267,"props":268,"children":269},"ul",{},[270,289,336],{"type":13,"tag":271,"props":272,"children":273},"li",{},[274,280,282,287],{"type":13,"tag":78,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"drmFormatModifier",{"type":18,"value":281}," is a ",{"type":13,"tag":283,"props":284,"children":285},"em",{},[286],{"type":18,"value":41},{"type":18,"value":288},".",{"type":13,"tag":271,"props":290,"children":291},{},[292,298,300,305,307,313,315,320,322,327,329,334],{"type":13,"tag":78,"props":293,"children":295},{"className":294},[],[296],{"type":18,"value":297},"drmFormatModifierPlaneCount",{"type":18,"value":299}," is the number of ",{"type":13,"tag":283,"props":301,"children":302},{},[303],{"type":18,"value":304},"memory planes",{"type":18,"value":306}," in\nany image created with ",{"type":13,"tag":78,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"format",{"type":18,"value":314}," and ",{"type":13,"tag":78,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":279},{"type":18,"value":321},".\nAn image’s ",{"type":13,"tag":283,"props":323,"children":324},{},[325],{"type":18,"value":326},"memory planecount",{"type":18,"value":328}," is distinct from its ",{"type":13,"tag":283,"props":330,"children":331},{},[332],{"type":18,"value":333},"format planecount",{"type":18,"value":335},",\nas explained below.",{"type":13,"tag":271,"props":337,"children":338},{},[339,345,347,353,355,360,361,366],{"type":13,"tag":78,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"drmFormatModifierTilingFeatures",{"type":18,"value":346}," is a bitmask of\n",{"type":13,"tag":21,"props":348,"children":350},{"href":349},"/man/VkFormatFeatureFlagBits2",[351],{"type":18,"value":352},"VkFormatFeatureFlagBits2",{"type":18,"value":354}," that are supported by any image created\nwith ",{"type":13,"tag":78,"props":356,"children":358},{"className":357},[],[359],{"type":18,"value":312},{"type":18,"value":314},{"type":13,"tag":78,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":279},{"type":18,"value":288},{"type":13,"tag":368,"props":369,"children":370},"style",{},[371],{"type":18,"value":372},"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":106,"depth":106,"links":374},[],"markdown",1729612446237]