[{"data":1,"prerenderedAt":690},["ShallowReactive",2],{"dApHz4WpV7":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":689,"_id":4},"VkPipelineCacheCreateInfo","Structure specifying parameters of a newly created pipeline cache","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":687},"root",[12,28,323,436,569,681],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The ",{"type":13,"tag":21,"props":22,"children":24},"code",{"className":23},[],[25],{"type":18,"value":4},{"type":18,"value":27}," structure is defined as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,144],{"type":13,"tag":33,"props":34,"children":40},"pre",{"className":35,"code":36,"filename":37,"language":38,"meta":39,"style":39},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPipelineCacheCreateInfo {\n VkStructureType sType;\n const void* pNext;\n VkPipelineCacheCreateFlags flags;\n size_t initialDataSize;\n const void* pInitialData;\n} VkPipelineCacheCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,118,135],{"type":13,"tag":45,"props":46,"children":49},"span",{"class":47,"line":48},"line",1,[50,56,61],{"type":13,"tag":45,"props":51,"children":53},{"style":52},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[54],{"type":18,"value":55},"typedef",{"type":13,"tag":45,"props":57,"children":58},{"style":52},[59],{"type":18,"value":60}," struct",{"type":13,"tag":45,"props":62,"children":64},{"style":63},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[65],{"type":18,"value":66}," VkPipelineCacheCreateInfo {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkPipelineCacheCreateFlags flags;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," size_t",{"type":13,"tag":45,"props":114,"children":115},{"style":63},[116],{"type":18,"value":117}," initialDataSize;\n",{"type":13,"tag":45,"props":119,"children":121},{"class":47,"line":120},6,[122,126,130],{"type":13,"tag":45,"props":123,"children":124},{"style":52},[125],{"type":18,"value":84},{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":89},{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," pInitialData;\n",{"type":13,"tag":45,"props":136,"children":138},{"class":47,"line":137},7,[139],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143},"} VkPipelineCacheCreateInfo;\n",{"type":13,"tag":33,"props":145,"children":150},{"className":146,"code":147,"filename":148,"language":149,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineCacheCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n flags: vk::PipelineCacheCreateFlags,\n initial_data_size: usize, // Size of initial data to populate cache, in bytes\n p_initial_data: *const c_void, // Initial data to populate cache\n}\n","Rust","rs",[151],{"type":13,"tag":21,"props":152,"children":153},{"__ignoreMap":39},[154,177,210,232,261,289,315],{"type":13,"tag":45,"props":155,"children":156},{"class":47,"line":48},[157,162,166,172],{"type":13,"tag":45,"props":158,"children":159},{"style":52},[160],{"type":18,"value":161},"pub",{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":60},{"type":13,"tag":45,"props":167,"children":169},{"style":168},"--shiki-default:#953800;--shiki-dark:#FFA657",[170],{"type":18,"value":171}," PipelineCacheCreateInfo",{"type":13,"tag":45,"props":173,"children":174},{"style":63},[175],{"type":18,"value":176}," {\n",{"type":13,"tag":45,"props":178,"children":179},{"class":47,"line":69},[180,185,190,195,200,205],{"type":13,"tag":45,"props":181,"children":182},{"style":63},[183],{"type":18,"value":184}," s_type",{"type":13,"tag":45,"props":186,"children":187},{"style":52},[188],{"type":18,"value":189},":",{"type":13,"tag":45,"props":191,"children":192},{"style":168},[193],{"type":18,"value":194}," vk",{"type":13,"tag":45,"props":196,"children":197},{"style":52},[198],{"type":18,"value":199},"::",{"type":13,"tag":45,"props":201,"children":202},{"style":168},[203],{"type":18,"value":204},"StructureType",{"type":13,"tag":45,"props":206,"children":207},{"style":63},[208],{"type":18,"value":209},",\n",{"type":13,"tag":45,"props":211,"children":212},{"class":47,"line":78},[213,218,222,227],{"type":13,"tag":45,"props":214,"children":215},{"style":63},[216],{"type":18,"value":217}," p_next",{"type":13,"tag":45,"props":219,"children":220},{"style":52},[221],{"type":18,"value":189},{"type":13,"tag":45,"props":223,"children":224},{"style":52},[225],{"type":18,"value":226}," *const",{"type":13,"tag":45,"props":228,"children":229},{"style":63},[230],{"type":18,"value":231}," c_void,\n",{"type":13,"tag":45,"props":233,"children":234},{"class":47,"line":97},[235,240,244,248,252,257],{"type":13,"tag":45,"props":236,"children":237},{"style":63},[238],{"type":18,"value":239}," flags",{"type":13,"tag":45,"props":241,"children":242},{"style":52},[243],{"type":18,"value":189},{"type":13,"tag":45,"props":245,"children":246},{"style":168},[247],{"type":18,"value":194},{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":199},{"type":13,"tag":45,"props":253,"children":254},{"style":168},[255],{"type":18,"value":256},"PipelineCacheCreateFlags",{"type":13,"tag":45,"props":258,"children":259},{"style":63},[260],{"type":18,"value":209},{"type":13,"tag":45,"props":262,"children":263},{"class":47,"line":106},[264,269,273,278,283],{"type":13,"tag":45,"props":265,"children":266},{"style":63},[267],{"type":18,"value":268}," initial_data_size",{"type":13,"tag":45,"props":270,"children":271},{"style":52},[272],{"type":18,"value":189},{"type":13,"tag":45,"props":274,"children":275},{"style":168},[276],{"type":18,"value":277}," usize",{"type":13,"tag":45,"props":279,"children":280},{"style":63},[281],{"type":18,"value":282},", ",{"type":13,"tag":45,"props":284,"children":286},{"style":285},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[287],{"type":18,"value":288},"// Size of initial data to populate cache, in bytes\n",{"type":13,"tag":45,"props":290,"children":291},{"class":47,"line":120},[292,297,301,305,310],{"type":13,"tag":45,"props":293,"children":294},{"style":63},[295],{"type":18,"value":296}," p_initial_data",{"type":13,"tag":45,"props":298,"children":299},{"style":52},[300],{"type":18,"value":189},{"type":13,"tag":45,"props":302,"children":303},{"style":52},[304],{"type":18,"value":226},{"type":13,"tag":45,"props":306,"children":307},{"style":63},[308],{"type":18,"value":309}," c_void, ",{"type":13,"tag":45,"props":311,"children":312},{"style":285},[313],{"type":18,"value":314},"// Initial data to populate cache\n",{"type":13,"tag":45,"props":316,"children":317},{"class":47,"line":137},[318],{"type":13,"tag":45,"props":319,"children":320},{"style":63},[321],{"type":18,"value":322},"}\n",{"type":13,"tag":324,"props":325,"children":326},"ul",{},[327,348,367,386,412],{"type":13,"tag":328,"props":329,"children":330},"li",{},[331,337,339,346],{"type":13,"tag":21,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":336},"sType",{"type":18,"value":338}," is a ",{"type":13,"tag":340,"props":341,"children":343},"a",{"href":342},"/man/VkStructureType",[344],{"type":18,"value":345},"VkStructureType",{"type":18,"value":347}," value identifying this structure.",{"type":13,"tag":328,"props":349,"children":350},{},[351,357,359,365],{"type":13,"tag":21,"props":352,"children":354},{"className":353},[],[355],{"type":18,"value":356},"pNext",{"type":18,"value":358}," is ",{"type":13,"tag":21,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"NULL",{"type":18,"value":366}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":328,"props":368,"children":369},{},[370,376,378,384],{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":375},"flags",{"type":18,"value":377}," is a bitmask of ",{"type":13,"tag":340,"props":379,"children":381},{"href":380},"/man/VkPipelineCacheCreateFlagBits",[382],{"type":18,"value":383},"VkPipelineCacheCreateFlagBits",{"type":18,"value":385},"\nspecifying the behavior of the pipeline cache.",{"type":13,"tag":328,"props":387,"children":388},{},[389,395,397,403,405,410],{"type":13,"tag":21,"props":390,"children":392},{"className":391},[],[393],{"type":18,"value":394},"initialDataSize",{"type":18,"value":396}," is the number of bytes in ",{"type":13,"tag":21,"props":398,"children":400},{"className":399},[],[401],{"type":18,"value":402},"pInitialData",{"type":18,"value":404},".\nIf ",{"type":13,"tag":21,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":394},{"type":18,"value":411}," is zero, the pipeline cache will initially be\nempty.",{"type":13,"tag":328,"props":413,"children":414},{},[415,420,422,427,429,434],{"type":13,"tag":21,"props":416,"children":418},{"className":417},[],[419],{"type":18,"value":402},{"type":18,"value":421}," is a pointer to previously retrieved pipeline cache\ndata.\nIf the pipeline cache data is incompatible (as defined below) with the\ndevice, the pipeline cache will be initially empty.\nIf ",{"type":13,"tag":21,"props":423,"children":425},{"className":424},[],[426],{"type":18,"value":394},{"type":18,"value":428}," is zero, ",{"type":13,"tag":21,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":402},{"type":18,"value":435}," is ignored.",{"type":13,"tag":437,"props":438,"children":440},"validity-group",{"name":439},"Valid Usage",[441,495,532],{"type":13,"tag":442,"props":443,"children":445},"validity-field",{"name":444},"VUID-VkPipelineCacheCreateInfo-initialDataSize-00768",[446],{"type":13,"tag":14,"props":447,"children":448},{},[449,451,456,458,464,466,471,473,478,480,486,488,493],{"type":18,"value":450},"If ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":394},{"type":18,"value":457}," is not ",{"type":13,"tag":21,"props":459,"children":461},{"className":460},[],[462],{"type":18,"value":463},"0",{"type":18,"value":465},", it ",{"type":13,"tag":467,"props":468,"children":470},"normative",{"type":469},"must",[],{"type":18,"value":472}," be equal to the size of\n",{"type":13,"tag":21,"props":474,"children":476},{"className":475},[],[477],{"type":18,"value":402},{"type":18,"value":479},", as returned by ",{"type":13,"tag":21,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":485},"vkGetPipelineCacheData",{"type":18,"value":487}," when\n",{"type":13,"tag":21,"props":489,"children":491},{"className":490},[],[492],{"type":18,"value":402},{"type":18,"value":494}," was originally retrieved",{"type":13,"tag":442,"props":496,"children":498},{"name":497},"VUID-VkPipelineCacheCreateInfo-initialDataSize-00769",[499],{"type":13,"tag":14,"props":500,"children":501},{},[502,503,508,509,514,515,520,522,525,527],{"type":18,"value":450},{"type":13,"tag":21,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":394},{"type":18,"value":457},{"type":13,"tag":21,"props":510,"children":512},{"className":511},[],[513],{"type":18,"value":463},{"type":18,"value":282},{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":402},{"type":18,"value":521}," ",{"type":13,"tag":467,"props":523,"children":524},{"type":469},[],{"type":18,"value":526}," have been\nretrieved from a previous call to ",{"type":13,"tag":21,"props":528,"children":530},{"className":529},[],[531],{"type":18,"value":485},{"type":13,"tag":442,"props":533,"children":535},{"name":534},"VUID-VkPipelineCacheCreateInfo-pipelineCreationCacheControl-02892",[536],{"type":13,"tag":14,"props":537,"children":538},{},[539,541,551,553,558,561,563],{"type":18,"value":540},"If the ",{"type":13,"tag":340,"props":542,"children":544},{"href":543},"/man/VkPhysicalDevicePipelineCreationCacheControlFeatures#features-pipelineCreationCacheControl",[545],{"type":13,"tag":21,"props":546,"children":548},{"className":547},[],[549],{"type":18,"value":550},"pipelineCreationCacheControl",{"type":18,"value":552}," feature is not enabled, ",{"type":13,"tag":21,"props":554,"children":556},{"className":555},[],[557],{"type":18,"value":375},{"type":13,"tag":467,"props":559,"children":560},{"type":469},[],{"type":18,"value":562}," not include\n",{"type":13,"tag":21,"props":564,"children":566},{"className":565},[],[567],{"type":18,"value":568},"VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT",{"type":13,"tag":437,"props":570,"children":572},{"name":571},"Valid Usage (Implicit)",[573,597,619,643],{"type":13,"tag":442,"props":574,"children":576},{"name":575},"VUID-VkPipelineCacheCreateInfo-sType-sType",[577],{"type":13,"tag":14,"props":578,"children":579},{},[580,585,586,589,591],{"type":13,"tag":21,"props":581,"children":583},{"className":582},[],[584],{"type":18,"value":336},{"type":18,"value":521},{"type":13,"tag":467,"props":587,"children":588},{"type":469},[],{"type":18,"value":590}," be ",{"type":13,"tag":21,"props":592,"children":594},{"className":593},[],[595],{"type":18,"value":596},"VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO",{"type":13,"tag":442,"props":598,"children":600},{"name":599},"VUID-VkPipelineCacheCreateInfo-pNext-pNext",[601],{"type":13,"tag":14,"props":602,"children":603},{},[604,609,610,613,614],{"type":13,"tag":21,"props":605,"children":607},{"className":606},[],[608],{"type":18,"value":356},{"type":18,"value":521},{"type":13,"tag":467,"props":611,"children":612},{"type":469},[],{"type":18,"value":590},{"type":13,"tag":21,"props":615,"children":617},{"className":616},[],[618],{"type":18,"value":364},{"type":13,"tag":442,"props":620,"children":622},{"name":621},"VUID-VkPipelineCacheCreateInfo-flags-parameter",[623],{"type":13,"tag":14,"props":624,"children":625},{},[626,631,632,635,637,641],{"type":13,"tag":21,"props":627,"children":629},{"className":628},[],[630],{"type":18,"value":375},{"type":18,"value":521},{"type":13,"tag":467,"props":633,"children":634},{"type":469},[],{"type":18,"value":636}," be a valid combination of ",{"type":13,"tag":340,"props":638,"children":639},{"href":380},[640],{"type":18,"value":383},{"type":18,"value":642}," values",{"type":13,"tag":442,"props":644,"children":646},{"name":645},"VUID-VkPipelineCacheCreateInfo-pInitialData-parameter",[647],{"type":13,"tag":14,"props":648,"children":649},{},[650,651,656,657,662,663,668,669,672,674,679],{"type":18,"value":450},{"type":13,"tag":21,"props":652,"children":654},{"className":653},[],[655],{"type":18,"value":394},{"type":18,"value":457},{"type":13,"tag":21,"props":658,"children":660},{"className":659},[],[661],{"type":18,"value":463},{"type":18,"value":282},{"type":13,"tag":21,"props":664,"children":666},{"className":665},[],[667],{"type":18,"value":402},{"type":18,"value":521},{"type":13,"tag":467,"props":670,"children":671},{"type":469},[],{"type":18,"value":673}," be a valid pointer to an array of ",{"type":13,"tag":21,"props":675,"children":677},{"className":676},[],[678],{"type":18,"value":394},{"type":18,"value":680}," bytes",{"type":13,"tag":682,"props":683,"children":684},"style",{},[685],{"type":18,"value":686},"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":39,"searchDepth":69,"depth":69,"links":688},[],"markdown",1725732577106]