[{"data":1,"prerenderedAt":508},["ShallowReactive",2],{"ADodMxOhxs":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":507,"_id":4},"vkGetPhysicalDeviceQueueFamilyProperties","Reports properties of the queues of the specified physical device","VK_VERSION_1_0","protos",[],{"type":10,"children":11,"toc":505},"root",[12,20,254,308,381,499],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To query properties of queues available on a physical device, 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 vkGetPhysicalDeviceQueueFamilyProperties(\n VkPhysicalDevice physicalDevice,\n uint32_t* pQueueFamilyPropertyCount,\n VkQueueFamilyProperties* pQueueFamilyProperties);\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}," vkGetPhysicalDeviceQueueFamilyProperties",{"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":45},[88],{"type":18,"value":89}," uint32_t*",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94}," pQueueFamilyPropertyCount",{"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}," VkQueueFamilyProperties",{"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}," pQueueFamilyProperties",{"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_queue_family_properties(\n physical_device: vk::PhysicalDevice,\n p_queue_family_property_count: *mut u32,\n p_queue_family_properties: *mut vk::QueueFamilyProperties,\n);\n","Rust","rs",[130],{"type":13,"tag":34,"props":131,"children":132},{"__ignoreMap":31},[133,155,187,213,246],{"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_queue_family_properties",{"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,204,209],{"type":13,"tag":38,"props":191,"children":192},{"style":57},[193],{"type":18,"value":194}," p_queue_family_property_count",{"type":13,"tag":38,"props":196,"children":197},{"style":45},[198],{"type":18,"value":167},{"type":13,"tag":38,"props":200,"children":201},{"style":45},[202],{"type":18,"value":203}," *mut",{"type":13,"tag":38,"props":205,"children":206},{"style":72},[207],{"type":18,"value":208}," u32",{"type":13,"tag":38,"props":210,"children":211},{"style":57},[212],{"type":18,"value":80},{"type":13,"tag":38,"props":214,"children":215},{"class":40,"line":101},[216,221,225,229,233,237,242],{"type":13,"tag":38,"props":217,"children":218},{"style":57},[219],{"type":18,"value":220}," p_queue_family_properties",{"type":13,"tag":38,"props":222,"children":223},{"style":45},[224],{"type":18,"value":167},{"type":13,"tag":38,"props":226,"children":227},{"style":45},[228],{"type":18,"value":203},{"type":13,"tag":38,"props":230,"children":231},{"style":72},[232],{"type":18,"value":172},{"type":13,"tag":38,"props":234,"children":235},{"style":45},[236],{"type":18,"value":177},{"type":13,"tag":38,"props":238,"children":239},{"style":72},[240],{"type":18,"value":241},"QueueFamilyProperties",{"type":13,"tag":38,"props":243,"children":244},{"style":57},[245],{"type":18,"value":80},{"type":13,"tag":38,"props":247,"children":249},{"class":40,"line":248},5,[250],{"type":13,"tag":38,"props":251,"children":252},{"style":57},[253],{"type":18,"value":122},{"type":13,"tag":255,"props":256,"children":257},"ul",{},[258,269,280],{"type":13,"tag":259,"props":260,"children":261},"li",{},[262,267],{"type":13,"tag":34,"props":263,"children":265},{"className":264},[],[266],{"type":18,"value":75},{"type":18,"value":268}," is the handle to the physical device whose\nproperties will be queried.",{"type":13,"tag":259,"props":270,"children":271},{},[272,278],{"type":13,"tag":34,"props":273,"children":275},{"className":274},[],[276],{"type":18,"value":277},"pQueueFamilyPropertyCount",{"type":18,"value":279}," is a pointer to an integer related to\nthe number of queue families available or queried, as described below.",{"type":13,"tag":259,"props":281,"children":282},{},[283,289,291,297,299,306],{"type":13,"tag":34,"props":284,"children":286},{"className":285},[],[287],{"type":18,"value":288},"pQueueFamilyProperties",{"type":18,"value":290}," is either ",{"type":13,"tag":34,"props":292,"children":294},{"className":293},[],[295],{"type":18,"value":296},"NULL",{"type":18,"value":298}," or a pointer to an array\nof ",{"type":13,"tag":300,"props":301,"children":303},"a",{"href":302},"/man/VkQueueFamilyProperties",[304],{"type":18,"value":305},"VkQueueFamilyProperties",{"type":18,"value":307}," structures.",{"type":13,"tag":14,"props":309,"children":310},{},[311,313,318,320,325,327,332,334,339,341,346,348,351,353,358,360,365,367,372,374,379],{"type":18,"value":312},"If ",{"type":13,"tag":34,"props":314,"children":316},{"className":315},[],[317],{"type":18,"value":288},{"type":18,"value":319}," is ",{"type":13,"tag":34,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":296},{"type":18,"value":326},", then the number of queue families\navailable is returned in ",{"type":13,"tag":34,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":277},{"type":18,"value":333},".\nImplementations ",{"type":13,"tag":335,"props":336,"children":338},"normative",{"type":337},"must",[],{"type":18,"value":340}," support at least one queue family.\nOtherwise, ",{"type":13,"tag":34,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":277},{"type":18,"value":347}," ",{"type":13,"tag":335,"props":349,"children":350},{"type":337},[],{"type":18,"value":352}," point to a variable set by\nthe application to the number of elements in the\n",{"type":13,"tag":34,"props":354,"children":356},{"className":355},[],[357],{"type":18,"value":288},{"type":18,"value":359}," array, and on return the variable is\noverwritten with the number of structures actually written to\n",{"type":13,"tag":34,"props":361,"children":363},{"className":362},[],[364],{"type":18,"value":288},{"type":18,"value":366},".\nIf ",{"type":13,"tag":34,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":277},{"type":18,"value":373}," is less than the number of queue families\navailable, at most ",{"type":13,"tag":34,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":277},{"type":18,"value":380}," structures will be\nwritten.",{"type":13,"tag":382,"props":383,"children":385},"validity-group",{"name":384},"Valid Usage (Implicit)",[386,413,439],{"type":13,"tag":387,"props":388,"children":390},"validity-field",{"name":389},"VUID-vkGetPhysicalDeviceQueueFamilyProperties-physicalDevice-parameter",[391],{"type":13,"tag":14,"props":392,"children":393},{},[394,399,400,403,405,411],{"type":13,"tag":34,"props":395,"children":397},{"className":396},[],[398],{"type":18,"value":75},{"type":18,"value":347},{"type":13,"tag":335,"props":401,"children":402},{"type":337},[],{"type":18,"value":404}," be a valid ",{"type":13,"tag":300,"props":406,"children":408},{"href":407},"/man/VkPhysicalDevice",[409],{"type":18,"value":410},"VkPhysicalDevice",{"type":18,"value":412}," handle",{"type":13,"tag":387,"props":414,"children":416},{"name":415},"VUID-vkGetPhysicalDeviceQueueFamilyProperties-pQueueFamilyPropertyCount-parameter",[417],{"type":13,"tag":14,"props":418,"children":419},{},[420,425,426,429,431,437],{"type":13,"tag":34,"props":421,"children":423},{"className":422},[],[424],{"type":18,"value":277},{"type":18,"value":347},{"type":13,"tag":335,"props":427,"children":428},{"type":337},[],{"type":18,"value":430}," be a valid pointer to a ",{"type":13,"tag":34,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":436},"uint32_t",{"type":18,"value":438}," value",{"type":13,"tag":387,"props":440,"children":442},{"name":441},"VUID-vkGetPhysicalDeviceQueueFamilyProperties-pQueueFamilyProperties-parameter",[443],{"type":13,"tag":14,"props":444,"children":445},{},[446,448,453,455,461,463,468,469,474,476,481,482,485,487,492,493,497],{"type":18,"value":447},"If the value referenced by ",{"type":13,"tag":34,"props":449,"children":451},{"className":450},[],[452],{"type":18,"value":277},{"type":18,"value":454}," is not ",{"type":13,"tag":34,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"0",{"type":18,"value":462},", and ",{"type":13,"tag":34,"props":464,"children":466},{"className":465},[],[467],{"type":18,"value":288},{"type":18,"value":454},{"type":13,"tag":34,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":296},{"type":18,"value":475},", ",{"type":13,"tag":34,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":288},{"type":18,"value":347},{"type":13,"tag":335,"props":483,"children":484},{"type":337},[],{"type":18,"value":486}," be a valid pointer to an array of ",{"type":13,"tag":34,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":277},{"type":18,"value":347},{"type":13,"tag":300,"props":494,"children":495},{"href":302},[496],{"type":18,"value":305},{"type":18,"value":498}," structures",{"type":13,"tag":500,"props":501,"children":502},"style",{},[503],{"type":18,"value":504},"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":506},[],"markdown",1729612517242]