[{"data":1,"prerenderedAt":840},["ShallowReactive",2],{"bMAAQ9JiO6":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":839,"_id":4},"VkPhysicalDeviceSparseImageFormatInfo2","Structure specifying sparse image format inputs","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":837},"root",[12,28,378,383,448,553,636,831],{"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,149],{"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 VkPhysicalDeviceSparseImageFormatInfo2 {\n VkStructureType sType;\n const void* pNext;\n VkFormat format;\n VkImageType type;\n VkSampleCountFlagBits samples;\n VkImageUsageFlags usage;\n VkImageTiling tiling;\n} VkPhysicalDeviceSparseImageFormatInfo2;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122,131,140],{"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}," VkPhysicalDeviceSparseImageFormatInfo2 {\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}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkFormat format;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkImageType type;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkSampleCountFlagBits samples;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," VkImageUsageFlags usage;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},8,[135],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," VkImageTiling tiling;\n",{"type":13,"tag":45,"props":141,"children":143},{"class":47,"line":142},9,[144],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148},"} VkPhysicalDeviceSparseImageFormatInfo2;\n",{"type":13,"tag":33,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceSparseImageFormatInfo2 {\n s_type: vk::StructureType,\n p_next: *const c_void,\n format: vk::Format,\n type: vk::ImageType,\n samples: SampleCountFlags,\n usage: vk::ImageUsageFlags,\n tiling: vk::ImageTiling,\n}\n","Rust","rs",[156],{"type":13,"tag":21,"props":157,"children":158},{"__ignoreMap":39},[159,182,215,237,266,291,312,341,370],{"type":13,"tag":45,"props":160,"children":161},{"class":47,"line":48},[162,167,171,177],{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":166},"pub",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":60},{"type":13,"tag":45,"props":172,"children":174},{"style":173},"--shiki-default:#953800;--shiki-dark:#FFA657",[175],{"type":18,"value":176}," PhysicalDeviceSparseImageFormatInfo2",{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," {\n",{"type":13,"tag":45,"props":183,"children":184},{"class":47,"line":69},[185,190,195,200,205,210],{"type":13,"tag":45,"props":186,"children":187},{"style":63},[188],{"type":18,"value":189}," s_type",{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":194},":",{"type":13,"tag":45,"props":196,"children":197},{"style":173},[198],{"type":18,"value":199}," vk",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204},"::",{"type":13,"tag":45,"props":206,"children":207},{"style":173},[208],{"type":18,"value":209},"StructureType",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214},",\n",{"type":13,"tag":45,"props":216,"children":217},{"class":47,"line":78},[218,223,227,232],{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":222}," p_next",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":194},{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":231}," *const",{"type":13,"tag":45,"props":233,"children":234},{"style":63},[235],{"type":18,"value":236}," c_void,\n",{"type":13,"tag":45,"props":238,"children":239},{"class":47,"line":97},[240,245,249,253,257,262],{"type":13,"tag":45,"props":241,"children":242},{"style":63},[243],{"type":18,"value":244}," format",{"type":13,"tag":45,"props":246,"children":247},{"style":52},[248],{"type":18,"value":194},{"type":13,"tag":45,"props":250,"children":251},{"style":173},[252],{"type":18,"value":199},{"type":13,"tag":45,"props":254,"children":255},{"style":52},[256],{"type":18,"value":204},{"type":13,"tag":45,"props":258,"children":259},{"style":173},[260],{"type":18,"value":261},"Format",{"type":13,"tag":45,"props":263,"children":264},{"style":63},[265],{"type":18,"value":214},{"type":13,"tag":45,"props":267,"children":268},{"class":47,"line":106},[269,274,278,282,287],{"type":13,"tag":45,"props":270,"children":271},{"style":52},[272],{"type":18,"value":273}," type:",{"type":13,"tag":45,"props":275,"children":276},{"style":173},[277],{"type":18,"value":199},{"type":13,"tag":45,"props":279,"children":280},{"style":52},[281],{"type":18,"value":204},{"type":13,"tag":45,"props":283,"children":284},{"style":173},[285],{"type":18,"value":286},"ImageType",{"type":13,"tag":45,"props":288,"children":289},{"style":63},[290],{"type":18,"value":214},{"type":13,"tag":45,"props":292,"children":293},{"class":47,"line":115},[294,299,303,308],{"type":13,"tag":45,"props":295,"children":296},{"style":63},[297],{"type":18,"value":298}," samples",{"type":13,"tag":45,"props":300,"children":301},{"style":52},[302],{"type":18,"value":194},{"type":13,"tag":45,"props":304,"children":305},{"style":173},[306],{"type":18,"value":307}," SampleCountFlags",{"type":13,"tag":45,"props":309,"children":310},{"style":63},[311],{"type":18,"value":214},{"type":13,"tag":45,"props":313,"children":314},{"class":47,"line":124},[315,320,324,328,332,337],{"type":13,"tag":45,"props":316,"children":317},{"style":63},[318],{"type":18,"value":319}," usage",{"type":13,"tag":45,"props":321,"children":322},{"style":52},[323],{"type":18,"value":194},{"type":13,"tag":45,"props":325,"children":326},{"style":173},[327],{"type":18,"value":199},{"type":13,"tag":45,"props":329,"children":330},{"style":52},[331],{"type":18,"value":204},{"type":13,"tag":45,"props":333,"children":334},{"style":173},[335],{"type":18,"value":336},"ImageUsageFlags",{"type":13,"tag":45,"props":338,"children":339},{"style":63},[340],{"type":18,"value":214},{"type":13,"tag":45,"props":342,"children":343},{"class":47,"line":133},[344,349,353,357,361,366],{"type":13,"tag":45,"props":345,"children":346},{"style":63},[347],{"type":18,"value":348}," tiling",{"type":13,"tag":45,"props":350,"children":351},{"style":52},[352],{"type":18,"value":194},{"type":13,"tag":45,"props":354,"children":355},{"style":173},[356],{"type":18,"value":199},{"type":13,"tag":45,"props":358,"children":359},{"style":52},[360],{"type":18,"value":204},{"type":13,"tag":45,"props":362,"children":363},{"style":173},[364],{"type":18,"value":365},"ImageTiling",{"type":13,"tag":45,"props":367,"children":368},{"style":63},[369],{"type":18,"value":214},{"type":13,"tag":45,"props":371,"children":372},{"class":47,"line":142},[373],{"type":13,"tag":45,"props":374,"children":375},{"style":63},[376],{"type":18,"value":377},"}\n",{"type":13,"tag":14,"props":379,"children":380},{},[381],{"type":18,"value":382},"or the equivalent",{"type":13,"tag":29,"props":384,"children":385},{},[386,405],{"type":13,"tag":33,"props":387,"children":389},{"className":35,"code":388,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceSparseImageFormatInfo2 VkPhysicalDeviceSparseImageFormatInfo2KHR;\n",[390],{"type":13,"tag":21,"props":391,"children":392},{"__ignoreMap":39},[393],{"type":13,"tag":45,"props":394,"children":395},{"class":47,"line":48},[396,400],{"type":13,"tag":45,"props":397,"children":398},{"style":52},[399],{"type":18,"value":55},{"type":13,"tag":45,"props":401,"children":402},{"style":63},[403],{"type":18,"value":404}," VkPhysicalDeviceSparseImageFormatInfo2 VkPhysicalDeviceSparseImageFormatInfo2KHR;\n",{"type":13,"tag":33,"props":406,"children":408},{"className":151,"code":407,"filename":153,"language":154,"meta":39,"style":39},"type PhysicalDeviceSparseImageFormatInfo2KHR = vk::PhysicalDeviceSparseImageFormatInfo2;\n",[409],{"type":13,"tag":21,"props":410,"children":411},{"__ignoreMap":39},[412],{"type":13,"tag":45,"props":413,"children":414},{"class":47,"line":48},[415,420,425,430,434,438,443],{"type":13,"tag":45,"props":416,"children":417},{"style":52},[418],{"type":18,"value":419},"type",{"type":13,"tag":45,"props":421,"children":422},{"style":173},[423],{"type":18,"value":424}," PhysicalDeviceSparseImageFormatInfo2KHR",{"type":13,"tag":45,"props":426,"children":427},{"style":52},[428],{"type":18,"value":429}," =",{"type":13,"tag":45,"props":431,"children":432},{"style":173},[433],{"type":18,"value":199},{"type":13,"tag":45,"props":435,"children":436},{"style":52},[437],{"type":18,"value":204},{"type":13,"tag":45,"props":439,"children":440},{"style":173},[441],{"type":18,"value":442},"PhysicalDeviceSparseImageFormatInfo2",{"type":13,"tag":45,"props":444,"children":445},{"style":63},[446],{"type":18,"value":447},";\n",{"type":13,"tag":449,"props":450,"children":451},"ul",{},[452,473,492,503,513,531,542],{"type":13,"tag":453,"props":454,"children":455},"li",{},[456,462,464,471],{"type":13,"tag":21,"props":457,"children":459},{"className":458},[],[460],{"type":18,"value":461},"sType",{"type":18,"value":463}," is a ",{"type":13,"tag":465,"props":466,"children":468},"a",{"href":467},"/man/VkStructureType",[469],{"type":18,"value":470},"VkStructureType",{"type":18,"value":472}," value identifying this structure.",{"type":13,"tag":453,"props":474,"children":475},{},[476,482,484,490],{"type":13,"tag":21,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"pNext",{"type":18,"value":483}," is ",{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"NULL",{"type":18,"value":491}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":453,"props":493,"children":494},{},[495,501],{"type":13,"tag":21,"props":496,"children":498},{"className":497},[],[499],{"type":18,"value":500},"format",{"type":18,"value":502}," is the image format.",{"type":13,"tag":453,"props":504,"children":505},{},[506,511],{"type":13,"tag":21,"props":507,"children":509},{"className":508},[],[510],{"type":18,"value":419},{"type":18,"value":512}," is the dimensionality of the image.",{"type":13,"tag":453,"props":514,"children":515},{},[516,522,523,529],{"type":13,"tag":21,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":521},"samples",{"type":18,"value":463},{"type":13,"tag":465,"props":524,"children":526},{"href":525},"/man/VkSampleCountFlagBits",[527],{"type":18,"value":528},"VkSampleCountFlagBits",{"type":18,"value":530}," value specifying the\nnumber of samples per texel.",{"type":13,"tag":453,"props":532,"children":533},{},[534,540],{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":539},"usage",{"type":18,"value":541}," is a bitmask describing the intended usage of the image.",{"type":13,"tag":453,"props":543,"children":544},{},[545,551],{"type":13,"tag":21,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":550},"tiling",{"type":18,"value":552}," is the tiling arrangement of the texel blocks in memory.",{"type":13,"tag":554,"props":555,"children":557},"validity-group",{"name":556},"Valid Usage",[558],{"type":13,"tag":559,"props":560,"children":562},"validity-field",{"name":561},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-01095",[563],{"type":13,"tag":14,"props":564,"children":565},{},[566,571,573,578,580,584,586,592,593,599,601,607,609,614,615,620,622,627,629,634],{"type":13,"tag":21,"props":567,"children":569},{"className":568},[],[570],{"type":18,"value":521},{"type":18,"value":572}," ",{"type":13,"tag":574,"props":575,"children":577},"normative",{"type":576},"must",[],{"type":18,"value":579}," be a valid ",{"type":13,"tag":465,"props":581,"children":582},{"href":525},[583],{"type":18,"value":528},{"type":18,"value":585}," value that is\nset in ",{"type":13,"tag":21,"props":587,"children":589},{"className":588},[],[590],{"type":18,"value":591},"VkImageFormatProperties",{"type":18,"value":204},{"type":13,"tag":21,"props":594,"children":596},{"className":595},[],[597],{"type":18,"value":598},"sampleCounts",{"type":18,"value":600}," returned by\n",{"type":13,"tag":21,"props":602,"children":604},{"className":603},[],[605],{"type":18,"value":606},"vkGetPhysicalDeviceImageFormatProperties",{"type":18,"value":608}," with ",{"type":13,"tag":21,"props":610,"children":612},{"className":611},[],[613],{"type":18,"value":500},{"type":18,"value":214},{"type":13,"tag":21,"props":616,"children":618},{"className":617},[],[619],{"type":18,"value":419},{"type":18,"value":621},", ",{"type":13,"tag":21,"props":623,"children":625},{"className":624},[],[626],{"type":18,"value":550},{"type":18,"value":628},", and ",{"type":13,"tag":21,"props":630,"children":632},{"className":631},[],[633],{"type":18,"value":539},{"type":18,"value":635}," equal to those in this command",{"type":13,"tag":554,"props":637,"children":639},{"name":638},"Valid Usage (Implicit)",[640,664,686,711,735,757,783,807],{"type":13,"tag":559,"props":641,"children":643},{"name":642},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-sType-sType",[644],{"type":13,"tag":14,"props":645,"children":646},{},[647,652,653,656,658],{"type":13,"tag":21,"props":648,"children":650},{"className":649},[],[651],{"type":18,"value":461},{"type":18,"value":572},{"type":13,"tag":574,"props":654,"children":655},{"type":576},[],{"type":18,"value":657}," be ",{"type":13,"tag":21,"props":659,"children":661},{"className":660},[],[662],{"type":18,"value":663},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SPARSE_IMAGE_FORMAT_INFO_2",{"type":13,"tag":559,"props":665,"children":667},{"name":666},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-pNext-pNext",[668],{"type":13,"tag":14,"props":669,"children":670},{},[671,676,677,680,681],{"type":13,"tag":21,"props":672,"children":674},{"className":673},[],[675],{"type":18,"value":481},{"type":18,"value":572},{"type":13,"tag":574,"props":678,"children":679},{"type":576},[],{"type":18,"value":657},{"type":13,"tag":21,"props":682,"children":684},{"className":683},[],[685],{"type":18,"value":489},{"type":13,"tag":559,"props":687,"children":689},{"name":688},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-format-parameter",[690],{"type":13,"tag":14,"props":691,"children":692},{},[693,698,699,702,703,709],{"type":13,"tag":21,"props":694,"children":696},{"className":695},[],[697],{"type":18,"value":500},{"type":18,"value":572},{"type":13,"tag":574,"props":700,"children":701},{"type":576},[],{"type":18,"value":579},{"type":13,"tag":465,"props":704,"children":706},{"href":705},"/man/VkFormat",[707],{"type":18,"value":708},"VkFormat",{"type":18,"value":710}," value",{"type":13,"tag":559,"props":712,"children":714},{"name":713},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-type-parameter",[715],{"type":13,"tag":14,"props":716,"children":717},{},[718,723,724,727,728,734],{"type":13,"tag":21,"props":719,"children":721},{"className":720},[],[722],{"type":18,"value":419},{"type":18,"value":572},{"type":13,"tag":574,"props":725,"children":726},{"type":576},[],{"type":18,"value":579},{"type":13,"tag":465,"props":729,"children":731},{"href":730},"/man/VkImageType",[732],{"type":18,"value":733},"VkImageType",{"type":18,"value":710},{"type":13,"tag":559,"props":736,"children":738},{"name":737},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-samples-parameter",[739],{"type":13,"tag":14,"props":740,"children":741},{},[742,747,748,751,752,756],{"type":13,"tag":21,"props":743,"children":745},{"className":744},[],[746],{"type":18,"value":521},{"type":18,"value":572},{"type":13,"tag":574,"props":749,"children":750},{"type":576},[],{"type":18,"value":579},{"type":13,"tag":465,"props":753,"children":754},{"href":525},[755],{"type":18,"value":528},{"type":18,"value":710},{"type":13,"tag":559,"props":758,"children":760},{"name":759},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-usage-parameter",[761],{"type":13,"tag":14,"props":762,"children":763},{},[764,769,770,773,775,781],{"type":13,"tag":21,"props":765,"children":767},{"className":766},[],[768],{"type":18,"value":539},{"type":18,"value":572},{"type":13,"tag":574,"props":771,"children":772},{"type":576},[],{"type":18,"value":774}," be a valid combination of ",{"type":13,"tag":465,"props":776,"children":778},{"href":777},"/man/VkImageUsageFlagBits",[779],{"type":18,"value":780},"VkImageUsageFlagBits",{"type":18,"value":782}," values",{"type":13,"tag":559,"props":784,"children":786},{"name":785},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-usage-requiredbitmask",[787],{"type":13,"tag":14,"props":788,"children":789},{},[790,795,796,799,801],{"type":13,"tag":21,"props":791,"children":793},{"className":792},[],[794],{"type":18,"value":539},{"type":18,"value":572},{"type":13,"tag":574,"props":797,"children":798},{"type":576},[],{"type":18,"value":800}," not be ",{"type":13,"tag":21,"props":802,"children":804},{"className":803},[],[805],{"type":18,"value":806},"0",{"type":13,"tag":559,"props":808,"children":810},{"name":809},"VUID-VkPhysicalDeviceSparseImageFormatInfo2-tiling-parameter",[811],{"type":13,"tag":14,"props":812,"children":813},{},[814,819,820,823,824,830],{"type":13,"tag":21,"props":815,"children":817},{"className":816},[],[818],{"type":18,"value":550},{"type":18,"value":572},{"type":13,"tag":574,"props":821,"children":822},{"type":576},[],{"type":18,"value":579},{"type":13,"tag":465,"props":825,"children":827},{"href":826},"/man/VkImageTiling",[828],{"type":18,"value":829},"VkImageTiling",{"type":18,"value":710},{"type":13,"tag":832,"props":833,"children":834},"style",{},[835],{"type":18,"value":836},"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":838},[],"markdown",1725732575061]