[{"data":1,"prerenderedAt":683},["ShallowReactive",2],{"AWnxhmbObD":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":682,"_id":4},"vkGetPrivateData","Retrieve data associated with a Vulkan object","VK_VERSION_1_3","protos",[],{"type":10,"children":11,"toc":680},"root",[12,20,349,446,489,551,674],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17],{"type":18,"value":19},"text","To retrieve application-defined data from a slot associated with a Vulkan\nobject, call:",{"type":13,"tag":21,"props":22,"children":23},"code-group",{},[24,154],{"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 vkGetPrivateDataEXT(\n VkDevice device,\n VkObjectType objectType,\n uint64_t objectHandle,\n VkPrivateDataSlot privateDataSlot,\n uint64_t* pData);\n","C","c","",[33],{"type":13,"tag":34,"props":35,"children":36},"code",{"__ignoreMap":31},[37,61,81,99,117,135],{"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}," vkGetPrivateDataEXT",{"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}," VkDevice ",{"type":13,"tag":38,"props":71,"children":73},{"style":72},"--shiki-default:#953800;--shiki-dark:#FFA657",[74],{"type":18,"value":75},"device",{"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}," VkObjectType ",{"type":13,"tag":38,"props":91,"children":92},{"style":72},[93],{"type":18,"value":94},"objectType",{"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],{"type":13,"tag":38,"props":104,"children":105},{"style":45},[106],{"type":18,"value":107}," uint64_t",{"type":13,"tag":38,"props":109,"children":110},{"style":72},[111],{"type":18,"value":112}," objectHandle",{"type":13,"tag":38,"props":114,"children":115},{"style":57},[116],{"type":18,"value":80},{"type":13,"tag":38,"props":118,"children":120},{"class":40,"line":119},5,[121,126,131],{"type":13,"tag":38,"props":122,"children":123},{"style":57},[124],{"type":18,"value":125}," VkPrivateDataSlot ",{"type":13,"tag":38,"props":127,"children":128},{"style":72},[129],{"type":18,"value":130},"privateDataSlot",{"type":13,"tag":38,"props":132,"children":133},{"style":57},[134],{"type":18,"value":80},{"type":13,"tag":38,"props":136,"children":138},{"class":40,"line":137},6,[139,144,149],{"type":13,"tag":38,"props":140,"children":141},{"style":45},[142],{"type":18,"value":143}," uint64_t*",{"type":13,"tag":38,"props":145,"children":146},{"style":72},[147],{"type":18,"value":148}," pData",{"type":13,"tag":38,"props":150,"children":151},{"style":57},[152],{"type":18,"value":153},");\n",{"type":13,"tag":25,"props":155,"children":160},{"className":156,"code":157,"filename":158,"language":159,"meta":31,"style":31},"language-rs shiki shiki-themes github-light-default github-dark-default","pub fn get_private_data_ext(\n device: crate :: vk :: vk::Device,\n object_type: vk::ObjectType,\n object_handle: u64,\n private_data_slot: vk::PrivateDataSlot,\n p_data: *mut u64,\n);\n","Rust","rs",[161],{"type":13,"tag":34,"props":162,"children":163},{"__ignoreMap":31},[164,186,237,266,287,316,341],{"type":13,"tag":38,"props":165,"children":166},{"class":40,"line":41},[167,172,177,182],{"type":13,"tag":38,"props":168,"children":169},{"style":45},[170],{"type":18,"value":171},"pub",{"type":13,"tag":38,"props":173,"children":174},{"style":45},[175],{"type":18,"value":176}," fn",{"type":13,"tag":38,"props":178,"children":179},{"style":51},[180],{"type":18,"value":181}," get_private_data_ext",{"type":13,"tag":38,"props":183,"children":184},{"style":57},[185],{"type":18,"value":60},{"type":13,"tag":38,"props":187,"children":188},{"class":40,"line":63},[189,194,199,204,209,214,219,224,228,233],{"type":13,"tag":38,"props":190,"children":191},{"style":57},[192],{"type":18,"value":193}," device",{"type":13,"tag":38,"props":195,"children":196},{"style":45},[197],{"type":18,"value":198},":",{"type":13,"tag":38,"props":200,"children":201},{"style":45},[202],{"type":18,"value":203}," crate",{"type":13,"tag":38,"props":205,"children":206},{"style":45},[207],{"type":18,"value":208}," ::",{"type":13,"tag":38,"props":210,"children":211},{"style":57},[212],{"type":18,"value":213}," vk ",{"type":13,"tag":38,"props":215,"children":216},{"style":45},[217],{"type":18,"value":218},"::",{"type":13,"tag":38,"props":220,"children":221},{"style":72},[222],{"type":18,"value":223}," vk",{"type":13,"tag":38,"props":225,"children":226},{"style":45},[227],{"type":18,"value":218},{"type":13,"tag":38,"props":229,"children":230},{"style":72},[231],{"type":18,"value":232},"Device",{"type":13,"tag":38,"props":234,"children":235},{"style":57},[236],{"type":18,"value":80},{"type":13,"tag":38,"props":238,"children":239},{"class":40,"line":83},[240,245,249,253,257,262],{"type":13,"tag":38,"props":241,"children":242},{"style":57},[243],{"type":18,"value":244}," object_type",{"type":13,"tag":38,"props":246,"children":247},{"style":45},[248],{"type":18,"value":198},{"type":13,"tag":38,"props":250,"children":251},{"style":72},[252],{"type":18,"value":223},{"type":13,"tag":38,"props":254,"children":255},{"style":45},[256],{"type":18,"value":218},{"type":13,"tag":38,"props":258,"children":259},{"style":72},[260],{"type":18,"value":261},"ObjectType",{"type":13,"tag":38,"props":263,"children":264},{"style":57},[265],{"type":18,"value":80},{"type":13,"tag":38,"props":267,"children":268},{"class":40,"line":101},[269,274,278,283],{"type":13,"tag":38,"props":270,"children":271},{"style":57},[272],{"type":18,"value":273}," object_handle",{"type":13,"tag":38,"props":275,"children":276},{"style":45},[277],{"type":18,"value":198},{"type":13,"tag":38,"props":279,"children":280},{"style":72},[281],{"type":18,"value":282}," u64",{"type":13,"tag":38,"props":284,"children":285},{"style":57},[286],{"type":18,"value":80},{"type":13,"tag":38,"props":288,"children":289},{"class":40,"line":119},[290,295,299,303,307,312],{"type":13,"tag":38,"props":291,"children":292},{"style":57},[293],{"type":18,"value":294}," private_data_slot",{"type":13,"tag":38,"props":296,"children":297},{"style":45},[298],{"type":18,"value":198},{"type":13,"tag":38,"props":300,"children":301},{"style":72},[302],{"type":18,"value":223},{"type":13,"tag":38,"props":304,"children":305},{"style":45},[306],{"type":18,"value":218},{"type":13,"tag":38,"props":308,"children":309},{"style":72},[310],{"type":18,"value":311},"PrivateDataSlot",{"type":13,"tag":38,"props":313,"children":314},{"style":57},[315],{"type":18,"value":80},{"type":13,"tag":38,"props":317,"children":318},{"class":40,"line":137},[319,324,328,333,337],{"type":13,"tag":38,"props":320,"children":321},{"style":57},[322],{"type":18,"value":323}," p_data",{"type":13,"tag":38,"props":325,"children":326},{"style":45},[327],{"type":18,"value":198},{"type":13,"tag":38,"props":329,"children":330},{"style":45},[331],{"type":18,"value":332}," *mut",{"type":13,"tag":38,"props":334,"children":335},{"style":72},[336],{"type":18,"value":282},{"type":13,"tag":38,"props":338,"children":339},{"style":57},[340],{"type":18,"value":80},{"type":13,"tag":38,"props":342,"children":344},{"class":40,"line":343},7,[345],{"type":13,"tag":38,"props":346,"children":347},{"style":57},[348],{"type":18,"value":153},{"type":13,"tag":350,"props":351,"children":352},"ul",{},[353,364,383,394,412],{"type":13,"tag":354,"props":355,"children":356},"li",{},[357,362],{"type":13,"tag":34,"props":358,"children":360},{"className":359},[],[361],{"type":18,"value":75},{"type":18,"value":363}," is the device that created the object",{"type":13,"tag":354,"props":365,"children":366},{},[367,372,374,381],{"type":13,"tag":34,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":94},{"type":18,"value":373}," is a ",{"type":13,"tag":375,"props":376,"children":378},"a",{"href":377},"/man/VkObjectType",[379],{"type":18,"value":380},"VkObjectType",{"type":18,"value":382}," specifying the type of object\ndata is associated with.",{"type":13,"tag":354,"props":384,"children":385},{},[386,392],{"type":13,"tag":34,"props":387,"children":389},{"className":388},[],[390],{"type":18,"value":391},"objectHandle",{"type":18,"value":393}," is a handle to the object data is associated with.",{"type":13,"tag":354,"props":395,"children":396},{},[397,402,404,410],{"type":13,"tag":34,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":130},{"type":18,"value":403}," is a handle to a ",{"type":13,"tag":375,"props":405,"children":407},{"href":406},"/man/VkPrivateDataSlot",[408],{"type":18,"value":409},"VkPrivateDataSlot",{"type":18,"value":411},"\nspecifying location of private data pointer storage.",{"type":13,"tag":354,"props":413,"children":414},{},[415,421,423,429,431,437,439,444],{"type":13,"tag":34,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":420},"pData",{"type":18,"value":422}," is a pointer to specify where application-defined data is\nreturned.\n",{"type":13,"tag":34,"props":424,"children":426},{"className":425},[],[427],{"type":18,"value":428},"0",{"type":18,"value":430}," will be written in the absence of a previous call to\n",{"type":13,"tag":34,"props":432,"children":434},{"className":433},[],[435],{"type":18,"value":436},"vkSetPrivateData",{"type":18,"value":438}," using the object specified by ",{"type":13,"tag":34,"props":440,"children":442},{"className":441},[],[443],{"type":18,"value":391},{"type":18,"value":445},".",{"type":13,"tag":447,"props":448,"children":449},"note",{},[450],{"type":13,"tag":14,"props":451,"children":452},{},[453,455,460,462,467,469,475,477,482,484,488],{"type":18,"value":454},"Due to platform details on Android, implementations might not be able to\nreliably return ",{"type":13,"tag":34,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":428},{"type":18,"value":461}," from calls to ",{"type":13,"tag":34,"props":463,"children":465},{"className":464},[],[466],{"type":18,"value":4},{"type":18,"value":468}," for\n",{"type":13,"tag":375,"props":470,"children":472},{"href":471},"/man/VkSwapchainKHR",[473],{"type":18,"value":474},"VkSwapchainKHR",{"type":18,"value":476}," objects on which ",{"type":13,"tag":34,"props":478,"children":480},{"className":479},[],[481],{"type":18,"value":436},{"type":18,"value":483}," has not\npreviously been called.\nThis erratum is exclusive to the Android platform and objects of type\n",{"type":13,"tag":375,"props":485,"children":486},{"href":471},[487],{"type":18,"value":474},{"type":18,"value":445},{"type":13,"tag":490,"props":491,"children":493},"validity-group",{"name":492},"Valid Usage",[494,528],{"type":13,"tag":495,"props":496,"children":498},"validity-field",{"name":497},"VUID-vkGetPrivateData-objectType-04018",[499],{"type":13,"tag":14,"props":500,"children":501},{},[502,507,509,514,516,521,523],{"type":13,"tag":34,"props":503,"children":505},{"className":504},[],[506],{"type":18,"value":391},{"type":18,"value":508}," ",{"type":13,"tag":510,"props":511,"children":513},"normative",{"type":512},"must",[],{"type":18,"value":515}," be ",{"type":13,"tag":34,"props":517,"children":519},{"className":518},[],[520],{"type":18,"value":75},{"type":18,"value":522}," or a child of ",{"type":13,"tag":34,"props":524,"children":526},{"className":525},[],[527],{"type":18,"value":75},{"type":13,"tag":495,"props":529,"children":531},{"name":530},"VUID-vkGetPrivateData-objectHandle-09498",[532],{"type":13,"tag":14,"props":533,"children":534},{},[535,540,541,544,546],{"type":13,"tag":34,"props":536,"children":538},{"className":537},[],[539],{"type":18,"value":391},{"type":18,"value":508},{"type":13,"tag":510,"props":542,"children":543},{"type":512},[],{"type":18,"value":545}," be a valid handle to an object of type\n",{"type":13,"tag":34,"props":547,"children":549},{"className":548},[],[550],{"type":18,"value":94},{"type":13,"tag":490,"props":552,"children":554},{"name":553},"Valid Usage (Implicit)",[555,581,604,626,651],{"type":13,"tag":495,"props":556,"children":558},{"name":557},"VUID-vkGetPrivateData-device-parameter",[559],{"type":13,"tag":14,"props":560,"children":561},{},[562,567,568,571,573,579],{"type":13,"tag":34,"props":563,"children":565},{"className":564},[],[566],{"type":18,"value":75},{"type":18,"value":508},{"type":13,"tag":510,"props":569,"children":570},{"type":512},[],{"type":18,"value":572}," be a valid ",{"type":13,"tag":375,"props":574,"children":576},{"href":575},"/man/VkDevice",[577],{"type":18,"value":578},"VkDevice",{"type":18,"value":580}," handle",{"type":13,"tag":495,"props":582,"children":584},{"name":583},"VUID-vkGetPrivateData-objectType-parameter",[585],{"type":13,"tag":14,"props":586,"children":587},{},[588,593,594,597,598,602],{"type":13,"tag":34,"props":589,"children":591},{"className":590},[],[592],{"type":18,"value":94},{"type":18,"value":508},{"type":13,"tag":510,"props":595,"children":596},{"type":512},[],{"type":18,"value":572},{"type":13,"tag":375,"props":599,"children":600},{"href":377},[601],{"type":18,"value":380},{"type":18,"value":603}," value",{"type":13,"tag":495,"props":605,"children":607},{"name":606},"VUID-vkGetPrivateData-privateDataSlot-parameter",[608],{"type":13,"tag":14,"props":609,"children":610},{},[611,616,617,620,621,625],{"type":13,"tag":34,"props":612,"children":614},{"className":613},[],[615],{"type":18,"value":130},{"type":18,"value":508},{"type":13,"tag":510,"props":618,"children":619},{"type":512},[],{"type":18,"value":572},{"type":13,"tag":375,"props":622,"children":623},{"href":406},[624],{"type":18,"value":409},{"type":18,"value":580},{"type":13,"tag":495,"props":627,"children":629},{"name":628},"VUID-vkGetPrivateData-pData-parameter",[630],{"type":13,"tag":14,"props":631,"children":632},{},[633,638,639,642,644,650],{"type":13,"tag":34,"props":634,"children":636},{"className":635},[],[637],{"type":18,"value":420},{"type":18,"value":508},{"type":13,"tag":510,"props":640,"children":641},{"type":512},[],{"type":18,"value":643}," be a valid pointer to a ",{"type":13,"tag":34,"props":645,"children":647},{"className":646},[],[648],{"type":18,"value":649},"uint64_t",{"type":18,"value":603},{"type":13,"tag":495,"props":652,"children":654},{"name":653},"VUID-vkGetPrivateData-privateDataSlot-parent",[655],{"type":13,"tag":14,"props":656,"children":657},{},[658,663,664,667,669],{"type":13,"tag":34,"props":659,"children":661},{"className":660},[],[662],{"type":18,"value":130},{"type":18,"value":508},{"type":13,"tag":510,"props":665,"children":666},{"type":512},[],{"type":18,"value":668}," have been created, allocated, or retrieved from ",{"type":13,"tag":34,"props":670,"children":672},{"className":671},[],[673],{"type":18,"value":75},{"type":13,"tag":675,"props":676,"children":677},"style",{},[678],{"type":18,"value":679},"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":681},[],"markdown",1725732621288]