[{"data":1,"prerenderedAt":417},["ShallowReactive",2],{"8VuAuEn4BQ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":416,"_id":4},"VkFormatProperties","Structure specifying image format properties","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":414},"root",[12,28,249,337,346,371,408],{"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,103],{"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 VkFormatProperties {\n VkFormatFeatureFlags linearTilingFeatures;\n VkFormatFeatureFlags optimalTilingFeatures;\n VkFormatFeatureFlags bufferFeatures;\n} VkFormatProperties;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85,94],{"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}," VkFormatProperties {\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}," VkFormatFeatureFlags linearTilingFeatures;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkFormatFeatureFlags optimalTilingFeatures;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93}," VkFormatFeatureFlags bufferFeatures;\n",{"type":13,"tag":45,"props":95,"children":97},{"class":47,"line":96},5,[98],{"type":13,"tag":45,"props":99,"children":100},{"style":63},[101],{"type":18,"value":102},"} VkFormatProperties;\n",{"type":13,"tag":33,"props":104,"children":109},{"className":105,"code":106,"filename":107,"language":108,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct FormatProperties {\n linear_tiling_features: vk::FormatFeatureFlags, // Format features in case of linear tiling\n optimal_tiling_features: vk::FormatFeatureFlags, // Format features in case of optimal tiling\n buffer_features: vk::FormatFeatureFlags, // Format features supported by buffers\n}\n","Rust","rs",[110],{"type":13,"tag":21,"props":111,"children":112},{"__ignoreMap":39},[113,136,175,208,241],{"type":13,"tag":45,"props":114,"children":115},{"class":47,"line":48},[116,121,125,131],{"type":13,"tag":45,"props":117,"children":118},{"style":52},[119],{"type":18,"value":120},"pub",{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":60},{"type":13,"tag":45,"props":126,"children":128},{"style":127},"--shiki-default:#953800;--shiki-dark:#FFA657",[129],{"type":18,"value":130}," FormatProperties",{"type":13,"tag":45,"props":132,"children":133},{"style":63},[134],{"type":18,"value":135}," {\n",{"type":13,"tag":45,"props":137,"children":138},{"class":47,"line":69},[139,144,149,154,159,164,169],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143}," linear_tiling_features",{"type":13,"tag":45,"props":145,"children":146},{"style":52},[147],{"type":18,"value":148},":",{"type":13,"tag":45,"props":150,"children":151},{"style":127},[152],{"type":18,"value":153}," vk",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},"::",{"type":13,"tag":45,"props":160,"children":161},{"style":127},[162],{"type":18,"value":163},"FormatFeatureFlags",{"type":13,"tag":45,"props":165,"children":166},{"style":63},[167],{"type":18,"value":168},", ",{"type":13,"tag":45,"props":170,"children":172},{"style":171},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[173],{"type":18,"value":174},"// Format features in case of linear tiling\n",{"type":13,"tag":45,"props":176,"children":177},{"class":47,"line":78},[178,183,187,191,195,199,203],{"type":13,"tag":45,"props":179,"children":180},{"style":63},[181],{"type":18,"value":182}," optimal_tiling_features",{"type":13,"tag":45,"props":184,"children":185},{"style":52},[186],{"type":18,"value":148},{"type":13,"tag":45,"props":188,"children":189},{"style":127},[190],{"type":18,"value":153},{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":158},{"type":13,"tag":45,"props":196,"children":197},{"style":127},[198],{"type":18,"value":163},{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":168},{"type":13,"tag":45,"props":204,"children":205},{"style":171},[206],{"type":18,"value":207},"// Format features in case of optimal tiling\n",{"type":13,"tag":45,"props":209,"children":210},{"class":47,"line":87},[211,216,220,224,228,232,236],{"type":13,"tag":45,"props":212,"children":213},{"style":63},[214],{"type":18,"value":215}," buffer_features",{"type":13,"tag":45,"props":217,"children":218},{"style":52},[219],{"type":18,"value":148},{"type":13,"tag":45,"props":221,"children":222},{"style":127},[223],{"type":18,"value":153},{"type":13,"tag":45,"props":225,"children":226},{"style":52},[227],{"type":18,"value":158},{"type":13,"tag":45,"props":229,"children":230},{"style":127},[231],{"type":18,"value":163},{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":168},{"type":13,"tag":45,"props":237,"children":238},{"style":171},[239],{"type":18,"value":240},"// Format features supported by buffers\n",{"type":13,"tag":45,"props":242,"children":243},{"class":47,"line":96},[244],{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248},"}\n",{"type":13,"tag":250,"props":251,"children":252},"ul",{},[253,290,321],{"type":13,"tag":254,"props":255,"children":256},"li",{},[257,263,265,272,274,280,282,288],{"type":13,"tag":21,"props":258,"children":260},{"className":259},[],[261],{"type":18,"value":262},"linearTilingFeatures",{"type":18,"value":264}," is a bitmask of ",{"type":13,"tag":266,"props":267,"children":269},"a",{"href":268},"/man/VkFormatFeatureFlagBits",[270],{"type":18,"value":271},"VkFormatFeatureFlagBits",{"type":18,"value":273},"\nspecifying features supported by images created with a ",{"type":13,"tag":21,"props":275,"children":277},{"className":276},[],[278],{"type":18,"value":279},"tiling",{"type":18,"value":281},"\nparameter of ",{"type":13,"tag":21,"props":283,"children":285},{"className":284},[],[286],{"type":18,"value":287},"VK_IMAGE_TILING_LINEAR",{"type":18,"value":289},".",{"type":13,"tag":254,"props":291,"children":292},{},[293,299,301,305,307,312,314,320],{"type":13,"tag":21,"props":294,"children":296},{"className":295},[],[297],{"type":18,"value":298},"optimalTilingFeatures",{"type":18,"value":300}," is a bitmask of\n",{"type":13,"tag":266,"props":302,"children":303},{"href":268},[304],{"type":18,"value":271},{"type":18,"value":306}," specifying features supported by images\ncreated with a ",{"type":13,"tag":21,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":279},{"type":18,"value":313}," parameter of ",{"type":13,"tag":21,"props":315,"children":317},{"className":316},[],[318],{"type":18,"value":319},"VK_IMAGE_TILING_OPTIMAL",{"type":18,"value":289},{"type":13,"tag":254,"props":322,"children":323},{},[324,330,331,335],{"type":13,"tag":21,"props":325,"children":327},{"className":326},[],[328],{"type":18,"value":329},"bufferFeatures",{"type":18,"value":264},{"type":13,"tag":266,"props":332,"children":333},{"href":268},[334],{"type":18,"value":271},{"type":18,"value":336},"\nspecifying features supported by buffers.",{"type":13,"tag":338,"props":339,"children":340},"note",{},[341],{"type":13,"tag":14,"props":342,"children":343},{},[344],{"type":18,"value":345},"If no format feature flags are supported, the format itself is not\nsupported, and images of that format cannot be created.",{"type":13,"tag":14,"props":347,"children":348},{},[349,351,357,359,364,369],{"type":18,"value":350},"If ",{"type":13,"tag":21,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"format",{"type":18,"value":358}," is a block-compressed format, then ",{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":329},{"type":13,"tag":365,"props":366,"children":368},"normative",{"type":367},"must",[],{"type":18,"value":370}," not support any features for the format.",{"type":13,"tag":14,"props":372,"children":373},{},[374,375,380,382,387,389,394,396,399,401,407],{"type":18,"value":350},{"type":13,"tag":21,"props":376,"children":378},{"className":377},[],[379],{"type":18,"value":356},{"type":18,"value":381}," is not a multi-plane format then ",{"type":13,"tag":21,"props":383,"children":385},{"className":384},[],[386],{"type":18,"value":262},{"type":18,"value":388},"\nand ",{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":298},{"type":18,"value":395}," ",{"type":13,"tag":365,"props":397,"children":398},{"type":367},[],{"type":18,"value":400}," not contain\n",{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":406},"VK_FORMAT_FEATURE_DISJOINT_BIT",{"type":18,"value":289},{"type":13,"tag":409,"props":410,"children":411},"style",{},[412],{"type":18,"value":413},"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":415},[],"markdown",1729612448880]