[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fvrufbOAnpRVgKiIXo_HqcE7IA1pwpWMc1LBNQvK5ExU":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":436,"_id":4},"VkImageTilingControlEXT","Specifies image tiling arrangement","VK_EXT_image_tiling_control","enums",[],{"type":10,"children":11,"toc":434},"root",[12,38,339,399,404,409,428],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","Possible values of\n",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"\u002Fman\u002FVkImageTilingControlCreateInfoEXT",[25],{"type":18,"value":26},"VkImageTilingControlCreateInfoEXT",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"imageTiling",{"type":18,"value":37},", specifying image\ntiling arrangement, are:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,155],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkImageTilingControlEXT {\n VK_IMAGE_TILING_CONTROL_DEFAULT_EXT = 0,\n VK_IMAGE_TILING_CONTROL_MIN_SIZE_EXT = 1,\n VK_IMAGE_TILING_CONTROL_MAX_PERFORMANCE_EXT = 2,\n} VkImageTilingControlEXT;\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,77,102,124,146],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,71],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":18,"value":65},"typedef",{"type":13,"tag":55,"props":67,"children":68},{"style":62},[69],{"type":18,"value":70}," enum",{"type":13,"tag":55,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":18,"value":76}," VkImageTilingControlEXT {\n",{"type":13,"tag":55,"props":78,"children":80},{"class":57,"line":79},2,[81,86,91,97],{"type":13,"tag":55,"props":82,"children":83},{"style":73},[84],{"type":18,"value":85}," VK_IMAGE_TILING_CONTROL_DEFAULT_EXT ",{"type":13,"tag":55,"props":87,"children":88},{"style":62},[89],{"type":18,"value":90},"=",{"type":13,"tag":55,"props":92,"children":94},{"style":93},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[95],{"type":18,"value":96}," 0",{"type":13,"tag":55,"props":98,"children":99},{"style":73},[100],{"type":18,"value":101},",\n",{"type":13,"tag":55,"props":103,"children":105},{"class":57,"line":104},3,[106,111,115,120],{"type":13,"tag":55,"props":107,"children":108},{"style":73},[109],{"type":18,"value":110}," VK_IMAGE_TILING_CONTROL_MIN_SIZE_EXT ",{"type":13,"tag":55,"props":112,"children":113},{"style":62},[114],{"type":18,"value":90},{"type":13,"tag":55,"props":116,"children":117},{"style":93},[118],{"type":18,"value":119}," 1",{"type":13,"tag":55,"props":121,"children":122},{"style":73},[123],{"type":18,"value":101},{"type":13,"tag":55,"props":125,"children":127},{"class":57,"line":126},4,[128,133,137,142],{"type":13,"tag":55,"props":129,"children":130},{"style":73},[131],{"type":18,"value":132}," VK_IMAGE_TILING_CONTROL_MAX_PERFORMANCE_EXT ",{"type":13,"tag":55,"props":134,"children":135},{"style":62},[136],{"type":18,"value":90},{"type":13,"tag":55,"props":138,"children":139},{"style":93},[140],{"type":18,"value":141}," 2",{"type":13,"tag":55,"props":143,"children":144},{"style":73},[145],{"type":18,"value":101},{"type":13,"tag":55,"props":147,"children":149},{"class":57,"line":148},5,[150],{"type":13,"tag":55,"props":151,"children":152},{"style":73},[153],{"type":18,"value":154},"} VkImageTilingControlEXT;\n",{"type":13,"tag":43,"props":156,"children":161},{"className":157,"code":158,"filename":159,"language":160,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageTilingControlEXT(u32);\nimpl ImageTilingControlEXT {\n pub const DEFAULT: Self = 0;\n pub const MIN_SIZE: Self = 1;\n pub const MAX_PERFORMANCE: Self = 2;\n}\n","Rust","rs",[162],{"type":13,"tag":30,"props":163,"children":164},{"__ignoreMap":49},[165,199,216,258,294,330],{"type":13,"tag":55,"props":166,"children":167},{"class":57,"line":58},[168,173,178,184,189,194],{"type":13,"tag":55,"props":169,"children":170},{"style":62},[171],{"type":18,"value":172},"pub",{"type":13,"tag":55,"props":174,"children":175},{"style":62},[176],{"type":18,"value":177}," struct",{"type":13,"tag":55,"props":179,"children":181},{"style":180},"--shiki-default:#953800;--shiki-dark:#FFA657",[182],{"type":18,"value":183}," ImageTilingControlEXT",{"type":13,"tag":55,"props":185,"children":186},{"style":73},[187],{"type":18,"value":188},"(",{"type":13,"tag":55,"props":190,"children":191},{"style":180},[192],{"type":18,"value":193},"u32",{"type":13,"tag":55,"props":195,"children":196},{"style":73},[197],{"type":18,"value":198},");\n",{"type":13,"tag":55,"props":200,"children":201},{"class":57,"line":79},[202,207,211],{"type":13,"tag":55,"props":203,"children":204},{"style":62},[205],{"type":18,"value":206},"impl",{"type":13,"tag":55,"props":208,"children":209},{"style":180},[210],{"type":18,"value":183},{"type":13,"tag":55,"props":212,"children":213},{"style":73},[214],{"type":18,"value":215}," {\n",{"type":13,"tag":55,"props":217,"children":218},{"class":57,"line":104},[219,224,229,234,239,244,249,253],{"type":13,"tag":55,"props":220,"children":221},{"style":62},[222],{"type":18,"value":223}," pub",{"type":13,"tag":55,"props":225,"children":226},{"style":62},[227],{"type":18,"value":228}," const",{"type":13,"tag":55,"props":230,"children":231},{"style":93},[232],{"type":18,"value":233}," DEFAULT",{"type":13,"tag":55,"props":235,"children":236},{"style":62},[237],{"type":18,"value":238},":",{"type":13,"tag":55,"props":240,"children":241},{"style":93},[242],{"type":18,"value":243}," Self",{"type":13,"tag":55,"props":245,"children":246},{"style":62},[247],{"type":18,"value":248}," =",{"type":13,"tag":55,"props":250,"children":251},{"style":93},[252],{"type":18,"value":96},{"type":13,"tag":55,"props":254,"children":255},{"style":73},[256],{"type":18,"value":257},";\n",{"type":13,"tag":55,"props":259,"children":260},{"class":57,"line":126},[261,265,269,274,278,282,286,290],{"type":13,"tag":55,"props":262,"children":263},{"style":62},[264],{"type":18,"value":223},{"type":13,"tag":55,"props":266,"children":267},{"style":62},[268],{"type":18,"value":228},{"type":13,"tag":55,"props":270,"children":271},{"style":93},[272],{"type":18,"value":273}," MIN_SIZE",{"type":13,"tag":55,"props":275,"children":276},{"style":62},[277],{"type":18,"value":238},{"type":13,"tag":55,"props":279,"children":280},{"style":93},[281],{"type":18,"value":243},{"type":13,"tag":55,"props":283,"children":284},{"style":62},[285],{"type":18,"value":248},{"type":13,"tag":55,"props":287,"children":288},{"style":93},[289],{"type":18,"value":119},{"type":13,"tag":55,"props":291,"children":292},{"style":73},[293],{"type":18,"value":257},{"type":13,"tag":55,"props":295,"children":296},{"class":57,"line":148},[297,301,305,310,314,318,322,326],{"type":13,"tag":55,"props":298,"children":299},{"style":62},[300],{"type":18,"value":223},{"type":13,"tag":55,"props":302,"children":303},{"style":62},[304],{"type":18,"value":228},{"type":13,"tag":55,"props":306,"children":307},{"style":93},[308],{"type":18,"value":309}," MAX_PERFORMANCE",{"type":13,"tag":55,"props":311,"children":312},{"style":62},[313],{"type":18,"value":238},{"type":13,"tag":55,"props":315,"children":316},{"style":93},[317],{"type":18,"value":243},{"type":13,"tag":55,"props":319,"children":320},{"style":62},[321],{"type":18,"value":248},{"type":13,"tag":55,"props":323,"children":324},{"style":93},[325],{"type":18,"value":141},{"type":13,"tag":55,"props":327,"children":328},{"style":73},[329],{"type":18,"value":257},{"type":13,"tag":55,"props":331,"children":333},{"class":57,"line":332},6,[334],{"type":13,"tag":55,"props":335,"children":336},{"style":73},[337],{"type":18,"value":338},"}\n",{"type":13,"tag":340,"props":341,"children":342},"ul",{},[343,377,388],{"type":13,"tag":344,"props":345,"children":346},"li",{},[347,353,355,359,361,367,369,375],{"type":13,"tag":30,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"VK_IMAGE_TILING_CONTROL_DEFAULT_EXT",{"type":18,"value":354}," specifies that the image\ntiling arrangement balances memory size requirements and memory access\nperformance.\nIt is the same selection as with the\n",{"type":13,"tag":21,"props":356,"children":357},{"href":23},[358],{"type":18,"value":26},{"type":18,"value":360}," structure omitted from the\n",{"type":13,"tag":30,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":366},"pNext",{"type":18,"value":368}," chain of ",{"type":13,"tag":21,"props":370,"children":372},{"href":371},"\u002Fman\u002FVkImageCreateInfo",[373],{"type":18,"value":374},"VkImageCreateInfo",{"type":18,"value":376},".",{"type":13,"tag":344,"props":378,"children":379},{},[380,386],{"type":13,"tag":30,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"VK_IMAGE_TILING_CONTROL_MIN_SIZE_EXT",{"type":18,"value":387}," specifies that the image\ntiling arrangement minimizes memory size requirements with reduced\nconsideration for memory access performance.",{"type":13,"tag":344,"props":389,"children":390},{},[391,397],{"type":13,"tag":30,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"VK_IMAGE_TILING_CONTROL_MAX_PERFORMANCE_EXT",{"type":18,"value":398}," specifies that the\nimage tiling arrangement maximizes memory access performance with\nreduced consideration for increases in memory size requirements.",{"type":13,"tag":14,"props":400,"children":401},{},[402],{"type":18,"value":403},"These enumeration values only select the preferred tiling arrangement out of\nthe subset that the implementation supports, which is dependent on the other\nimage creation parameters.",{"type":13,"tag":14,"props":405,"children":406},{},[407],{"type":18,"value":408},"There are cases where multiple enumeration values will result in the same\ntiling arrangement, especially for images with extents that are multiples of\noptimal tiling block sizes.\nFor these cases, no tradeoff exists for the image.",{"type":13,"tag":14,"props":410,"children":411},{},[412,414,419,421,426],{"type":18,"value":413},"The memory size requirements of the image are less than or equal when using\n",{"type":13,"tag":30,"props":415,"children":417},{"className":416},[],[418],{"type":18,"value":385},{"type":18,"value":420},".\nHowever, there are no performance guarantees when using\n",{"type":13,"tag":30,"props":422,"children":424},{"className":423},[],[425],{"type":18,"value":396},{"type":18,"value":427}," as image access times are\ndependent on other variables such as the shader access pattern.",{"type":13,"tag":429,"props":430,"children":431},"style",{},[432],{"type":18,"value":433},"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":49,"searchDepth":79,"depth":79,"links":435},[],"markdown"]