[{"data":1,"prerenderedAt":400},["ShallowReactive",2],{"KTwidCBXOZ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":399,"_id":4},"VkPhysicalDeviceProtectedMemoryProperties","Structure describing protected memory properties that can be supported by an implementation","VK_VERSION_1_1","structs",[],{"type":10,"children":11,"toc":397},"root",[12,28,233,326,361,391],{"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,108],{"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 VkPhysicalDeviceProtectedMemoryProperties {\n VkStructureType sType;\n void* pNext;\n VkBool32 protectedNoFault;\n} VkPhysicalDeviceProtectedMemoryProperties;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99],{"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}," VkPhysicalDeviceProtectedMemoryProperties {\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],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkBool32 protectedNoFault;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107},"} VkPhysicalDeviceProtectedMemoryProperties;\n",{"type":13,"tag":33,"props":109,"children":114},{"className":110,"code":111,"filename":112,"language":113,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceProtectedMemoryProperties {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n protected_no_fault: vk::Bool32,\n}\n","Rust","rs",[115],{"type":13,"tag":21,"props":116,"children":117},{"__ignoreMap":39},[118,141,174,196,225],{"type":13,"tag":45,"props":119,"children":120},{"class":47,"line":48},[121,126,130,136],{"type":13,"tag":45,"props":122,"children":123},{"style":52},[124],{"type":18,"value":125},"pub",{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":60},{"type":13,"tag":45,"props":131,"children":133},{"style":132},"--shiki-default:#953800;--shiki-dark:#FFA657",[134],{"type":18,"value":135}," PhysicalDeviceProtectedMemoryProperties",{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140}," {\n",{"type":13,"tag":45,"props":142,"children":143},{"class":47,"line":69},[144,149,154,159,164,169],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148}," s_type",{"type":13,"tag":45,"props":150,"children":151},{"style":52},[152],{"type":18,"value":153},":",{"type":13,"tag":45,"props":155,"children":156},{"style":132},[157],{"type":18,"value":158}," vk",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":163},"::",{"type":13,"tag":45,"props":165,"children":166},{"style":132},[167],{"type":18,"value":168},"StructureType",{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173},",\n",{"type":13,"tag":45,"props":175,"children":176},{"class":47,"line":78},[177,182,186,191],{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," p_next",{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":153},{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *mut",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," c_void,\n",{"type":13,"tag":45,"props":197,"children":198},{"class":47,"line":92},[199,204,208,212,216,221],{"type":13,"tag":45,"props":200,"children":201},{"style":63},[202],{"type":18,"value":203}," protected_no_fault",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":153},{"type":13,"tag":45,"props":209,"children":210},{"style":132},[211],{"type":18,"value":158},{"type":13,"tag":45,"props":213,"children":214},{"style":52},[215],{"type":18,"value":163},{"type":13,"tag":45,"props":217,"children":218},{"style":132},[219],{"type":18,"value":220},"Bool32",{"type":13,"tag":45,"props":222,"children":223},{"style":63},[224],{"type":18,"value":173},{"type":13,"tag":45,"props":226,"children":227},{"class":47,"line":101},[228],{"type":13,"tag":45,"props":229,"children":230},{"style":63},[231],{"type":18,"value":232},"}\n",{"type":13,"tag":234,"props":235,"children":236},"ul",{},[237,258,277],{"type":13,"tag":238,"props":239,"children":240},"li",{},[241,247,249,256],{"type":13,"tag":21,"props":242,"children":244},{"className":243},[],[245],{"type":18,"value":246},"sType",{"type":18,"value":248}," is a ",{"type":13,"tag":250,"props":251,"children":253},"a",{"href":252},"/man/VkStructureType",[254],{"type":18,"value":255},"VkStructureType",{"type":18,"value":257}," value identifying this structure.",{"type":13,"tag":238,"props":259,"children":260},{},[261,267,269,275],{"type":13,"tag":21,"props":262,"children":264},{"className":263},[],[265],{"type":18,"value":266},"pNext",{"type":18,"value":268}," is ",{"type":13,"tag":21,"props":270,"children":272},{"className":271},[],[273],{"type":18,"value":274},"NULL",{"type":18,"value":276}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":238,"props":278,"children":279},{},[280,285,287,293,295,301,303,309,311,316,318,324],{"type":13,"tag":281,"props":282,"children":284},"anchor",{"id":283},"limits-protectedNoFault",[],{"type":18,"value":286}," ",{"type":13,"tag":21,"props":288,"children":290},{"className":289},[],[291],{"type":18,"value":292},"protectedNoFault",{"type":18,"value":294},"\nspecifies how an implementation behaves when an application attempts to\nwrite to unprotected memory in a protected queue operation, read from\nprotected memory in an unprotected queue operation, or perform a query\nin a protected queue operation.\nIf this limit is ",{"type":13,"tag":21,"props":296,"children":298},{"className":297},[],[299],{"type":18,"value":300},"VK_TRUE",{"type":18,"value":302},", such writes will be discarded or have\nundefined: values written, reads and queries will return undefined:\nvalues.\nIf this limit is ",{"type":13,"tag":21,"props":304,"children":306},{"className":305},[],[307],{"type":18,"value":308},"VK_FALSE",{"type":18,"value":310},", applications ",{"type":13,"tag":312,"props":313,"children":315},"normative",{"type":314},"must",[],{"type":18,"value":317}," not perform these\noperations.\nSee ",{"type":13,"tag":250,"props":319,"children":321},{"href":320},"/404#memory-protected-access-rules",[322],{"type":18,"value":323},"xref::name::memory-protected-access-rules",{"type":18,"value":325}," for more information.",{"type":13,"tag":14,"props":327,"children":328},{},[329,331,336,338,343,345,351,353,359],{"type":18,"value":330},"If the ",{"type":13,"tag":21,"props":332,"children":334},{"className":333},[],[335],{"type":18,"value":4},{"type":18,"value":337}," structure is included in the ",{"type":13,"tag":21,"props":339,"children":341},{"className":340},[],[342],{"type":18,"value":266},{"type":18,"value":344}," chain of the\n",{"type":13,"tag":250,"props":346,"children":348},{"href":347},"/man/VkPhysicalDeviceProperties2",[349],{"type":18,"value":350},"VkPhysicalDeviceProperties2",{"type":18,"value":352}," structure passed to\n",{"type":13,"tag":250,"props":354,"children":356},{"href":355},"/man/vkGetPhysicalDeviceProperties2",[357],{"type":18,"value":358},"vkGetPhysicalDeviceProperties2",{"type":18,"value":360},", it is filled in with each\ncorresponding implementation-dependent property.",{"type":13,"tag":362,"props":363,"children":365},"validity-group",{"name":364},"Valid Usage (Implicit)",[366],{"type":13,"tag":367,"props":368,"children":370},"validity-field",{"name":369},"VUID-VkPhysicalDeviceProtectedMemoryProperties-sType-sType",[371],{"type":13,"tag":14,"props":372,"children":373},{},[374,379,380,383,385],{"type":13,"tag":21,"props":375,"children":377},{"className":376},[],[378],{"type":18,"value":246},{"type":18,"value":286},{"type":13,"tag":312,"props":381,"children":382},{"type":314},[],{"type":18,"value":384}," be ",{"type":13,"tag":21,"props":386,"children":388},{"className":387},[],[389],{"type":18,"value":390},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES",{"type":13,"tag":392,"props":393,"children":394},"style",{},[395],{"type":18,"value":396},"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":398},[],"markdown",1725732572557]