[{"data":1,"prerenderedAt":426},["ShallowReactive",2],{"$fQ1QBd3JS1k0fFVySjMxkYBSrTkoN4VtwHGJSCgy0Axo":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":10,"xrefs":11,"body":12,"_type":425,"_id":4},"VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT","Structure describing whether the implementation supports cleared allocation functionality","VK_EXT_zero_initialize_device_memory",[8,9],"VkPhysicalDeviceFeatures2","VkDeviceCreateInfo","structs",[],{"type":13,"children":14,"toc":423},"root",[15,31,236,241,303,387,417],{"type":16,"tag":17,"props":18,"children":19},"element","p",{},[20,23,29],{"type":21,"value":22},"text","The ",{"type":16,"tag":24,"props":25,"children":27},"code",{"className":26},[],[28],{"type":21,"value":4},{"type":21,"value":30}," structure is\ndefined as:",{"type":16,"tag":32,"props":33,"children":34},"code-group",{},[35,111],{"type":16,"tag":36,"props":37,"children":43},"pre",{"className":38,"code":39,"filename":40,"language":41,"meta":42,"style":42},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT {\n VkStructureType sType;\n void* pNext;\n VkBool32 zeroInitializeDeviceMemory;\n} VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT;\n","C","c","",[44],{"type":16,"tag":24,"props":45,"children":46},{"__ignoreMap":42},[47,70,79,93,102],{"type":16,"tag":48,"props":49,"children":52},"span",{"class":50,"line":51},"line",1,[53,59,64],{"type":16,"tag":48,"props":54,"children":56},{"style":55},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[57],{"type":21,"value":58},"typedef",{"type":16,"tag":48,"props":60,"children":61},{"style":55},[62],{"type":21,"value":63}," struct",{"type":16,"tag":48,"props":65,"children":67},{"style":66},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[68],{"type":21,"value":69}," VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT {\n",{"type":16,"tag":48,"props":71,"children":73},{"class":50,"line":72},2,[74],{"type":16,"tag":48,"props":75,"children":76},{"style":66},[77],{"type":21,"value":78}," VkStructureType sType;\n",{"type":16,"tag":48,"props":80,"children":82},{"class":50,"line":81},3,[83,88],{"type":16,"tag":48,"props":84,"children":85},{"style":55},[86],{"type":21,"value":87}," void*",{"type":16,"tag":48,"props":89,"children":90},{"style":66},[91],{"type":21,"value":92}," pNext;\n",{"type":16,"tag":48,"props":94,"children":96},{"class":50,"line":95},4,[97],{"type":16,"tag":48,"props":98,"children":99},{"style":66},[100],{"type":21,"value":101}," VkBool32 zeroInitializeDeviceMemory;\n",{"type":16,"tag":48,"props":103,"children":105},{"class":50,"line":104},5,[106],{"type":16,"tag":48,"props":107,"children":108},{"style":66},[109],{"type":21,"value":110},"} VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT;\n",{"type":16,"tag":36,"props":112,"children":117},{"className":113,"code":114,"filename":115,"language":116,"meta":42,"style":42},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n zero_initialize_device_memory: vk::Bool32,\n}\n","Rust","rs",[118],{"type":16,"tag":24,"props":119,"children":120},{"__ignoreMap":42},[121,144,177,199,228],{"type":16,"tag":48,"props":122,"children":123},{"class":50,"line":51},[124,129,133,139],{"type":16,"tag":48,"props":125,"children":126},{"style":55},[127],{"type":21,"value":128},"pub",{"type":16,"tag":48,"props":130,"children":131},{"style":55},[132],{"type":21,"value":63},{"type":16,"tag":48,"props":134,"children":136},{"style":135},"--shiki-default:#953800;--shiki-dark:#FFA657",[137],{"type":21,"value":138}," PhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT",{"type":16,"tag":48,"props":140,"children":141},{"style":66},[142],{"type":21,"value":143}," {\n",{"type":16,"tag":48,"props":145,"children":146},{"class":50,"line":72},[147,152,157,162,167,172],{"type":16,"tag":48,"props":148,"children":149},{"style":66},[150],{"type":21,"value":151}," s_type",{"type":16,"tag":48,"props":153,"children":154},{"style":55},[155],{"type":21,"value":156},":",{"type":16,"tag":48,"props":158,"children":159},{"style":135},[160],{"type":21,"value":161}," vk",{"type":16,"tag":48,"props":163,"children":164},{"style":55},[165],{"type":21,"value":166},"::",{"type":16,"tag":48,"props":168,"children":169},{"style":135},[170],{"type":21,"value":171},"StructureType",{"type":16,"tag":48,"props":173,"children":174},{"style":66},[175],{"type":21,"value":176},",\n",{"type":16,"tag":48,"props":178,"children":179},{"class":50,"line":81},[180,185,189,194],{"type":16,"tag":48,"props":181,"children":182},{"style":66},[183],{"type":21,"value":184}," p_next",{"type":16,"tag":48,"props":186,"children":187},{"style":55},[188],{"type":21,"value":156},{"type":16,"tag":48,"props":190,"children":191},{"style":55},[192],{"type":21,"value":193}," *mut",{"type":16,"tag":48,"props":195,"children":196},{"style":66},[197],{"type":21,"value":198}," c_void,\n",{"type":16,"tag":48,"props":200,"children":201},{"class":50,"line":95},[202,207,211,215,219,224],{"type":16,"tag":48,"props":203,"children":204},{"style":66},[205],{"type":21,"value":206}," zero_initialize_device_memory",{"type":16,"tag":48,"props":208,"children":209},{"style":55},[210],{"type":21,"value":156},{"type":16,"tag":48,"props":212,"children":213},{"style":135},[214],{"type":21,"value":161},{"type":16,"tag":48,"props":216,"children":217},{"style":55},[218],{"type":21,"value":166},{"type":16,"tag":48,"props":220,"children":221},{"style":135},[222],{"type":21,"value":223},"Bool32",{"type":16,"tag":48,"props":225,"children":226},{"style":66},[227],{"type":21,"value":176},{"type":16,"tag":48,"props":229,"children":230},{"class":50,"line":104},[231],{"type":16,"tag":48,"props":232,"children":233},{"style":66},[234],{"type":21,"value":235},"}\n",{"type":16,"tag":17,"props":237,"children":238},{},[239],{"type":21,"value":240},"This structure describes the following features:",{"type":16,"tag":242,"props":243,"children":244},"ul",{},[245,266,285],{"type":16,"tag":246,"props":247,"children":248},"li",{},[249,255,257,264],{"type":16,"tag":24,"props":250,"children":252},{"className":251},[],[253],{"type":21,"value":254},"sType",{"type":21,"value":256}," is a ",{"type":16,"tag":258,"props":259,"children":261},"a",{"href":260},"/man/VkStructureType",[262],{"type":21,"value":263},"VkStructureType",{"type":21,"value":265}," value identifying this structure.",{"type":16,"tag":246,"props":267,"children":268},{},[269,275,277,283],{"type":16,"tag":24,"props":270,"children":272},{"className":271},[],[273],{"type":21,"value":274},"pNext",{"type":21,"value":276}," is ",{"type":16,"tag":24,"props":278,"children":280},{"className":279},[],[281],{"type":21,"value":282},"NULL",{"type":21,"value":284}," or a pointer to a structure extending this\nstructure.",{"type":16,"tag":246,"props":286,"children":287},{},[288,293,295,301],{"type":16,"tag":289,"props":290,"children":292},"anchor",{"id":291},"features-zeroInitializeDeviceMemory",[],{"type":21,"value":294}," ",{"type":16,"tag":24,"props":296,"children":298},{"className":297},[],[299],{"type":21,"value":300},"zeroInitializeDeviceMemory",{"type":21,"value":302},"\nindicates that the implementation supports zeroing memory allocations\nusing a user-specified flag.",{"type":16,"tag":17,"props":304,"children":305},{},[306,308,313,315,320,322,327,329,335,337,343,345,350,352,357,359,365,367,372,374,379,381,385],{"type":21,"value":307},"If the ",{"type":16,"tag":24,"props":309,"children":311},{"className":310},[],[312],{"type":21,"value":4},{"type":21,"value":314}," structure is included in the ",{"type":16,"tag":24,"props":316,"children":318},{"className":317},[],[319],{"type":21,"value":274},{"type":21,"value":321}," chain of the\n",{"type":16,"tag":258,"props":323,"children":325},{"href":324},"/man/VkPhysicalDeviceFeatures2",[326],{"type":21,"value":8},{"type":21,"value":328}," structure passed to\n",{"type":16,"tag":258,"props":330,"children":332},{"href":331},"/man/vkGetPhysicalDeviceFeatures2",[333],{"type":21,"value":334},"vkGetPhysicalDeviceFeatures2",{"type":21,"value":336},", it is filled in to indicate whether each\ncorresponding feature is supported.\nIf the application wishes to use a ",{"type":16,"tag":258,"props":338,"children":340},{"href":339},"/man/VkDevice",[341],{"type":21,"value":342},"VkDevice",{"type":21,"value":344}," with any features\ndescribed by ",{"type":16,"tag":24,"props":346,"children":348},{"className":347},[],[349],{"type":21,"value":4},{"type":21,"value":351},", it ",{"type":16,"tag":353,"props":354,"children":356},"normative",{"type":355},"must",[],{"type":21,"value":358}," add an instance of the structure,\nwith the desired feature members set to ",{"type":16,"tag":24,"props":360,"children":362},{"className":361},[],[363],{"type":21,"value":364},"VK_TRUE",{"type":21,"value":366},", to the ",{"type":16,"tag":24,"props":368,"children":370},{"className":369},[],[371],{"type":21,"value":274},{"type":21,"value":373},"\nchain of ",{"type":16,"tag":258,"props":375,"children":377},{"href":376},"/man/VkDeviceCreateInfo",[378],{"type":21,"value":9},{"type":21,"value":380}," when creating the ",{"type":16,"tag":258,"props":382,"children":383},{"href":339},[384],{"type":21,"value":342},{"type":21,"value":386},".",{"type":16,"tag":388,"props":389,"children":391},"validity-group",{"name":390},"Valid Usage (Implicit)",[392],{"type":16,"tag":393,"props":394,"children":396},"validity-field",{"name":395},"VUID-VkPhysicalDeviceZeroInitializeDeviceMemoryFeaturesEXT-sType-sType",[397],{"type":16,"tag":17,"props":398,"children":399},{},[400,405,406,409,411],{"type":16,"tag":24,"props":401,"children":403},{"className":402},[],[404],{"type":21,"value":254},{"type":21,"value":294},{"type":16,"tag":353,"props":407,"children":408},{"type":355},[],{"type":21,"value":410}," be ",{"type":16,"tag":24,"props":412,"children":414},{"className":413},[],[415],{"type":21,"value":416},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ZERO_INITIALIZE_DEVICE_MEMORY_FEATURES_EXT",{"type":16,"tag":418,"props":419,"children":420},"style",{},[421],{"type":21,"value":422},"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":42,"searchDepth":72,"depth":72,"links":424},[],"markdown",1773121604663]