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