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