[{"data":1,"prerenderedAt":367},["ShallowReactive",2],{"UoO5UD35T8":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":366,"_id":4},"VkImageTiling","Specifies the tiling arrangement of data in an image","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":364},"root",[12,38,281,358],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","Possible values of ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkImageCreateInfo",[25],{"type":18,"value":26},"VkImageCreateInfo",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"tiling",{"type":18,"value":37},", specifying the\ntiling arrangement of texel blocks in an image, are:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,133],{"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 VkImageTiling {\n VK_IMAGE_TILING_OPTIMAL = 0,\n VK_IMAGE_TILING_LINEAR = 1,\n} VkImageTiling;\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,77,102,124],{"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}," VkImageTiling {\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_OPTIMAL ",{"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_LINEAR ",{"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],{"type":13,"tag":55,"props":129,"children":130},{"style":73},[131],{"type":18,"value":132},"} VkImageTiling;\n",{"type":13,"tag":43,"props":134,"children":139},{"className":135,"code":136,"filename":137,"language":138,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct ImageTiling(u32);\nimpl ImageTiling {\n pub const OPTIMAL: Self = 0;\n pub const LINEAR: Self = 1;\n}\n","Rust","rs",[140],{"type":13,"tag":30,"props":141,"children":142},{"__ignoreMap":49},[143,177,194,236,272],{"type":13,"tag":55,"props":144,"children":145},{"class":57,"line":58},[146,151,156,162,167,172],{"type":13,"tag":55,"props":147,"children":148},{"style":62},[149],{"type":18,"value":150},"pub",{"type":13,"tag":55,"props":152,"children":153},{"style":62},[154],{"type":18,"value":155}," struct",{"type":13,"tag":55,"props":157,"children":159},{"style":158},"--shiki-default:#953800;--shiki-dark:#FFA657",[160],{"type":18,"value":161}," ImageTiling",{"type":13,"tag":55,"props":163,"children":164},{"style":73},[165],{"type":18,"value":166},"(",{"type":13,"tag":55,"props":168,"children":169},{"style":158},[170],{"type":18,"value":171},"u32",{"type":13,"tag":55,"props":173,"children":174},{"style":73},[175],{"type":18,"value":176},");\n",{"type":13,"tag":55,"props":178,"children":179},{"class":57,"line":79},[180,185,189],{"type":13,"tag":55,"props":181,"children":182},{"style":62},[183],{"type":18,"value":184},"impl",{"type":13,"tag":55,"props":186,"children":187},{"style":158},[188],{"type":18,"value":161},{"type":13,"tag":55,"props":190,"children":191},{"style":73},[192],{"type":18,"value":193}," {\n",{"type":13,"tag":55,"props":195,"children":196},{"class":57,"line":104},[197,202,207,212,217,222,227,231],{"type":13,"tag":55,"props":198,"children":199},{"style":62},[200],{"type":18,"value":201}," pub",{"type":13,"tag":55,"props":203,"children":204},{"style":62},[205],{"type":18,"value":206}," const",{"type":13,"tag":55,"props":208,"children":209},{"style":93},[210],{"type":18,"value":211}," OPTIMAL",{"type":13,"tag":55,"props":213,"children":214},{"style":62},[215],{"type":18,"value":216},":",{"type":13,"tag":55,"props":218,"children":219},{"style":93},[220],{"type":18,"value":221}," Self",{"type":13,"tag":55,"props":223,"children":224},{"style":62},[225],{"type":18,"value":226}," =",{"type":13,"tag":55,"props":228,"children":229},{"style":93},[230],{"type":18,"value":96},{"type":13,"tag":55,"props":232,"children":233},{"style":73},[234],{"type":18,"value":235},";\n",{"type":13,"tag":55,"props":237,"children":238},{"class":57,"line":126},[239,243,247,252,256,260,264,268],{"type":13,"tag":55,"props":240,"children":241},{"style":62},[242],{"type":18,"value":201},{"type":13,"tag":55,"props":244,"children":245},{"style":62},[246],{"type":18,"value":206},{"type":13,"tag":55,"props":248,"children":249},{"style":93},[250],{"type":18,"value":251}," LINEAR",{"type":13,"tag":55,"props":253,"children":254},{"style":62},[255],{"type":18,"value":216},{"type":13,"tag":55,"props":257,"children":258},{"style":93},[259],{"type":18,"value":221},{"type":13,"tag":55,"props":261,"children":262},{"style":62},[263],{"type":18,"value":226},{"type":13,"tag":55,"props":265,"children":266},{"style":93},[267],{"type":18,"value":119},{"type":13,"tag":55,"props":269,"children":270},{"style":73},[271],{"type":18,"value":235},{"type":13,"tag":55,"props":273,"children":275},{"class":57,"line":274},5,[276],{"type":13,"tag":55,"props":277,"children":278},{"style":73},[279],{"type":18,"value":280},"}\n",{"type":13,"tag":282,"props":283,"children":284},"ul",{},[285,297,308],{"type":13,"tag":286,"props":287,"children":288},"li",{},[289,295],{"type":13,"tag":30,"props":290,"children":292},{"className":291},[],[293],{"type":18,"value":294},"VK_IMAGE_TILING_OPTIMAL",{"type":18,"value":296}," specifies optimal tiling (texels are laid\nout in an implementation-dependent arrangement, for more efficient\nmemory access).",{"type":13,"tag":286,"props":298,"children":299},{},[300,306],{"type":13,"tag":30,"props":301,"children":303},{"className":302},[],[304],{"type":18,"value":305},"VK_IMAGE_TILING_LINEAR",{"type":18,"value":307}," specifies linear tiling (texels are laid\nout in memory in row-major order, possibly with some padding on each\nrow).",{"type":13,"tag":286,"props":309,"children":310},{},[311,317,319,325,327,333,335,341,343,348,350,356],{"type":13,"tag":30,"props":312,"children":314},{"className":313},[],[315],{"type":18,"value":316},"VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT",{"type":18,"value":318}," indicates that the image’s\ntiling is defined by a ",{"type":13,"tag":21,"props":320,"children":322},{"href":321},"/404#glossary-drm-format-modifier",[323],{"type":18,"value":324},"Linux DRM format\nmodifier",{"type":18,"value":326},".\nThe modifier is specified at image creation with\n",{"type":13,"tag":21,"props":328,"children":330},{"href":329},"/man/VkImageDrmFormatModifierListCreateInfoEXT",[331],{"type":18,"value":332},"VkImageDrmFormatModifierListCreateInfoEXT",{"type":18,"value":334}," or\n",{"type":13,"tag":21,"props":336,"children":338},{"href":337},"/man/VkImageDrmFormatModifierExplicitCreateInfoEXT",[339],{"type":18,"value":340},"VkImageDrmFormatModifierExplicitCreateInfoEXT",{"type":18,"value":342},", and ",{"type":13,"tag":344,"props":345,"children":347},"normative",{"type":346},"can",[],{"type":18,"value":349}," be queried\nwith ",{"type":13,"tag":21,"props":351,"children":353},{"href":352},"/man/vkGetImageDrmFormatModifierPropertiesEXT",[354],{"type":18,"value":355},"vkGetImageDrmFormatModifierPropertiesEXT",{"type":18,"value":357},".",{"type":13,"tag":359,"props":360,"children":361},"style",{},[362],{"type":18,"value":363},"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":365},[],"markdown",1725732558453]