[{"data":1,"prerenderedAt":429},["ShallowReactive",2],{"ZzAyQS6sOI":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":428,"_id":4},"VkLayerProperties","Structure specifying layer properties","VK_VERSION_1_0","structs",[],{"type":10,"children":11,"toc":426},"root",[12,28,307,420],{"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,141],{"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 VkLayerProperties {\n char layerName[VK_MAX_EXTENSION_NAME_SIZE];\n uint32_t specVersion;\n uint32_t implementationVersion;\n char description[VK_MAX_DESCRIPTION_SIZE];\n} VkLayerProperties;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,87,101,114,132],{"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}," VkLayerProperties {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71,76,82],{"type":13,"tag":45,"props":72,"children":73},{"style":52},[74],{"type":18,"value":75}," char",{"type":13,"tag":45,"props":77,"children":79},{"style":78},"--shiki-default:#953800;--shiki-dark:#FFA657",[80],{"type":18,"value":81}," layerName",{"type":13,"tag":45,"props":83,"children":84},{"style":63},[85],{"type":18,"value":86},"[VK_MAX_EXTENSION_NAME_SIZE];\n",{"type":13,"tag":45,"props":88,"children":90},{"class":47,"line":89},3,[91,96],{"type":13,"tag":45,"props":92,"children":93},{"style":52},[94],{"type":18,"value":95}," uint32_t",{"type":13,"tag":45,"props":97,"children":98},{"style":63},[99],{"type":18,"value":100}," specVersion;\n",{"type":13,"tag":45,"props":102,"children":104},{"class":47,"line":103},4,[105,109],{"type":13,"tag":45,"props":106,"children":107},{"style":52},[108],{"type":18,"value":95},{"type":13,"tag":45,"props":110,"children":111},{"style":63},[112],{"type":18,"value":113}," implementationVersion;\n",{"type":13,"tag":45,"props":115,"children":117},{"class":47,"line":116},5,[118,122,127],{"type":13,"tag":45,"props":119,"children":120},{"style":52},[121],{"type":18,"value":75},{"type":13,"tag":45,"props":123,"children":124},{"style":78},[125],{"type":18,"value":126}," description",{"type":13,"tag":45,"props":128,"children":129},{"style":63},[130],{"type":18,"value":131},"[VK_MAX_DESCRIPTION_SIZE];\n",{"type":13,"tag":45,"props":133,"children":135},{"class":47,"line":134},6,[136],{"type":13,"tag":45,"props":137,"children":138},{"style":63},[139],{"type":18,"value":140},"} VkLayerProperties;\n",{"type":13,"tag":33,"props":142,"children":147},{"className":143,"code":144,"filename":145,"language":146,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct LayerProperties {\n layer_name: *const [c_char ; MAX_EXTENSION_NAME_SIZE], // layer name\n spec_version: u32, // version of the layer specification implemented\n implementation_version: u32, // build or release version of the layer's library\n description: *const [c_char ; MAX_DESCRIPTION_SIZE], // Free-form description of the layer\n}\n","Rust","rs",[148],{"type":13,"tag":21,"props":149,"children":150},{"__ignoreMap":39},[151,173,213,240,265,299],{"type":13,"tag":45,"props":152,"children":153},{"class":47,"line":48},[154,159,163,168],{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},"pub",{"type":13,"tag":45,"props":160,"children":161},{"style":52},[162],{"type":18,"value":60},{"type":13,"tag":45,"props":164,"children":165},{"style":78},[166],{"type":18,"value":167}," LayerProperties",{"type":13,"tag":45,"props":169,"children":170},{"style":63},[171],{"type":18,"value":172}," {\n",{"type":13,"tag":45,"props":174,"children":175},{"class":47,"line":69},[176,181,186,191,196,202,207],{"type":13,"tag":45,"props":177,"children":178},{"style":63},[179],{"type":18,"value":180}," layer_name",{"type":13,"tag":45,"props":182,"children":183},{"style":52},[184],{"type":18,"value":185},":",{"type":13,"tag":45,"props":187,"children":188},{"style":52},[189],{"type":18,"value":190}," *const",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":195}," [c_char ; ",{"type":13,"tag":45,"props":197,"children":199},{"style":198},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[200],{"type":18,"value":201},"MAX_EXTENSION_NAME_SIZE",{"type":13,"tag":45,"props":203,"children":204},{"style":63},[205],{"type":18,"value":206},"], ",{"type":13,"tag":45,"props":208,"children":210},{"style":209},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[211],{"type":18,"value":212},"// layer name\n",{"type":13,"tag":45,"props":214,"children":215},{"class":47,"line":89},[216,221,225,230,235],{"type":13,"tag":45,"props":217,"children":218},{"style":63},[219],{"type":18,"value":220}," spec_version",{"type":13,"tag":45,"props":222,"children":223},{"style":52},[224],{"type":18,"value":185},{"type":13,"tag":45,"props":226,"children":227},{"style":78},[228],{"type":18,"value":229}," u32",{"type":13,"tag":45,"props":231,"children":232},{"style":63},[233],{"type":18,"value":234},", ",{"type":13,"tag":45,"props":236,"children":237},{"style":209},[238],{"type":18,"value":239},"// version of the layer specification implemented\n",{"type":13,"tag":45,"props":241,"children":242},{"class":47,"line":103},[243,248,252,256,260],{"type":13,"tag":45,"props":244,"children":245},{"style":63},[246],{"type":18,"value":247}," implementation_version",{"type":13,"tag":45,"props":249,"children":250},{"style":52},[251],{"type":18,"value":185},{"type":13,"tag":45,"props":253,"children":254},{"style":78},[255],{"type":18,"value":229},{"type":13,"tag":45,"props":257,"children":258},{"style":63},[259],{"type":18,"value":234},{"type":13,"tag":45,"props":261,"children":262},{"style":209},[263],{"type":18,"value":264},"// build or release version of the layer's library\n",{"type":13,"tag":45,"props":266,"children":267},{"class":47,"line":116},[268,273,277,281,285,290,294],{"type":13,"tag":45,"props":269,"children":270},{"style":63},[271],{"type":18,"value":272}," description",{"type":13,"tag":45,"props":274,"children":275},{"style":52},[276],{"type":18,"value":185},{"type":13,"tag":45,"props":278,"children":279},{"style":52},[280],{"type":18,"value":190},{"type":13,"tag":45,"props":282,"children":283},{"style":63},[284],{"type":18,"value":195},{"type":13,"tag":45,"props":286,"children":287},{"style":198},[288],{"type":18,"value":289},"MAX_DESCRIPTION_SIZE",{"type":13,"tag":45,"props":291,"children":292},{"style":63},[293],{"type":18,"value":206},{"type":13,"tag":45,"props":295,"children":296},{"style":209},[297],{"type":18,"value":298},"// Free-form description of the layer\n",{"type":13,"tag":45,"props":300,"children":301},{"class":47,"line":134},[302],{"type":13,"tag":45,"props":303,"children":304},{"style":63},[305],{"type":18,"value":306},"}\n",{"type":13,"tag":308,"props":309,"children":310},"ul",{},[311,358,377,388],{"type":13,"tag":312,"props":313,"children":314},"li",{},[315,321,323,329,333,339,341,347,349,356],{"type":13,"tag":21,"props":316,"children":318},{"className":317},[],[319],{"type":18,"value":320},"layerName",{"type":18,"value":322}," is an array of ",{"type":13,"tag":21,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"VK_MAX_EXTENSION_NAME_SIZE",{"type":13,"tag":330,"props":331,"children":332},"br",{},[],{"type":13,"tag":21,"props":334,"children":336},{"className":335},[],[337],{"type":18,"value":338},"char",{"type":18,"value":340}," containing a null-terminated UTF-8 string which is the name of\nthe layer.\nUse this name in the ",{"type":13,"tag":21,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":346},"ppEnabledLayerNames",{"type":18,"value":348}," array passed in the\n",{"type":13,"tag":350,"props":351,"children":353},"a",{"href":352},"/man/VkInstanceCreateInfo",[354],{"type":18,"value":355},"VkInstanceCreateInfo",{"type":18,"value":357}," structure to enable this layer for an\ninstance.",{"type":13,"tag":312,"props":359,"children":360},{},[361,367,369,375],{"type":13,"tag":21,"props":362,"children":364},{"className":363},[],[365],{"type":18,"value":366},"specVersion",{"type":18,"value":368}," is the Vulkan version the layer was written to,\nencoded as described in ",{"type":13,"tag":350,"props":370,"children":372},{"href":371},"/chapters/extendingvulkan#extendingvulkan-coreversions-versionnumbers",[373],{"type":18,"value":374},"Version Numbers",{"type":18,"value":376},".",{"type":13,"tag":312,"props":378,"children":379},{},[380,386],{"type":13,"tag":21,"props":381,"children":383},{"className":382},[],[384],{"type":18,"value":385},"implementationVersion",{"type":18,"value":387}," is the version of this layer.\nIt is an integer, increasing with backward compatible changes.",{"type":13,"tag":312,"props":389,"children":390},{},[391,397,398,404,406,411,413,418],{"type":13,"tag":21,"props":392,"children":394},{"className":393},[],[395],{"type":18,"value":396},"description",{"type":18,"value":322},{"type":13,"tag":21,"props":399,"children":401},{"className":400},[],[402],{"type":18,"value":403},"VK_MAX_DESCRIPTION_SIZE",{"type":18,"value":405}," ",{"type":13,"tag":21,"props":407,"children":409},{"className":408},[],[410],{"type":18,"value":338},{"type":18,"value":412},"\ncontaining a null-terminated UTF-8 string which provides additional\ndetails that ",{"type":13,"tag":414,"props":415,"children":417},"normative",{"type":416},"can",[],{"type":18,"value":419}," be used by the application to identify the layer.",{"type":13,"tag":421,"props":422,"children":423},"style",{},[424],{"type":18,"value":425},"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":427},[],"markdown",1729612455969]