[{"data":1,"prerenderedAt":594},["ShallowReactive",2],{"ZAgCeRmj8X":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":593,"_id":4},"vkGetPhysicalDeviceSparseImageFormatProperties2","Retrieve properties of an image format applied to sparse images","VK_VERSION_1_1","protos",[],{"type":10,"children":11,"toc":591},"root",[12,43,337,407,440,585],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,24,26,33,35,41],{"type":13,"tag":18,"props":19,"children":21},"code",{"className":20},[],[22],{"type":23,"value":4},"text",{"type":23,"value":25}," returns an array of\n",{"type":13,"tag":27,"props":28,"children":30},"a",{"href":29},"/man/VkSparseImageFormatProperties2",[31],{"type":23,"value":32},"VkSparseImageFormatProperties2",{"type":23,"value":34},".\nEach element describes properties for one set of image aspects that are\nbound simultaneously for a ",{"type":13,"tag":18,"props":36,"children":38},{"className":37},[],[39],{"type":23,"value":40},"VkImage",{"type":23,"value":42}," created with the provided image\ncreation parameters.\nThis is usually one element for each aspect in the image, but for\ninterleaved depth/stencil images there is only one element describing the\ncombined aspects.",{"type":13,"tag":44,"props":45,"children":46},"code-group",{},[47,172],{"type":13,"tag":48,"props":49,"children":55},"pre",{"className":50,"code":51,"filename":52,"language":53,"meta":54,"style":54},"language-c shiki shiki-themes github-light-default github-dark-default","void vkGetPhysicalDeviceSparseImageFormatProperties2KHR(\n VkPhysicalDevice physicalDevice,\n const VkPhysicalDeviceSparseImageFormatInfo2* pFormatInfo,\n uint32_t* pPropertyCount,\n VkSparseImageFormatProperties2* pProperties);\n","C","c","",[56],{"type":13,"tag":18,"props":57,"children":58},{"__ignoreMap":54},[59,83,103,131,149],{"type":13,"tag":60,"props":61,"children":64},"span",{"class":62,"line":63},"line",1,[65,71,77],{"type":13,"tag":60,"props":66,"children":68},{"style":67},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[69],{"type":23,"value":70},"void",{"type":13,"tag":60,"props":72,"children":74},{"style":73},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[75],{"type":23,"value":76}," vkGetPhysicalDeviceSparseImageFormatProperties2KHR",{"type":13,"tag":60,"props":78,"children":80},{"style":79},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[81],{"type":23,"value":82},"(\n",{"type":13,"tag":60,"props":84,"children":86},{"class":62,"line":85},2,[87,92,98],{"type":13,"tag":60,"props":88,"children":89},{"style":79},[90],{"type":23,"value":91}," VkPhysicalDevice ",{"type":13,"tag":60,"props":93,"children":95},{"style":94},"--shiki-default:#953800;--shiki-dark:#FFA657",[96],{"type":23,"value":97},"physicalDevice",{"type":13,"tag":60,"props":99,"children":100},{"style":79},[101],{"type":23,"value":102},",\n",{"type":13,"tag":60,"props":104,"children":106},{"class":62,"line":105},3,[107,112,117,122,127],{"type":13,"tag":60,"props":108,"children":109},{"style":67},[110],{"type":23,"value":111}," const",{"type":13,"tag":60,"props":113,"children":114},{"style":79},[115],{"type":23,"value":116}," VkPhysicalDeviceSparseImageFormatInfo2",{"type":13,"tag":60,"props":118,"children":119},{"style":67},[120],{"type":23,"value":121},"*",{"type":13,"tag":60,"props":123,"children":124},{"style":94},[125],{"type":23,"value":126}," pFormatInfo",{"type":13,"tag":60,"props":128,"children":129},{"style":79},[130],{"type":23,"value":102},{"type":13,"tag":60,"props":132,"children":134},{"class":62,"line":133},4,[135,140,145],{"type":13,"tag":60,"props":136,"children":137},{"style":67},[138],{"type":23,"value":139}," uint32_t*",{"type":13,"tag":60,"props":141,"children":142},{"style":94},[143],{"type":23,"value":144}," pPropertyCount",{"type":13,"tag":60,"props":146,"children":147},{"style":79},[148],{"type":23,"value":102},{"type":13,"tag":60,"props":150,"children":152},{"class":62,"line":151},5,[153,158,162,167],{"type":13,"tag":60,"props":154,"children":155},{"style":79},[156],{"type":23,"value":157}," VkSparseImageFormatProperties2",{"type":13,"tag":60,"props":159,"children":160},{"style":67},[161],{"type":23,"value":121},{"type":13,"tag":60,"props":163,"children":164},{"style":94},[165],{"type":23,"value":166}," pProperties",{"type":13,"tag":60,"props":168,"children":169},{"style":79},[170],{"type":23,"value":171},");\n",{"type":13,"tag":48,"props":173,"children":178},{"className":174,"code":175,"filename":176,"language":177,"meta":54,"style":54},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_sparse_image_format_properties2_khr(\n physical_device: vk::PhysicalDevice,\n p_format_info: *const vk::PhysicalDeviceSparseImageFormatInfo2,\n p_property_count: *mut u32,\n p_properties: *mut vk::SparseImageFormatProperties2,\n);\n","Rust","rs",[179],{"type":13,"tag":18,"props":180,"children":181},{"__ignoreMap":54},[182,204,236,270,296,329],{"type":13,"tag":60,"props":183,"children":184},{"class":62,"line":63},[185,190,195,200],{"type":13,"tag":60,"props":186,"children":187},{"style":67},[188],{"type":23,"value":189},"pub",{"type":13,"tag":60,"props":191,"children":192},{"style":67},[193],{"type":23,"value":194}," fn",{"type":13,"tag":60,"props":196,"children":197},{"style":73},[198],{"type":23,"value":199}," get_physical_device_sparse_image_format_properties2_khr",{"type":13,"tag":60,"props":201,"children":202},{"style":79},[203],{"type":23,"value":82},{"type":13,"tag":60,"props":205,"children":206},{"class":62,"line":85},[207,212,217,222,227,232],{"type":13,"tag":60,"props":208,"children":209},{"style":79},[210],{"type":23,"value":211}," physical_device",{"type":13,"tag":60,"props":213,"children":214},{"style":67},[215],{"type":23,"value":216},":",{"type":13,"tag":60,"props":218,"children":219},{"style":94},[220],{"type":23,"value":221}," vk",{"type":13,"tag":60,"props":223,"children":224},{"style":67},[225],{"type":23,"value":226},"::",{"type":13,"tag":60,"props":228,"children":229},{"style":94},[230],{"type":23,"value":231},"PhysicalDevice",{"type":13,"tag":60,"props":233,"children":234},{"style":79},[235],{"type":23,"value":102},{"type":13,"tag":60,"props":237,"children":238},{"class":62,"line":105},[239,244,248,253,257,261,266],{"type":13,"tag":60,"props":240,"children":241},{"style":79},[242],{"type":23,"value":243}," p_format_info",{"type":13,"tag":60,"props":245,"children":246},{"style":67},[247],{"type":23,"value":216},{"type":13,"tag":60,"props":249,"children":250},{"style":67},[251],{"type":23,"value":252}," *const",{"type":13,"tag":60,"props":254,"children":255},{"style":94},[256],{"type":23,"value":221},{"type":13,"tag":60,"props":258,"children":259},{"style":67},[260],{"type":23,"value":226},{"type":13,"tag":60,"props":262,"children":263},{"style":94},[264],{"type":23,"value":265},"PhysicalDeviceSparseImageFormatInfo2",{"type":13,"tag":60,"props":267,"children":268},{"style":79},[269],{"type":23,"value":102},{"type":13,"tag":60,"props":271,"children":272},{"class":62,"line":133},[273,278,282,287,292],{"type":13,"tag":60,"props":274,"children":275},{"style":79},[276],{"type":23,"value":277}," p_property_count",{"type":13,"tag":60,"props":279,"children":280},{"style":67},[281],{"type":23,"value":216},{"type":13,"tag":60,"props":283,"children":284},{"style":67},[285],{"type":23,"value":286}," *mut",{"type":13,"tag":60,"props":288,"children":289},{"style":94},[290],{"type":23,"value":291}," u32",{"type":13,"tag":60,"props":293,"children":294},{"style":79},[295],{"type":23,"value":102},{"type":13,"tag":60,"props":297,"children":298},{"class":62,"line":151},[299,304,308,312,316,320,325],{"type":13,"tag":60,"props":300,"children":301},{"style":79},[302],{"type":23,"value":303}," p_properties",{"type":13,"tag":60,"props":305,"children":306},{"style":67},[307],{"type":23,"value":216},{"type":13,"tag":60,"props":309,"children":310},{"style":67},[311],{"type":23,"value":286},{"type":13,"tag":60,"props":313,"children":314},{"style":94},[315],{"type":23,"value":221},{"type":13,"tag":60,"props":317,"children":318},{"style":67},[319],{"type":23,"value":226},{"type":13,"tag":60,"props":321,"children":322},{"style":94},[323],{"type":23,"value":324},"SparseImageFormatProperties2",{"type":13,"tag":60,"props":326,"children":327},{"style":79},[328],{"type":23,"value":102},{"type":13,"tag":60,"props":330,"children":332},{"class":62,"line":331},6,[333],{"type":13,"tag":60,"props":334,"children":335},{"style":79},[336],{"type":23,"value":171},{"type":13,"tag":338,"props":339,"children":340},"ul",{},[341,352,371,382],{"type":13,"tag":342,"props":343,"children":344},"li",{},[345,350],{"type":13,"tag":18,"props":346,"children":348},{"className":347},[],[349],{"type":23,"value":97},{"type":23,"value":351}," is the physical device from which to query the\nsparse image format properties.",{"type":13,"tag":342,"props":353,"children":354},{},[355,361,363,369],{"type":13,"tag":18,"props":356,"children":358},{"className":357},[],[359],{"type":23,"value":360},"pFormatInfo",{"type":23,"value":362}," is a pointer to a\n",{"type":13,"tag":27,"props":364,"children":366},{"href":365},"/man/VkPhysicalDeviceSparseImageFormatInfo2",[367],{"type":23,"value":368},"VkPhysicalDeviceSparseImageFormatInfo2",{"type":23,"value":370}," structure containing input\nparameters to the command.",{"type":13,"tag":342,"props":372,"children":373},{},[374,380],{"type":13,"tag":18,"props":375,"children":377},{"className":376},[],[378],{"type":23,"value":379},"pPropertyCount",{"type":23,"value":381}," is a pointer to an integer related to the number of\nsparse format properties available or queried, as described below.",{"type":13,"tag":342,"props":383,"children":384},{},[385,391,393,399,401,405],{"type":13,"tag":18,"props":386,"children":388},{"className":387},[],[389],{"type":23,"value":390},"pProperties",{"type":23,"value":392}," is either ",{"type":13,"tag":18,"props":394,"children":396},{"className":395},[],[397],{"type":23,"value":398},"NULL",{"type":23,"value":400}," or a pointer to an array of\n",{"type":13,"tag":27,"props":402,"children":403},{"href":29},[404],{"type":23,"value":32},{"type":23,"value":406}," structures.",{"type":13,"tag":14,"props":408,"children":409},{},[410,415,417,423,425,431,433,438],{"type":13,"tag":18,"props":411,"children":413},{"className":412},[],[414],{"type":23,"value":4},{"type":23,"value":416}," behaves identically to\n",{"type":13,"tag":27,"props":418,"children":420},{"href":419},"/man/vkGetPhysicalDeviceSparseImageFormatProperties",[421],{"type":23,"value":422},"vkGetPhysicalDeviceSparseImageFormatProperties",{"type":23,"value":424},", with the ability to\nreturn extended information by adding extending structures to the\n",{"type":13,"tag":18,"props":426,"children":428},{"className":427},[],[429],{"type":23,"value":430},"pNext",{"type":23,"value":432}," chain of its ",{"type":13,"tag":18,"props":434,"children":436},{"className":435},[],[437],{"type":23,"value":390},{"type":23,"value":439}," parameter.",{"type":13,"tag":441,"props":442,"children":444},"validity-group",{"name":443},"Valid Usage (Implicit)",[445,475,499,525],{"type":13,"tag":446,"props":447,"children":449},"validity-field",{"name":448},"VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-physicalDevice-parameter",[450],{"type":13,"tag":14,"props":451,"children":452},{},[453,458,460,465,467,473],{"type":13,"tag":18,"props":454,"children":456},{"className":455},[],[457],{"type":23,"value":97},{"type":23,"value":459}," ",{"type":13,"tag":461,"props":462,"children":464},"normative",{"type":463},"must",[],{"type":23,"value":466}," be a valid ",{"type":13,"tag":27,"props":468,"children":470},{"href":469},"/man/VkPhysicalDevice",[471],{"type":23,"value":472},"VkPhysicalDevice",{"type":23,"value":474}," handle",{"type":13,"tag":446,"props":476,"children":478},{"name":477},"VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pFormatInfo-parameter",[479],{"type":13,"tag":14,"props":480,"children":481},{},[482,487,488,491,493,497],{"type":13,"tag":18,"props":483,"children":485},{"className":484},[],[486],{"type":23,"value":360},{"type":23,"value":459},{"type":13,"tag":461,"props":489,"children":490},{"type":463},[],{"type":23,"value":492}," be a valid pointer to a valid ",{"type":13,"tag":27,"props":494,"children":495},{"href":365},[496],{"type":23,"value":368},{"type":23,"value":498}," structure",{"type":13,"tag":446,"props":500,"children":502},{"name":501},"VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pPropertyCount-parameter",[503],{"type":13,"tag":14,"props":504,"children":505},{},[506,511,512,515,517,523],{"type":13,"tag":18,"props":507,"children":509},{"className":508},[],[510],{"type":23,"value":379},{"type":23,"value":459},{"type":13,"tag":461,"props":513,"children":514},{"type":463},[],{"type":23,"value":516}," be a valid pointer to a ",{"type":13,"tag":18,"props":518,"children":520},{"className":519},[],[521],{"type":23,"value":522},"uint32_t",{"type":23,"value":524}," value",{"type":13,"tag":446,"props":526,"children":528},{"name":527},"VUID-vkGetPhysicalDeviceSparseImageFormatProperties2-pProperties-parameter",[529],{"type":13,"tag":14,"props":530,"children":531},{},[532,534,539,541,547,549,554,555,560,562,567,568,571,573,578,579,583],{"type":23,"value":533},"If the value referenced by ",{"type":13,"tag":18,"props":535,"children":537},{"className":536},[],[538],{"type":23,"value":379},{"type":23,"value":540}," is not ",{"type":13,"tag":18,"props":542,"children":544},{"className":543},[],[545],{"type":23,"value":546},"0",{"type":23,"value":548},", and ",{"type":13,"tag":18,"props":550,"children":552},{"className":551},[],[553],{"type":23,"value":390},{"type":23,"value":540},{"type":13,"tag":18,"props":556,"children":558},{"className":557},[],[559],{"type":23,"value":398},{"type":23,"value":561},", ",{"type":13,"tag":18,"props":563,"children":565},{"className":564},[],[566],{"type":23,"value":390},{"type":23,"value":459},{"type":13,"tag":461,"props":569,"children":570},{"type":463},[],{"type":23,"value":572}," be a valid pointer to an array of ",{"type":13,"tag":18,"props":574,"children":576},{"className":575},[],[577],{"type":23,"value":379},{"type":23,"value":459},{"type":13,"tag":27,"props":580,"children":581},{"href":29},[582],{"type":23,"value":32},{"type":23,"value":584}," structures",{"type":13,"tag":586,"props":587,"children":588},"style",{},[589],{"type":23,"value":590},"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":54,"searchDepth":85,"depth":85,"links":592},[],"markdown",1725732620369]