[{"data":1,"prerenderedAt":521},["ShallowReactive",2],{"N5f4PLSlVl":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":520,"_id":4},"VkPipelineBinaryKeyKHR","Structure specifying a key to a pipeline binary","VK_KHR_pipeline_binary","structs",[],{"type":10,"children":11,"toc":518},"root",[12,28,292,365,398,424,442,459,512],{"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,133],{"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 VkPipelineBinaryKeyKHR {\n VkStructureType sType;\n void* pNext;\n uint32_t keySize;\n uint8_t key[VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR];\n} VkPipelineBinaryKeyKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,104,124],{"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}," VkPipelineBinaryKeyKHR {\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],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94,99],{"type":13,"tag":45,"props":95,"children":96},{"style":52},[97],{"type":18,"value":98}," uint32_t",{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," keySize;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108,113,119],{"type":13,"tag":45,"props":109,"children":110},{"style":52},[111],{"type":18,"value":112}," uint8_t",{"type":13,"tag":45,"props":114,"children":116},{"style":115},"--shiki-default:#953800;--shiki-dark:#FFA657",[117],{"type":18,"value":118}," key",{"type":13,"tag":45,"props":120,"children":121},{"style":63},[122],{"type":18,"value":123},"[VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR];\n",{"type":13,"tag":45,"props":125,"children":127},{"class":47,"line":126},6,[128],{"type":13,"tag":45,"props":129,"children":130},{"style":63},[131],{"type":18,"value":132},"} VkPipelineBinaryKeyKHR;\n",{"type":13,"tag":33,"props":134,"children":139},{"className":135,"code":136,"filename":137,"language":138,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineBinaryKeyKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n key_size: u32,\n key: *const [u8 ; MAX_PIPELINE_BINARY_KEY_SIZE_KHR],\n}\n","Rust","rs",[140],{"type":13,"tag":21,"props":141,"children":142},{"__ignoreMap":39},[143,165,198,220,241,284],{"type":13,"tag":45,"props":144,"children":145},{"class":47,"line":48},[146,151,155,160],{"type":13,"tag":45,"props":147,"children":148},{"style":52},[149],{"type":18,"value":150},"pub",{"type":13,"tag":45,"props":152,"children":153},{"style":52},[154],{"type":18,"value":60},{"type":13,"tag":45,"props":156,"children":157},{"style":115},[158],{"type":18,"value":159}," PipelineBinaryKeyKHR",{"type":13,"tag":45,"props":161,"children":162},{"style":63},[163],{"type":18,"value":164}," {\n",{"type":13,"tag":45,"props":166,"children":167},{"class":47,"line":69},[168,173,178,183,188,193],{"type":13,"tag":45,"props":169,"children":170},{"style":63},[171],{"type":18,"value":172}," s_type",{"type":13,"tag":45,"props":174,"children":175},{"style":52},[176],{"type":18,"value":177},":",{"type":13,"tag":45,"props":179,"children":180},{"style":115},[181],{"type":18,"value":182}," vk",{"type":13,"tag":45,"props":184,"children":185},{"style":52},[186],{"type":18,"value":187},"::",{"type":13,"tag":45,"props":189,"children":190},{"style":115},[191],{"type":18,"value":192},"StructureType",{"type":13,"tag":45,"props":194,"children":195},{"style":63},[196],{"type":18,"value":197},",\n",{"type":13,"tag":45,"props":199,"children":200},{"class":47,"line":78},[201,206,210,215],{"type":13,"tag":45,"props":202,"children":203},{"style":63},[204],{"type":18,"value":205}," p_next",{"type":13,"tag":45,"props":207,"children":208},{"style":52},[209],{"type":18,"value":177},{"type":13,"tag":45,"props":211,"children":212},{"style":52},[213],{"type":18,"value":214}," *mut",{"type":13,"tag":45,"props":216,"children":217},{"style":63},[218],{"type":18,"value":219}," c_void,\n",{"type":13,"tag":45,"props":221,"children":222},{"class":47,"line":92},[223,228,232,237],{"type":13,"tag":45,"props":224,"children":225},{"style":63},[226],{"type":18,"value":227}," key_size",{"type":13,"tag":45,"props":229,"children":230},{"style":52},[231],{"type":18,"value":177},{"type":13,"tag":45,"props":233,"children":234},{"style":115},[235],{"type":18,"value":236}," u32",{"type":13,"tag":45,"props":238,"children":239},{"style":63},[240],{"type":18,"value":197},{"type":13,"tag":45,"props":242,"children":243},{"class":47,"line":106},[244,249,253,258,263,268,273,279],{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248}," key",{"type":13,"tag":45,"props":250,"children":251},{"style":52},[252],{"type":18,"value":177},{"type":13,"tag":45,"props":254,"children":255},{"style":52},[256],{"type":18,"value":257}," *const",{"type":13,"tag":45,"props":259,"children":260},{"style":63},[261],{"type":18,"value":262}," [",{"type":13,"tag":45,"props":264,"children":265},{"style":115},[266],{"type":18,"value":267},"u8",{"type":13,"tag":45,"props":269,"children":270},{"style":63},[271],{"type":18,"value":272}," ; ",{"type":13,"tag":45,"props":274,"children":276},{"style":275},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[277],{"type":18,"value":278},"MAX_PIPELINE_BINARY_KEY_SIZE_KHR",{"type":13,"tag":45,"props":280,"children":281},{"style":63},[282],{"type":18,"value":283},"],\n",{"type":13,"tag":45,"props":285,"children":286},{"class":47,"line":126},[287],{"type":13,"tag":45,"props":288,"children":289},{"style":63},[290],{"type":18,"value":291},"}\n",{"type":13,"tag":293,"props":294,"children":295},"ul",{},[296,317,336,355],{"type":13,"tag":297,"props":298,"children":299},"li",{},[300,306,308,315],{"type":13,"tag":21,"props":301,"children":303},{"className":302},[],[304],{"type":18,"value":305},"sType",{"type":18,"value":307}," is a ",{"type":13,"tag":309,"props":310,"children":312},"a",{"href":311},"/man/VkStructureType",[313],{"type":18,"value":314},"VkStructureType",{"type":18,"value":316}," value identifying this structure.",{"type":13,"tag":297,"props":318,"children":319},{},[320,326,328,334],{"type":13,"tag":21,"props":321,"children":323},{"className":322},[],[324],{"type":18,"value":325},"pNext",{"type":18,"value":327}," is ",{"type":13,"tag":21,"props":329,"children":331},{"className":330},[],[332],{"type":18,"value":333},"NULL",{"type":18,"value":335}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":297,"props":337,"children":338},{},[339,345,347,353],{"type":13,"tag":21,"props":340,"children":342},{"className":341},[],[343],{"type":18,"value":344},"keySize",{"type":18,"value":346}," is the size, in bytes, of valid data returned in\n",{"type":13,"tag":21,"props":348,"children":350},{"className":349},[],[351],{"type":18,"value":352},"key",{"type":18,"value":354},".",{"type":13,"tag":297,"props":356,"children":357},{},[358,363],{"type":13,"tag":21,"props":359,"children":361},{"className":360},[],[362],{"type":18,"value":352},{"type":18,"value":364}," is a buffer of opaque data specifying a pipeline binary key.",{"type":13,"tag":14,"props":366,"children":367},{},[368,370,375,377,382,384,389,391,397],{"type":18,"value":369},"Any returned values beyond the first ",{"type":13,"tag":21,"props":371,"children":373},{"className":372},[],[374],{"type":18,"value":344},{"type":18,"value":376}," bytes are undefined:.\nImplementations ",{"type":13,"tag":378,"props":379,"children":381},"normative",{"type":380},"must",[],{"type":18,"value":383}," return a ",{"type":13,"tag":21,"props":385,"children":387},{"className":386},[],[388],{"type":18,"value":344},{"type":18,"value":390}," greater than 0, and\nless-or-equal to ",{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"VK_MAX_PIPELINE_BINARY_KEY_SIZE_KHR",{"type":18,"value":354},{"type":13,"tag":14,"props":399,"children":400},{},[401,403,408,410,415,417,422],{"type":18,"value":402},"Two keys are considered equal if ",{"type":13,"tag":21,"props":404,"children":406},{"className":405},[],[407],{"type":18,"value":344},{"type":18,"value":409}," is equal and the first\n",{"type":13,"tag":21,"props":411,"children":413},{"className":412},[],[414],{"type":18,"value":344},{"type":18,"value":416}," bytes of ",{"type":13,"tag":21,"props":418,"children":420},{"className":419},[],[421],{"type":18,"value":352},{"type":18,"value":423}," compare equal.",{"type":13,"tag":14,"props":425,"children":426},{},[427,429,433,435,440],{"type":18,"value":428},"Implementations ",{"type":13,"tag":378,"props":430,"children":432},{"type":431},"may",[],{"type":18,"value":434}," return a different ",{"type":13,"tag":21,"props":436,"children":438},{"className":437},[],[439],{"type":18,"value":344},{"type":18,"value":441}," for different\nbinaries.",{"type":13,"tag":14,"props":443,"children":444},{},[445,446,450,452,457],{"type":18,"value":428},{"type":13,"tag":378,"props":447,"children":449},{"type":448},"should",[],{"type":18,"value":451}," ensure that ",{"type":13,"tag":21,"props":453,"children":455},{"className":454},[],[456],{"type":18,"value":344},{"type":18,"value":458}," is large enough to\nuniquely identify a pipeline binary.",{"type":13,"tag":460,"props":461,"children":463},"validity-group",{"name":462},"Valid Usage (Implicit)",[464,490],{"type":13,"tag":465,"props":466,"children":468},"validity-field",{"name":467},"VUID-VkPipelineBinaryKeyKHR-sType-sType",[469],{"type":13,"tag":14,"props":470,"children":471},{},[472,477,479,482,484],{"type":13,"tag":21,"props":473,"children":475},{"className":474},[],[476],{"type":18,"value":305},{"type":18,"value":478}," ",{"type":13,"tag":378,"props":480,"children":481},{"type":380},[],{"type":18,"value":483}," be ",{"type":13,"tag":21,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"VK_STRUCTURE_TYPE_PIPELINE_BINARY_KEY_KHR",{"type":13,"tag":465,"props":491,"children":493},{"name":492},"VUID-VkPipelineBinaryKeyKHR-pNext-pNext",[494],{"type":13,"tag":14,"props":495,"children":496},{},[497,502,503,506,507],{"type":13,"tag":21,"props":498,"children":500},{"className":499},[],[501],{"type":18,"value":325},{"type":18,"value":478},{"type":13,"tag":378,"props":504,"children":505},{"type":380},[],{"type":18,"value":483},{"type":13,"tag":21,"props":508,"children":510},{"className":509},[],[511],{"type":18,"value":333},{"type":13,"tag":513,"props":514,"children":515},"style",{},[516],{"type":18,"value":517},"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":519},[],"markdown",1725732576816]