[{"data":1,"prerenderedAt":429},["ShallowReactive",2],{"IdUGFVDVmF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":428,"_id":4},"vkGetPhysicalDeviceFormatProperties2","Lists physical device's format capabilities","VK_VERSION_1_1","protos",[],{"type":10,"children":11,"toc":426},"root",[12,20,258,310,336,420],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query supported format features which are properties of the physical\ndevice, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,123],{"type":13,"tag":25,"props":26,"children":32},"pre",{"className":27,"code":28,"filename":29,"language":30,"meta":31,"style":31},"language-c shiki shiki-themes github-light-default github-dark-default","void vkGetPhysicalDeviceFormatProperties2KHR(\n VkPhysicalDevice physicalDevice,\n VkFormat format,\n VkFormatProperties2* pFormatProperties);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99],{"type":13,"tag":38,"props":39,"children":42},"span",{"class":40,"line":41},"line",1,[43,49,55],{"type":13,"tag":38,"props":44,"children":46},{"style":45},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[47],{"type":18,"value":48},"void",{"type":13,"tag":38,"props":50,"children":52},{"style":51},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[53],{"type":18,"value":54}," vkGetPhysicalDeviceFormatProperties2KHR",{"type":13,"tag":38,"props":56,"children":58},{"style":57},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[59],{"type":18,"value":60},"(\n",{"type":13,"tag":38,"props":62,"children":64},{"class":40,"line":63},2,[65,70,76],{"type":13,"tag":38,"props":66,"children":67},{"style":57},[68],{"type":18,"value":69}," VkPhysicalDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"physicalDevice",{"type":13,"tag":38,"props":77,"children":78},{"style":57},[79],{"type":18,"value":80},",\n",{"type":13,"tag":38,"props":82,"children":84},{"class":40,"line":83},3,[85,90,95],{"type":13,"tag":38,"props":86,"children":87},{"style":57},[88],{"type":18,"value":89}," VkFormat ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"format",{"type":13,"tag":38,"props":96,"children":97},{"style":57},[98],{"type":18,"value":80},{"type":13,"tag":38,"props":100,"children":102},{"class":40,"line":101},4,[103,108,113,118],{"type":13,"tag":38,"props":104,"children":105},{"style":57},[106],{"type":18,"value":107}," VkFormatProperties2",{"type":13,"tag":38,"props":109,"children":110},{"style":45},[111],{"type":18,"value":112},"*",{"type":13,"tag":38,"props":114,"children":115},{"style":72},[116],{"type":18,"value":117}," pFormatProperties",{"type":13,"tag":38,"props":119,"children":120},{"style":57},[121],{"type":18,"value":122},");\n",{"type":13,"tag":25,"props":124,"children":129},{"className":125,"code":126,"filename":127,"language":128,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_physical_device_format_properties2_khr(\n physical_device: vk::PhysicalDevice,\n format: vk::Format,\n p_format_properties: *mut vk::FormatProperties2,\n);\n","Rust","rs",[130],{"type":13,"tag":34,"props":131,"children":132},{"__ignoreMap":31},[133,155,187,216,250],{"type":13,"tag":38,"props":134,"children":135},{"class":40,"line":41},[136,141,146,151],{"type":13,"tag":38,"props":137,"children":138},{"style":45},[139],{"type":18,"value":140},"pub",{"type":13,"tag":38,"props":142,"children":143},{"style":45},[144],{"type":18,"value":145}," fn",{"type":13,"tag":38,"props":147,"children":148},{"style":51},[149],{"type":18,"value":150}," get_physical_device_format_properties2_khr",{"type":13,"tag":38,"props":152,"children":153},{"style":57},[154],{"type":18,"value":60},{"type":13,"tag":38,"props":156,"children":157},{"class":40,"line":63},[158,163,168,173,178,183],{"type":13,"tag":38,"props":159,"children":160},{"style":57},[161],{"type":18,"value":162}," physical_device",{"type":13,"tag":38,"props":164,"children":165},{"style":45},[166],{"type":18,"value":167},":",{"type":13,"tag":38,"props":169,"children":170},{"style":72},[171],{"type":18,"value":172}," vk",{"type":13,"tag":38,"props":174,"children":175},{"style":45},[176],{"type":18,"value":177},"::",{"type":13,"tag":38,"props":179,"children":180},{"style":72},[181],{"type":18,"value":182},"PhysicalDevice",{"type":13,"tag":38,"props":184,"children":185},{"style":57},[186],{"type":18,"value":80},{"type":13,"tag":38,"props":188,"children":189},{"class":40,"line":83},[190,195,199,203,207,212],{"type":13,"tag":38,"props":191,"children":192},{"style":57},[193],{"type":18,"value":194}," format",{"type":13,"tag":38,"props":196,"children":197},{"style":45},[198],{"type":18,"value":167},{"type":13,"tag":38,"props":200,"children":201},{"style":72},[202],{"type":18,"value":172},{"type":13,"tag":38,"props":204,"children":205},{"style":45},[206],{"type":18,"value":177},{"type":13,"tag":38,"props":208,"children":209},{"style":72},[210],{"type":18,"value":211},"Format",{"type":13,"tag":38,"props":213,"children":214},{"style":57},[215],{"type":18,"value":80},{"type":13,"tag":38,"props":217,"children":218},{"class":40,"line":101},[219,224,228,233,237,241,246],{"type":13,"tag":38,"props":220,"children":221},{"style":57},[222],{"type":18,"value":223}," p_format_properties",{"type":13,"tag":38,"props":225,"children":226},{"style":45},[227],{"type":18,"value":167},{"type":13,"tag":38,"props":229,"children":230},{"style":45},[231],{"type":18,"value":232}," *mut",{"type":13,"tag":38,"props":234,"children":235},{"style":72},[236],{"type":18,"value":172},{"type":13,"tag":38,"props":238,"children":239},{"style":45},[240],{"type":18,"value":177},{"type":13,"tag":38,"props":242,"children":243},{"style":72},[244],{"type":18,"value":245},"FormatProperties2",{"type":13,"tag":38,"props":247,"children":248},{"style":57},[249],{"type":18,"value":80},{"type":13,"tag":38,"props":251,"children":253},{"class":40,"line":252},5,[254],{"type":13,"tag":38,"props":255,"children":256},{"style":57},[257],{"type":18,"value":122},{"type":13,"tag":259,"props":260,"children":261},"ul",{},[262,273,283],{"type":13,"tag":263,"props":264,"children":265},"li",{},[266,271],{"type":13,"tag":34,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":75},{"type":18,"value":272}," is the physical device from which to query the\nformat properties.",{"type":13,"tag":263,"props":274,"children":275},{},[276,281],{"type":13,"tag":34,"props":277,"children":279},{"className":278},[],[280],{"type":18,"value":94},{"type":18,"value":282}," is the format whose properties are queried.",{"type":13,"tag":263,"props":284,"children":285},{},[286,292,294,301,303,308],{"type":13,"tag":34,"props":287,"children":289},{"className":288},[],[290],{"type":18,"value":291},"pFormatProperties",{"type":18,"value":293}," is a pointer to a ",{"type":13,"tag":295,"props":296,"children":298},"a",{"href":297},"/man/VkFormatProperties2",[299],{"type":18,"value":300},"VkFormatProperties2",{"type":18,"value":302},"\nstructure in which physical device properties for ",{"type":13,"tag":34,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":94},{"type":18,"value":309}," are\nreturned.",{"type":13,"tag":14,"props":311,"children":312},{},[313,318,320,326,328,334],{"type":13,"tag":34,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":4},{"type":18,"value":319}," behaves similarly to\n",{"type":13,"tag":295,"props":321,"children":323},{"href":322},"/man/vkGetPhysicalDeviceFormatProperties",[324],{"type":18,"value":325},"vkGetPhysicalDeviceFormatProperties",{"type":18,"value":327},", with the ability to return\nextended information in a ",{"type":13,"tag":34,"props":329,"children":331},{"className":330},[],[332],{"type":18,"value":333},"pNext",{"type":18,"value":335}," chain of output structures.",{"type":13,"tag":337,"props":338,"children":340},"validity-group",{"name":339},"Valid Usage (Implicit)",[341,371,396],{"type":13,"tag":342,"props":343,"children":345},"validity-field",{"name":344},"VUID-vkGetPhysicalDeviceFormatProperties2-physicalDevice-parameter",[346],{"type":13,"tag":14,"props":347,"children":348},{},[349,354,356,361,363,369],{"type":13,"tag":34,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":75},{"type":18,"value":355}," ",{"type":13,"tag":357,"props":358,"children":360},"normative",{"type":359},"must",[],{"type":18,"value":362}," be a valid ",{"type":13,"tag":295,"props":364,"children":366},{"href":365},"/man/VkPhysicalDevice",[367],{"type":18,"value":368},"VkPhysicalDevice",{"type":18,"value":370}," handle",{"type":13,"tag":342,"props":372,"children":374},{"name":373},"VUID-vkGetPhysicalDeviceFormatProperties2-format-parameter",[375],{"type":13,"tag":14,"props":376,"children":377},{},[378,383,384,387,388,394],{"type":13,"tag":34,"props":379,"children":381},{"className":380},[],[382],{"type":18,"value":94},{"type":18,"value":355},{"type":13,"tag":357,"props":385,"children":386},{"type":359},[],{"type":18,"value":362},{"type":13,"tag":295,"props":389,"children":391},{"href":390},"/man/VkFormat",[392],{"type":18,"value":393},"VkFormat",{"type":18,"value":395}," value",{"type":13,"tag":342,"props":397,"children":399},{"name":398},"VUID-vkGetPhysicalDeviceFormatProperties2-pFormatProperties-parameter",[400],{"type":13,"tag":14,"props":401,"children":402},{},[403,408,409,412,414,418],{"type":13,"tag":34,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":291},{"type":18,"value":355},{"type":13,"tag":357,"props":410,"children":411},{"type":359},[],{"type":18,"value":413}," be a valid pointer to a ",{"type":13,"tag":295,"props":415,"children":416},{"href":297},[417],{"type":18,"value":300},{"type":18,"value":419}," structure",{"type":13,"tag":421,"props":422,"children":423},"style",{},[424],{"type":18,"value":425},"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":31,"searchDepth":63,"depth":63,"links":427},[],"markdown",1725732619875]