[{"data":1,"prerenderedAt":665},["ShallowReactive",2],{"mNbuD9Vyyt":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":664,"_id":4},"VkBorderColor","Specify border color used for texture lookups","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":662},"root",[12,38,513,643,656],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","Possible values of ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkSamplerCreateInfo",[25],{"type":18,"value":26},"VkSamplerCreateInfo",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"borderColor",{"type":18,"value":37},", specifying\nthe border color used for texture lookups, are:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,221],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkBorderColor {\n VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK = 0,\n VK_BORDER_COLOR_INT_TRANSPARENT_BLACK = 1,\n VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK = 2,\n VK_BORDER_COLOR_INT_OPAQUE_BLACK = 3,\n VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE = 4,\n VK_BORDER_COLOR_INT_OPAQUE_WHITE = 5,\n} VkBorderColor;\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,77,102,124,146,168,190,212],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,71],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":18,"value":65},"typedef",{"type":13,"tag":55,"props":67,"children":68},{"style":62},[69],{"type":18,"value":70}," enum",{"type":13,"tag":55,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":18,"value":76}," VkBorderColor {\n",{"type":13,"tag":55,"props":78,"children":80},{"class":57,"line":79},2,[81,86,91,97],{"type":13,"tag":55,"props":82,"children":83},{"style":73},[84],{"type":18,"value":85}," VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK ",{"type":13,"tag":55,"props":87,"children":88},{"style":62},[89],{"type":18,"value":90},"=",{"type":13,"tag":55,"props":92,"children":94},{"style":93},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[95],{"type":18,"value":96}," 0",{"type":13,"tag":55,"props":98,"children":99},{"style":73},[100],{"type":18,"value":101},",\n",{"type":13,"tag":55,"props":103,"children":105},{"class":57,"line":104},3,[106,111,115,120],{"type":13,"tag":55,"props":107,"children":108},{"style":73},[109],{"type":18,"value":110}," VK_BORDER_COLOR_INT_TRANSPARENT_BLACK ",{"type":13,"tag":55,"props":112,"children":113},{"style":62},[114],{"type":18,"value":90},{"type":13,"tag":55,"props":116,"children":117},{"style":93},[118],{"type":18,"value":119}," 1",{"type":13,"tag":55,"props":121,"children":122},{"style":73},[123],{"type":18,"value":101},{"type":13,"tag":55,"props":125,"children":127},{"class":57,"line":126},4,[128,133,137,142],{"type":13,"tag":55,"props":129,"children":130},{"style":73},[131],{"type":18,"value":132}," VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK ",{"type":13,"tag":55,"props":134,"children":135},{"style":62},[136],{"type":18,"value":90},{"type":13,"tag":55,"props":138,"children":139},{"style":93},[140],{"type":18,"value":141}," 2",{"type":13,"tag":55,"props":143,"children":144},{"style":73},[145],{"type":18,"value":101},{"type":13,"tag":55,"props":147,"children":149},{"class":57,"line":148},5,[150,155,159,164],{"type":13,"tag":55,"props":151,"children":152},{"style":73},[153],{"type":18,"value":154}," VK_BORDER_COLOR_INT_OPAQUE_BLACK ",{"type":13,"tag":55,"props":156,"children":157},{"style":62},[158],{"type":18,"value":90},{"type":13,"tag":55,"props":160,"children":161},{"style":93},[162],{"type":18,"value":163}," 3",{"type":13,"tag":55,"props":165,"children":166},{"style":73},[167],{"type":18,"value":101},{"type":13,"tag":55,"props":169,"children":171},{"class":57,"line":170},6,[172,177,181,186],{"type":13,"tag":55,"props":173,"children":174},{"style":73},[175],{"type":18,"value":176}," VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE ",{"type":13,"tag":55,"props":178,"children":179},{"style":62},[180],{"type":18,"value":90},{"type":13,"tag":55,"props":182,"children":183},{"style":93},[184],{"type":18,"value":185}," 4",{"type":13,"tag":55,"props":187,"children":188},{"style":73},[189],{"type":18,"value":101},{"type":13,"tag":55,"props":191,"children":193},{"class":57,"line":192},7,[194,199,203,208],{"type":13,"tag":55,"props":195,"children":196},{"style":73},[197],{"type":18,"value":198}," VK_BORDER_COLOR_INT_OPAQUE_WHITE ",{"type":13,"tag":55,"props":200,"children":201},{"style":62},[202],{"type":18,"value":90},{"type":13,"tag":55,"props":204,"children":205},{"style":93},[206],{"type":18,"value":207}," 5",{"type":13,"tag":55,"props":209,"children":210},{"style":73},[211],{"type":18,"value":101},{"type":13,"tag":55,"props":213,"children":215},{"class":57,"line":214},8,[216],{"type":13,"tag":55,"props":217,"children":218},{"style":73},[219],{"type":18,"value":220},"} VkBorderColor;\n",{"type":13,"tag":43,"props":222,"children":227},{"className":223,"code":224,"filename":225,"language":226,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct BorderColor(u32);\nimpl BorderColor {\n pub const FLOAT_TRANSPARENT_BLACK: Self = 0;\n pub const INT_TRANSPARENT_BLACK: Self = 1;\n pub const FLOAT_OPAQUE_BLACK: Self = 2;\n pub const INT_OPAQUE_BLACK: Self = 3;\n pub const FLOAT_OPAQUE_WHITE: Self = 4;\n pub const INT_OPAQUE_WHITE: Self = 5;\n}\n","Rust","rs",[228],{"type":13,"tag":30,"props":229,"children":230},{"__ignoreMap":49},[231,265,282,324,360,396,432,468,504],{"type":13,"tag":55,"props":232,"children":233},{"class":57,"line":58},[234,239,244,250,255,260],{"type":13,"tag":55,"props":235,"children":236},{"style":62},[237],{"type":18,"value":238},"pub",{"type":13,"tag":55,"props":240,"children":241},{"style":62},[242],{"type":18,"value":243}," struct",{"type":13,"tag":55,"props":245,"children":247},{"style":246},"--shiki-default:#953800;--shiki-dark:#FFA657",[248],{"type":18,"value":249}," BorderColor",{"type":13,"tag":55,"props":251,"children":252},{"style":73},[253],{"type":18,"value":254},"(",{"type":13,"tag":55,"props":256,"children":257},{"style":246},[258],{"type":18,"value":259},"u32",{"type":13,"tag":55,"props":261,"children":262},{"style":73},[263],{"type":18,"value":264},");\n",{"type":13,"tag":55,"props":266,"children":267},{"class":57,"line":79},[268,273,277],{"type":13,"tag":55,"props":269,"children":270},{"style":62},[271],{"type":18,"value":272},"impl",{"type":13,"tag":55,"props":274,"children":275},{"style":246},[276],{"type":18,"value":249},{"type":13,"tag":55,"props":278,"children":279},{"style":73},[280],{"type":18,"value":281}," {\n",{"type":13,"tag":55,"props":283,"children":284},{"class":57,"line":104},[285,290,295,300,305,310,315,319],{"type":13,"tag":55,"props":286,"children":287},{"style":62},[288],{"type":18,"value":289}," pub",{"type":13,"tag":55,"props":291,"children":292},{"style":62},[293],{"type":18,"value":294}," const",{"type":13,"tag":55,"props":296,"children":297},{"style":93},[298],{"type":18,"value":299}," FLOAT_TRANSPARENT_BLACK",{"type":13,"tag":55,"props":301,"children":302},{"style":62},[303],{"type":18,"value":304},":",{"type":13,"tag":55,"props":306,"children":307},{"style":93},[308],{"type":18,"value":309}," Self",{"type":13,"tag":55,"props":311,"children":312},{"style":62},[313],{"type":18,"value":314}," =",{"type":13,"tag":55,"props":316,"children":317},{"style":93},[318],{"type":18,"value":96},{"type":13,"tag":55,"props":320,"children":321},{"style":73},[322],{"type":18,"value":323},";\n",{"type":13,"tag":55,"props":325,"children":326},{"class":57,"line":126},[327,331,335,340,344,348,352,356],{"type":13,"tag":55,"props":328,"children":329},{"style":62},[330],{"type":18,"value":289},{"type":13,"tag":55,"props":332,"children":333},{"style":62},[334],{"type":18,"value":294},{"type":13,"tag":55,"props":336,"children":337},{"style":93},[338],{"type":18,"value":339}," INT_TRANSPARENT_BLACK",{"type":13,"tag":55,"props":341,"children":342},{"style":62},[343],{"type":18,"value":304},{"type":13,"tag":55,"props":345,"children":346},{"style":93},[347],{"type":18,"value":309},{"type":13,"tag":55,"props":349,"children":350},{"style":62},[351],{"type":18,"value":314},{"type":13,"tag":55,"props":353,"children":354},{"style":93},[355],{"type":18,"value":119},{"type":13,"tag":55,"props":357,"children":358},{"style":73},[359],{"type":18,"value":323},{"type":13,"tag":55,"props":361,"children":362},{"class":57,"line":148},[363,367,371,376,380,384,388,392],{"type":13,"tag":55,"props":364,"children":365},{"style":62},[366],{"type":18,"value":289},{"type":13,"tag":55,"props":368,"children":369},{"style":62},[370],{"type":18,"value":294},{"type":13,"tag":55,"props":372,"children":373},{"style":93},[374],{"type":18,"value":375}," FLOAT_OPAQUE_BLACK",{"type":13,"tag":55,"props":377,"children":378},{"style":62},[379],{"type":18,"value":304},{"type":13,"tag":55,"props":381,"children":382},{"style":93},[383],{"type":18,"value":309},{"type":13,"tag":55,"props":385,"children":386},{"style":62},[387],{"type":18,"value":314},{"type":13,"tag":55,"props":389,"children":390},{"style":93},[391],{"type":18,"value":141},{"type":13,"tag":55,"props":393,"children":394},{"style":73},[395],{"type":18,"value":323},{"type":13,"tag":55,"props":397,"children":398},{"class":57,"line":170},[399,403,407,412,416,420,424,428],{"type":13,"tag":55,"props":400,"children":401},{"style":62},[402],{"type":18,"value":289},{"type":13,"tag":55,"props":404,"children":405},{"style":62},[406],{"type":18,"value":294},{"type":13,"tag":55,"props":408,"children":409},{"style":93},[410],{"type":18,"value":411}," INT_OPAQUE_BLACK",{"type":13,"tag":55,"props":413,"children":414},{"style":62},[415],{"type":18,"value":304},{"type":13,"tag":55,"props":417,"children":418},{"style":93},[419],{"type":18,"value":309},{"type":13,"tag":55,"props":421,"children":422},{"style":62},[423],{"type":18,"value":314},{"type":13,"tag":55,"props":425,"children":426},{"style":93},[427],{"type":18,"value":163},{"type":13,"tag":55,"props":429,"children":430},{"style":73},[431],{"type":18,"value":323},{"type":13,"tag":55,"props":433,"children":434},{"class":57,"line":192},[435,439,443,448,452,456,460,464],{"type":13,"tag":55,"props":436,"children":437},{"style":62},[438],{"type":18,"value":289},{"type":13,"tag":55,"props":440,"children":441},{"style":62},[442],{"type":18,"value":294},{"type":13,"tag":55,"props":444,"children":445},{"style":93},[446],{"type":18,"value":447}," FLOAT_OPAQUE_WHITE",{"type":13,"tag":55,"props":449,"children":450},{"style":62},[451],{"type":18,"value":304},{"type":13,"tag":55,"props":453,"children":454},{"style":93},[455],{"type":18,"value":309},{"type":13,"tag":55,"props":457,"children":458},{"style":62},[459],{"type":18,"value":314},{"type":13,"tag":55,"props":461,"children":462},{"style":93},[463],{"type":18,"value":185},{"type":13,"tag":55,"props":465,"children":466},{"style":73},[467],{"type":18,"value":323},{"type":13,"tag":55,"props":469,"children":470},{"class":57,"line":214},[471,475,479,484,488,492,496,500],{"type":13,"tag":55,"props":472,"children":473},{"style":62},[474],{"type":18,"value":289},{"type":13,"tag":55,"props":476,"children":477},{"style":62},[478],{"type":18,"value":294},{"type":13,"tag":55,"props":480,"children":481},{"style":93},[482],{"type":18,"value":483}," INT_OPAQUE_WHITE",{"type":13,"tag":55,"props":485,"children":486},{"style":62},[487],{"type":18,"value":304},{"type":13,"tag":55,"props":489,"children":490},{"style":93},[491],{"type":18,"value":309},{"type":13,"tag":55,"props":493,"children":494},{"style":62},[495],{"type":18,"value":314},{"type":13,"tag":55,"props":497,"children":498},{"style":93},[499],{"type":18,"value":207},{"type":13,"tag":55,"props":501,"children":502},{"style":73},[503],{"type":18,"value":323},{"type":13,"tag":55,"props":505,"children":507},{"class":57,"line":506},9,[508],{"type":13,"tag":55,"props":509,"children":510},{"style":73},[511],{"type":18,"value":512},"}\n",{"type":13,"tag":514,"props":515,"children":516},"ul",{},[517,529,540,551,562,573,584,616],{"type":13,"tag":518,"props":519,"children":520},"li",{},[521,527],{"type":13,"tag":30,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":526},"VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK",{"type":18,"value":528}," specifies a transparent,\nfloating-point format, black color.",{"type":13,"tag":518,"props":530,"children":531},{},[532,538],{"type":13,"tag":30,"props":533,"children":535},{"className":534},[],[536],{"type":18,"value":537},"VK_BORDER_COLOR_INT_TRANSPARENT_BLACK",{"type":18,"value":539}," specifies a transparent,\ninteger format, black color.",{"type":13,"tag":518,"props":541,"children":542},{},[543,549],{"type":13,"tag":30,"props":544,"children":546},{"className":545},[],[547],{"type":18,"value":548},"VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK",{"type":18,"value":550}," specifies an opaque,\nfloating-point format, black color.",{"type":13,"tag":518,"props":552,"children":553},{},[554,560],{"type":13,"tag":30,"props":555,"children":557},{"className":556},[],[558],{"type":18,"value":559},"VK_BORDER_COLOR_INT_OPAQUE_BLACK",{"type":18,"value":561}," specifies an opaque, integer\nformat, black color.",{"type":13,"tag":518,"props":563,"children":564},{},[565,571],{"type":13,"tag":30,"props":566,"children":568},{"className":567},[],[569],{"type":18,"value":570},"VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE",{"type":18,"value":572}," specifies an opaque,\nfloating-point format, white color.",{"type":13,"tag":518,"props":574,"children":575},{},[576,582],{"type":13,"tag":30,"props":577,"children":579},{"className":578},[],[580],{"type":18,"value":581},"VK_BORDER_COLOR_INT_OPAQUE_WHITE",{"type":18,"value":583}," specifies an opaque, integer\nformat, white color.",{"type":13,"tag":518,"props":585,"children":586},{},[587,593,595,601,603,607,608,614],{"type":13,"tag":30,"props":588,"children":590},{"className":589},[],[591],{"type":18,"value":592},"VK_BORDER_COLOR_FLOAT_CUSTOM_EXT",{"type":18,"value":594}," indicates that a\n",{"type":13,"tag":21,"props":596,"children":598},{"href":597},"/man/VkSamplerCustomBorderColorCreateInfoEXT",[599],{"type":18,"value":600},"VkSamplerCustomBorderColorCreateInfoEXT",{"type":18,"value":602}," structure is included in\nthe ",{"type":13,"tag":21,"props":604,"children":605},{"href":23},[606],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":609,"children":611},{"className":610},[],[612],{"type":18,"value":613},"pNext",{"type":18,"value":615}," chain containing the color\ndata in floating-point format.",{"type":13,"tag":518,"props":617,"children":618},{},[619,625,626,630,631,635,636,641],{"type":13,"tag":30,"props":620,"children":622},{"className":621},[],[623],{"type":18,"value":624},"VK_BORDER_COLOR_INT_CUSTOM_EXT",{"type":18,"value":594},{"type":13,"tag":21,"props":627,"children":628},{"href":597},[629],{"type":18,"value":600},{"type":18,"value":602},{"type":13,"tag":21,"props":632,"children":633},{"href":23},[634],{"type":18,"value":26},{"type":18,"value":28},{"type":13,"tag":30,"props":637,"children":639},{"className":638},[],[640],{"type":18,"value":613},{"type":18,"value":642}," chain containing the color\ndata in integer format.",{"type":13,"tag":14,"props":644,"children":645},{},[646,648,654],{"type":18,"value":647},"These colors are described in detail in ",{"type":13,"tag":21,"props":649,"children":651},{"href":650},"/chapters/textures#textures-texel-replacement",[652],{"type":18,"value":653},"Texel\nReplacement",{"type":18,"value":655},".",{"type":13,"tag":657,"props":658,"children":659},"style",{},[660],{"type":18,"value":661},"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":49,"searchDepth":79,"depth":79,"links":663},[],"markdown",1725732540517]