[{"data":1,"prerenderedAt":444},["ShallowReactive",2],{"$fEYMiinM9OFTd6jKUpwY_ZZsLxBblhvlNT3ObIZEW_-A":3},{"title":4,"description":5,"parent":6,"structextends":7,"type":9,"xrefs":10,"body":11,"_type":443,"_id":4},"VkSamplerCustomBorderColorIndexCreateInfoEXT","Structure specifying the custom border color index for a sampler","VK_EXT_descriptor_heap",[8],"VkSamplerCreateInfo","structs",[],{"type":12,"children":13,"toc":441},"root",[14,30,237,300,340,360,372,407,435],{"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\nas:",{"type":15,"tag":31,"props":32,"children":33},"code-group",{},[34,120],{"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 VkSamplerCustomBorderColorIndexCreateInfoEXT {\n VkStructureType sType;\n const void* pNext;\n uint32_t index;\n} VkSamplerCustomBorderColorIndexCreateInfoEXT;\n","C","c","",[43],{"type":15,"tag":23,"props":44,"children":45},{"__ignoreMap":41},[46,69,78,97,111],{"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}," VkSamplerCustomBorderColorIndexCreateInfoEXT {\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,92],{"type":15,"tag":47,"props":83,"children":84},{"style":54},[85],{"type":20,"value":86}," const",{"type":15,"tag":47,"props":88,"children":89},{"style":54},[90],{"type":20,"value":91}," void*",{"type":15,"tag":47,"props":93,"children":94},{"style":65},[95],{"type":20,"value":96}," pNext;\n",{"type":15,"tag":47,"props":98,"children":100},{"class":49,"line":99},4,[101,106],{"type":15,"tag":47,"props":102,"children":103},{"style":54},[104],{"type":20,"value":105}," uint32_t",{"type":15,"tag":47,"props":107,"children":108},{"style":65},[109],{"type":20,"value":110}," index;\n",{"type":15,"tag":47,"props":112,"children":114},{"class":49,"line":113},5,[115],{"type":15,"tag":47,"props":116,"children":117},{"style":65},[118],{"type":20,"value":119},"} VkSamplerCustomBorderColorIndexCreateInfoEXT;\n",{"type":15,"tag":35,"props":121,"children":126},{"className":122,"code":123,"filename":124,"language":125,"meta":41,"style":41},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SamplerCustomBorderColorIndexCreateInfoEXT {\n s_type: vk::StructureType,\n p_next: *const c_void,\n index: u32,\n}\n","Rust","rs",[127],{"type":15,"tag":23,"props":128,"children":129},{"__ignoreMap":41},[130,153,186,208,229],{"type":15,"tag":47,"props":131,"children":132},{"class":49,"line":50},[133,138,142,148],{"type":15,"tag":47,"props":134,"children":135},{"style":54},[136],{"type":20,"value":137},"pub",{"type":15,"tag":47,"props":139,"children":140},{"style":54},[141],{"type":20,"value":62},{"type":15,"tag":47,"props":143,"children":145},{"style":144},"--shiki-default:#953800;--shiki-dark:#FFA657",[146],{"type":20,"value":147}," SamplerCustomBorderColorIndexCreateInfoEXT",{"type":15,"tag":47,"props":149,"children":150},{"style":65},[151],{"type":20,"value":152}," {\n",{"type":15,"tag":47,"props":154,"children":155},{"class":49,"line":71},[156,161,166,171,176,181],{"type":15,"tag":47,"props":157,"children":158},{"style":65},[159],{"type":20,"value":160}," s_type",{"type":15,"tag":47,"props":162,"children":163},{"style":54},[164],{"type":20,"value":165},":",{"type":15,"tag":47,"props":167,"children":168},{"style":144},[169],{"type":20,"value":170}," vk",{"type":15,"tag":47,"props":172,"children":173},{"style":54},[174],{"type":20,"value":175},"::",{"type":15,"tag":47,"props":177,"children":178},{"style":144},[179],{"type":20,"value":180},"StructureType",{"type":15,"tag":47,"props":182,"children":183},{"style":65},[184],{"type":20,"value":185},",\n",{"type":15,"tag":47,"props":187,"children":188},{"class":49,"line":80},[189,194,198,203],{"type":15,"tag":47,"props":190,"children":191},{"style":65},[192],{"type":20,"value":193}," p_next",{"type":15,"tag":47,"props":195,"children":196},{"style":54},[197],{"type":20,"value":165},{"type":15,"tag":47,"props":199,"children":200},{"style":54},[201],{"type":20,"value":202}," *const",{"type":15,"tag":47,"props":204,"children":205},{"style":65},[206],{"type":20,"value":207}," c_void,\n",{"type":15,"tag":47,"props":209,"children":210},{"class":49,"line":99},[211,216,220,225],{"type":15,"tag":47,"props":212,"children":213},{"style":65},[214],{"type":20,"value":215}," index",{"type":15,"tag":47,"props":217,"children":218},{"style":54},[219],{"type":20,"value":165},{"type":15,"tag":47,"props":221,"children":222},{"style":144},[223],{"type":20,"value":224}," u32",{"type":15,"tag":47,"props":226,"children":227},{"style":65},[228],{"type":20,"value":185},{"type":15,"tag":47,"props":230,"children":231},{"class":49,"line":113},[232],{"type":15,"tag":47,"props":233,"children":234},{"style":65},[235],{"type":20,"value":236},"}\n",{"type":15,"tag":238,"props":239,"children":240},"ul",{},[241,262,281],{"type":15,"tag":242,"props":243,"children":244},"li",{},[245,251,253,260],{"type":15,"tag":23,"props":246,"children":248},{"className":247},[],[249],{"type":20,"value":250},"sType",{"type":20,"value":252}," is a ",{"type":15,"tag":254,"props":255,"children":257},"a",{"href":256},"/man/VkStructureType",[258],{"type":20,"value":259},"VkStructureType",{"type":20,"value":261}," value identifying this structure.",{"type":15,"tag":242,"props":263,"children":264},{},[265,271,273,279],{"type":15,"tag":23,"props":266,"children":268},{"className":267},[],[269],{"type":20,"value":270},"pNext",{"type":20,"value":272}," is ",{"type":15,"tag":23,"props":274,"children":276},{"className":275},[],[277],{"type":20,"value":278},"NULL",{"type":20,"value":280}," or a pointer to a structure extending this\nstructure.",{"type":15,"tag":242,"props":282,"children":283},{},[284,290,292,298],{"type":15,"tag":23,"props":285,"children":287},{"className":286},[],[288],{"type":20,"value":289},"index",{"type":20,"value":291}," is the ",{"type":15,"tag":23,"props":293,"children":295},{"className":294},[],[296],{"type":20,"value":297},"uint32_t",{"type":20,"value":299}," index value to use with the sampler",{"type":15,"tag":16,"props":301,"children":302},{},[303,305,310,312,317,319,324,326,331,333,338],{"type":20,"value":304},"If this structure is included in the ",{"type":15,"tag":23,"props":306,"children":308},{"className":307},[],[309],{"type":20,"value":270},{"type":20,"value":311}," chain of\n",{"type":15,"tag":254,"props":313,"children":315},{"href":314},"/man/VkSamplerCreateInfo",[316],{"type":20,"value":8},{"type":20,"value":318},", the value of ",{"type":15,"tag":23,"props":320,"children":322},{"className":321},[],[323],{"type":20,"value":289},{"type":20,"value":325}," will be used for the\ncustom border color registration.\n",{"type":15,"tag":23,"props":327,"children":329},{"className":328},[],[330],{"type":20,"value":289},{"type":20,"value":332}," does not need to be registered at the point that a sampler\nobject is created or a sampler descriptor is written; as long as it is\nregistered when any use of the sampler is recorded to a command, and remains\nregistered while the sampler is in use.\nThe color registered with the index and the color specified in the sampler\n",{"type":15,"tag":334,"props":335,"children":337},"normative",{"type":336},"must",[],{"type":20,"value":339}," be identically defined.",{"type":15,"tag":16,"props":341,"children":342},{},[343,345,351,353,358],{"type":20,"value":344},"If this structure is not provided when creating a sampler object with a\ncustom border color, it is equivalent to registering a new custom border\ncolor by calling ",{"type":15,"tag":254,"props":346,"children":348},{"href":347},"/man/vkRegisterCustomBorderColorEXT",[349],{"type":20,"value":350},"vkRegisterCustomBorderColorEXT",{"type":20,"value":352}," with that custom\nborder color value, and using that value as ",{"type":15,"tag":23,"props":354,"children":356},{"className":355},[],[357],{"type":20,"value":289},{"type":20,"value":359}," in this structure.\nThis implicit registration will be implicitly unregistered when the sampler\nis destroyed.",{"type":15,"tag":16,"props":361,"children":362},{},[363,365,370],{"type":20,"value":364},"If this structure is not provided when creating a sampler object without a\ncustom border color, it is equivalent to setting ",{"type":15,"tag":23,"props":366,"children":368},{"className":367},[],[369],{"type":20,"value":289},{"type":20,"value":371}," to 0.",{"type":15,"tag":373,"props":374,"children":376},"validity-group",{"name":375},"Valid Usage",[377],{"type":15,"tag":378,"props":379,"children":381},"validity-field",{"name":380},"VUID-VkSamplerCustomBorderColorIndexCreateInfoEXT-index-11289",[382],{"type":15,"tag":16,"props":383,"children":384},{},[385,390,392,395,397],{"type":15,"tag":23,"props":386,"children":388},{"className":387},[],[389],{"type":20,"value":289},{"type":20,"value":391}," ",{"type":15,"tag":334,"props":393,"children":394},{"type":336},[],{"type":20,"value":396}," be less than ",{"type":15,"tag":254,"props":398,"children":400},{"href":399},"/man/VkPhysicalDeviceCustomBorderColorPropertiesEXT#limits-maxCustomBorderColorSamplers",[401],{"type":15,"tag":23,"props":402,"children":404},{"className":403},[],[405],{"type":20,"value":406},"maxCustomBorderColorSamplers",{"type":15,"tag":373,"props":408,"children":410},{"name":409},"Valid Usage (Implicit)",[411],{"type":15,"tag":378,"props":412,"children":414},{"name":413},"VUID-VkSamplerCustomBorderColorIndexCreateInfoEXT-sType-sType",[415],{"type":15,"tag":16,"props":416,"children":417},{},[418,423,424,427,429],{"type":15,"tag":23,"props":419,"children":421},{"className":420},[],[422],{"type":20,"value":250},{"type":20,"value":391},{"type":15,"tag":334,"props":425,"children":426},{"type":336},[],{"type":20,"value":428}," be ",{"type":15,"tag":23,"props":430,"children":432},{"className":431},[],[433],{"type":20,"value":434},"VK_STRUCTURE_TYPE_SAMPLER_CUSTOM_BORDER_COLOR_INDEX_CREATE_INFO_EXT",{"type":15,"tag":436,"props":437,"children":438},"style",{},[439],{"type":20,"value":440},"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":442},[],"markdown",1773054776470]