[{"data":1,"prerenderedAt":519},["ShallowReactive",2],{"$fhF9dHbZLXj8gRSuh8NlpLoWUxqSxvwoZ0CQ8XRf5rBI":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":518,"_id":4},"VkPhysicalDeviceRobustness2PropertiesKHR","Structure describing robust buffer access properties supported by an implementation","VK_KHR_robustness2",[8],"VkPhysicalDeviceProperties2","structs",[],{"type":12,"children":13,"toc":516},"root",[14,30,272,337,445,479,510],{"type":15,"tag":16,"props":17,"children":18},"element","p",{},[19,22,28],{"type":20,"value":21},"text","The ",{"type":15,"tag":23,"props":24,"children":26},"code",{"className":25},[],[27],{"type":20,"value":4},{"type":20,"value":29}," structure is defined as:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,119],{"type":15,"tag":35,"props":36,"children":42},"pre",{"className":37,"code":38,"filename":39,"language":40,"meta":41,"style":41},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceRobustness2PropertiesKHR {\n VkStructureType sType;\n void* pNext;\n VkDeviceSize robustStorageBufferAccessSizeAlignment;\n VkDeviceSize robustUniformBufferAccessSizeAlignment;\n} VkPhysicalDeviceRobustness2PropertiesKHR;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,78,92,101,110],{"type":15,"tag":47,"props":48,"children":51},"span",{"class":49,"line":50},"line",1,[52,58,63],{"type":15,"tag":47,"props":53,"children":55},{"style":54},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[56],{"type":20,"value":57},"typedef",{"type":15,"tag":47,"props":59,"children":60},{"style":54},[61],{"type":20,"value":62}," struct",{"type":15,"tag":47,"props":64,"children":66},{"style":65},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[67],{"type":20,"value":68}," VkPhysicalDeviceRobustness2PropertiesKHR {\n",{"type":15,"tag":47,"props":70,"children":72},{"class":49,"line":71},2,[73],{"type":15,"tag":47,"props":74,"children":75},{"style":65},[76],{"type":20,"value":77}," VkStructureType sType;\n",{"type":15,"tag":47,"props":79,"children":81},{"class":49,"line":80},3,[82,87],{"type":15,"tag":47,"props":83,"children":84},{"style":54},[85],{"type":20,"value":86}," void*",{"type":15,"tag":47,"props":88,"children":89},{"style":65},[90],{"type":20,"value":91}," pNext;\n",{"type":15,"tag":47,"props":93,"children":95},{"class":49,"line":94},4,[96],{"type":15,"tag":47,"props":97,"children":98},{"style":65},[99],{"type":20,"value":100}," VkDeviceSize robustStorageBufferAccessSizeAlignment;\n",{"type":15,"tag":47,"props":102,"children":104},{"class":49,"line":103},5,[105],{"type":15,"tag":47,"props":106,"children":107},{"style":65},[108],{"type":20,"value":109}," VkDeviceSize robustUniformBufferAccessSizeAlignment;\n",{"type":15,"tag":47,"props":111,"children":113},{"class":49,"line":112},6,[114],{"type":15,"tag":47,"props":115,"children":116},{"style":65},[117],{"type":20,"value":118},"} VkPhysicalDeviceRobustness2PropertiesKHR;\n",{"type":15,"tag":35,"props":120,"children":125},{"className":121,"code":122,"filename":123,"language":124,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceRobustness2PropertiesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n robust_storage_buffer_access_size_alignment: vk::DeviceSize,\n robust_uniform_buffer_access_size_alignment: vk::DeviceSize,\n}\n","Rust","rs",[126],{"type":15,"tag":23,"props":127,"children":128},{"__ignoreMap":41},[129,152,185,207,236,264],{"type":15,"tag":47,"props":130,"children":131},{"class":49,"line":50},[132,137,141,147],{"type":15,"tag":47,"props":133,"children":134},{"style":54},[135],{"type":20,"value":136},"pub",{"type":15,"tag":47,"props":138,"children":139},{"style":54},[140],{"type":20,"value":62},{"type":15,"tag":47,"props":142,"children":144},{"style":143},"--shiki-default:#953800;--shiki-dark:#FFA657",[145],{"type":20,"value":146}," PhysicalDeviceRobustness2PropertiesKHR",{"type":15,"tag":47,"props":148,"children":149},{"style":65},[150],{"type":20,"value":151}," {\n",{"type":15,"tag":47,"props":153,"children":154},{"class":49,"line":71},[155,160,165,170,175,180],{"type":15,"tag":47,"props":156,"children":157},{"style":65},[158],{"type":20,"value":159}," s_type",{"type":15,"tag":47,"props":161,"children":162},{"style":54},[163],{"type":20,"value":164},":",{"type":15,"tag":47,"props":166,"children":167},{"style":143},[168],{"type":20,"value":169}," vk",{"type":15,"tag":47,"props":171,"children":172},{"style":54},[173],{"type":20,"value":174},"::",{"type":15,"tag":47,"props":176,"children":177},{"style":143},[178],{"type":20,"value":179},"StructureType",{"type":15,"tag":47,"props":181,"children":182},{"style":65},[183],{"type":20,"value":184},",\n",{"type":15,"tag":47,"props":186,"children":187},{"class":49,"line":80},[188,193,197,202],{"type":15,"tag":47,"props":189,"children":190},{"style":65},[191],{"type":20,"value":192}," p_next",{"type":15,"tag":47,"props":194,"children":195},{"style":54},[196],{"type":20,"value":164},{"type":15,"tag":47,"props":198,"children":199},{"style":54},[200],{"type":20,"value":201}," *mut",{"type":15,"tag":47,"props":203,"children":204},{"style":65},[205],{"type":20,"value":206}," c_void,\n",{"type":15,"tag":47,"props":208,"children":209},{"class":49,"line":94},[210,215,219,223,227,232],{"type":15,"tag":47,"props":211,"children":212},{"style":65},[213],{"type":20,"value":214}," robust_storage_buffer_access_size_alignment",{"type":15,"tag":47,"props":216,"children":217},{"style":54},[218],{"type":20,"value":164},{"type":15,"tag":47,"props":220,"children":221},{"style":143},[222],{"type":20,"value":169},{"type":15,"tag":47,"props":224,"children":225},{"style":54},[226],{"type":20,"value":174},{"type":15,"tag":47,"props":228,"children":229},{"style":143},[230],{"type":20,"value":231},"DeviceSize",{"type":15,"tag":47,"props":233,"children":234},{"style":65},[235],{"type":20,"value":184},{"type":15,"tag":47,"props":237,"children":238},{"class":49,"line":103},[239,244,248,252,256,260],{"type":15,"tag":47,"props":240,"children":241},{"style":65},[242],{"type":20,"value":243}," robust_uniform_buffer_access_size_alignment",{"type":15,"tag":47,"props":245,"children":246},{"style":54},[247],{"type":20,"value":164},{"type":15,"tag":47,"props":249,"children":250},{"style":143},[251],{"type":20,"value":169},{"type":15,"tag":47,"props":253,"children":254},{"style":54},[255],{"type":20,"value":174},{"type":15,"tag":47,"props":257,"children":258},{"style":143},[259],{"type":20,"value":231},{"type":15,"tag":47,"props":261,"children":262},{"style":65},[263],{"type":20,"value":184},{"type":15,"tag":47,"props":265,"children":266},{"class":49,"line":112},[267],{"type":15,"tag":47,"props":268,"children":269},{"style":65},[270],{"type":20,"value":271},"}\n",{"type":15,"tag":31,"props":273,"children":274},{},[275,294],{"type":15,"tag":35,"props":276,"children":278},{"className":37,"code":277,"filename":39,"language":40,"meta":41,"style":41},"typedef VkPhysicalDeviceRobustness2PropertiesKHR VkPhysicalDeviceRobustness2PropertiesEXT;\n",[279],{"type":15,"tag":23,"props":280,"children":281},{"__ignoreMap":41},[282],{"type":15,"tag":47,"props":283,"children":284},{"class":49,"line":50},[285,289],{"type":15,"tag":47,"props":286,"children":287},{"style":54},[288],{"type":20,"value":57},{"type":15,"tag":47,"props":290,"children":291},{"style":65},[292],{"type":20,"value":293}," VkPhysicalDeviceRobustness2PropertiesKHR VkPhysicalDeviceRobustness2PropertiesEXT;\n",{"type":15,"tag":35,"props":295,"children":297},{"className":121,"code":296,"filename":123,"language":124,"meta":41,"style":41},"type PhysicalDeviceRobustness2PropertiesEXT = vk::PhysicalDeviceRobustness2PropertiesKHR;\n",[298],{"type":15,"tag":23,"props":299,"children":300},{"__ignoreMap":41},[301],{"type":15,"tag":47,"props":302,"children":303},{"class":49,"line":50},[304,309,314,319,323,327,332],{"type":15,"tag":47,"props":305,"children":306},{"style":54},[307],{"type":20,"value":308},"type",{"type":15,"tag":47,"props":310,"children":311},{"style":143},[312],{"type":20,"value":313}," PhysicalDeviceRobustness2PropertiesEXT",{"type":15,"tag":47,"props":315,"children":316},{"style":54},[317],{"type":20,"value":318}," =",{"type":15,"tag":47,"props":320,"children":321},{"style":143},[322],{"type":20,"value":169},{"type":15,"tag":47,"props":324,"children":325},{"style":54},[326],{"type":20,"value":174},{"type":15,"tag":47,"props":328,"children":329},{"style":143},[330],{"type":20,"value":331},"PhysicalDeviceRobustness2PropertiesKHR",{"type":15,"tag":47,"props":333,"children":334},{"style":65},[335],{"type":20,"value":336},";\n",{"type":15,"tag":338,"props":339,"children":340},"ul",{},[341,362,381,416],{"type":15,"tag":342,"props":343,"children":344},"li",{},[345,351,353,360],{"type":15,"tag":23,"props":346,"children":348},{"className":347},[],[349],{"type":20,"value":350},"sType",{"type":20,"value":352}," is a ",{"type":15,"tag":354,"props":355,"children":357},"a",{"href":356},"/man/VkStructureType",[358],{"type":20,"value":359},"VkStructureType",{"type":20,"value":361}," value identifying this structure.",{"type":15,"tag":342,"props":363,"children":364},{},[365,371,373,379],{"type":15,"tag":23,"props":366,"children":368},{"className":367},[],[369],{"type":20,"value":370},"pNext",{"type":20,"value":372}," is ",{"type":15,"tag":23,"props":374,"children":376},{"className":375},[],[377],{"type":20,"value":378},"NULL",{"type":20,"value":380}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":342,"props":382,"children":383},{},[384,389,395,397,407,409,414],{"type":15,"tag":385,"props":386,"children":388},"anchor",{"id":387},"limits-robustStorageBufferAccessSizeAlignment",[],{"type":15,"tag":23,"props":390,"children":392},{"className":391},[],[393],{"type":20,"value":394},"robustStorageBufferAccessSizeAlignment",{"type":20,"value":396}," is the number of bytes that\nthe range of a storage buffer descriptor is rounded up to when used for\nbounds-checking when the ",{"type":15,"tag":354,"props":398,"children":400},{"href":399},"/man/VkPhysicalDeviceRobustness2FeaturesKHR#features-robustBufferAccess2",[401],{"type":15,"tag":23,"props":402,"children":404},{"className":403},[],[405],{"type":20,"value":406},"robustBufferAccess2",{"type":20,"value":408}," feature is enabled.\nThis value ",{"type":15,"tag":410,"props":411,"children":413},"normative",{"type":412},"must",[],{"type":20,"value":415}," be either 1 or 4.",{"type":15,"tag":342,"props":417,"children":418},{},[419,423,429,431,439,440,443],{"type":15,"tag":385,"props":420,"children":422},{"id":421},"limits-robustUniformBufferAccessSizeAlignment",[],{"type":15,"tag":23,"props":424,"children":426},{"className":425},[],[427],{"type":20,"value":428},"robustUniformBufferAccessSizeAlignment",{"type":20,"value":430}," is the number of bytes that\nthe range of a uniform buffer descriptor is rounded up to when used for\nbounds-checking when the ",{"type":15,"tag":354,"props":432,"children":433},{"href":399},[434],{"type":15,"tag":23,"props":435,"children":437},{"className":436},[],[438],{"type":20,"value":406},{"type":20,"value":408},{"type":15,"tag":410,"props":441,"children":442},{"type":412},[],{"type":20,"value":444}," be a power of two in the range [1, 256].",{"type":15,"tag":16,"props":446,"children":447},{},[448,450,455,457,462,464,469,471,477],{"type":20,"value":449},"If the ",{"type":15,"tag":23,"props":451,"children":453},{"className":452},[],[454],{"type":20,"value":4},{"type":20,"value":456}," structure is included in the ",{"type":15,"tag":23,"props":458,"children":460},{"className":459},[],[461],{"type":20,"value":370},{"type":20,"value":463}," chain of the\n",{"type":15,"tag":354,"props":465,"children":467},{"href":466},"/man/VkPhysicalDeviceProperties2",[468],{"type":20,"value":8},{"type":20,"value":470}," structure passed to\n",{"type":15,"tag":354,"props":472,"children":474},{"href":473},"/man/vkGetPhysicalDeviceProperties2",[475],{"type":20,"value":476},"vkGetPhysicalDeviceProperties2",{"type":20,"value":478},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":15,"tag":480,"props":481,"children":483},"validity-group",{"name":482},"Valid Usage (Implicit)",[484],{"type":15,"tag":485,"props":486,"children":488},"validity-field",{"name":487},"VUID-VkPhysicalDeviceRobustness2PropertiesKHR-sType-sType",[489],{"type":15,"tag":16,"props":490,"children":491},{},[492,497,499,502,504],{"type":15,"tag":23,"props":493,"children":495},{"className":494},[],[496],{"type":20,"value":350},{"type":20,"value":498}," ",{"type":15,"tag":410,"props":500,"children":501},{"type":412},[],{"type":20,"value":503}," be ",{"type":15,"tag":23,"props":505,"children":507},{"className":506},[],[508],{"type":20,"value":509},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ROBUSTNESS_2_PROPERTIES_KHR",{"type":15,"tag":511,"props":512,"children":513},"style",{},[514],{"type":20,"value":515},"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":41,"searchDepth":71,"depth":71,"links":517},[],"markdown",1773054767073]