[{"data":1,"prerenderedAt":1428},["ShallowReactive",2],{"nLin64H5z8":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":1427,"_id":4},"VkPrimitiveTopology","Supported primitive topologies","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":1425},"root",[12,28,794,1041,1046,1400,1419],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26],{"type":18,"value":19},"text","The primitive topologies defined by ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkPrimitiveTopology",[25],{"type":18,"value":4},{"type":18,"value":27}," are:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,322],{"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 enum VkPrimitiveTopology {\n VK_PRIMITIVE_TOPOLOGY_POINT_LIST = 0,\n VK_PRIMITIVE_TOPOLOGY_LINE_LIST = 1,\n VK_PRIMITIVE_TOPOLOGY_LINE_STRIP = 2,\n VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST = 3,\n VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP = 4,\n VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN = 5,\n VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY = 6,\n VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY = 7,\n VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY = 8,\n VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY = 9,\n VK_PRIMITIVE_TOPOLOGY_PATCH_LIST = 10,\n} VkPrimitiveTopology;\n","C","c","",[41],{"type":13,"tag":42,"props":43,"children":44},"code",{"__ignoreMap":39},[45,68,93,115,137,159,181,203,225,247,269,291,313],{"type":13,"tag":46,"props":47,"children":50},"span",{"class":48,"line":49},"line",1,[51,57,62],{"type":13,"tag":46,"props":52,"children":54},{"style":53},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[55],{"type":18,"value":56},"typedef",{"type":13,"tag":46,"props":58,"children":59},{"style":53},[60],{"type":18,"value":61}," enum",{"type":13,"tag":46,"props":63,"children":65},{"style":64},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[66],{"type":18,"value":67}," VkPrimitiveTopology {\n",{"type":13,"tag":46,"props":69,"children":71},{"class":48,"line":70},2,[72,77,82,88],{"type":13,"tag":46,"props":73,"children":74},{"style":64},[75],{"type":18,"value":76}," VK_PRIMITIVE_TOPOLOGY_POINT_LIST ",{"type":13,"tag":46,"props":78,"children":79},{"style":53},[80],{"type":18,"value":81},"=",{"type":13,"tag":46,"props":83,"children":85},{"style":84},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[86],{"type":18,"value":87}," 0",{"type":13,"tag":46,"props":89,"children":90},{"style":64},[91],{"type":18,"value":92},",\n",{"type":13,"tag":46,"props":94,"children":96},{"class":48,"line":95},3,[97,102,106,111],{"type":13,"tag":46,"props":98,"children":99},{"style":64},[100],{"type":18,"value":101}," VK_PRIMITIVE_TOPOLOGY_LINE_LIST ",{"type":13,"tag":46,"props":103,"children":104},{"style":53},[105],{"type":18,"value":81},{"type":13,"tag":46,"props":107,"children":108},{"style":84},[109],{"type":18,"value":110}," 1",{"type":13,"tag":46,"props":112,"children":113},{"style":64},[114],{"type":18,"value":92},{"type":13,"tag":46,"props":116,"children":118},{"class":48,"line":117},4,[119,124,128,133],{"type":13,"tag":46,"props":120,"children":121},{"style":64},[122],{"type":18,"value":123}," VK_PRIMITIVE_TOPOLOGY_LINE_STRIP ",{"type":13,"tag":46,"props":125,"children":126},{"style":53},[127],{"type":18,"value":81},{"type":13,"tag":46,"props":129,"children":130},{"style":84},[131],{"type":18,"value":132}," 2",{"type":13,"tag":46,"props":134,"children":135},{"style":64},[136],{"type":18,"value":92},{"type":13,"tag":46,"props":138,"children":140},{"class":48,"line":139},5,[141,146,150,155],{"type":13,"tag":46,"props":142,"children":143},{"style":64},[144],{"type":18,"value":145}," VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST ",{"type":13,"tag":46,"props":147,"children":148},{"style":53},[149],{"type":18,"value":81},{"type":13,"tag":46,"props":151,"children":152},{"style":84},[153],{"type":18,"value":154}," 3",{"type":13,"tag":46,"props":156,"children":157},{"style":64},[158],{"type":18,"value":92},{"type":13,"tag":46,"props":160,"children":162},{"class":48,"line":161},6,[163,168,172,177],{"type":13,"tag":46,"props":164,"children":165},{"style":64},[166],{"type":18,"value":167}," VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP ",{"type":13,"tag":46,"props":169,"children":170},{"style":53},[171],{"type":18,"value":81},{"type":13,"tag":46,"props":173,"children":174},{"style":84},[175],{"type":18,"value":176}," 4",{"type":13,"tag":46,"props":178,"children":179},{"style":64},[180],{"type":18,"value":92},{"type":13,"tag":46,"props":182,"children":184},{"class":48,"line":183},7,[185,190,194,199],{"type":13,"tag":46,"props":186,"children":187},{"style":64},[188],{"type":18,"value":189}," VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN ",{"type":13,"tag":46,"props":191,"children":192},{"style":53},[193],{"type":18,"value":81},{"type":13,"tag":46,"props":195,"children":196},{"style":84},[197],{"type":18,"value":198}," 5",{"type":13,"tag":46,"props":200,"children":201},{"style":64},[202],{"type":18,"value":92},{"type":13,"tag":46,"props":204,"children":206},{"class":48,"line":205},8,[207,212,216,221],{"type":13,"tag":46,"props":208,"children":209},{"style":64},[210],{"type":18,"value":211}," VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY ",{"type":13,"tag":46,"props":213,"children":214},{"style":53},[215],{"type":18,"value":81},{"type":13,"tag":46,"props":217,"children":218},{"style":84},[219],{"type":18,"value":220}," 6",{"type":13,"tag":46,"props":222,"children":223},{"style":64},[224],{"type":18,"value":92},{"type":13,"tag":46,"props":226,"children":228},{"class":48,"line":227},9,[229,234,238,243],{"type":13,"tag":46,"props":230,"children":231},{"style":64},[232],{"type":18,"value":233}," VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY ",{"type":13,"tag":46,"props":235,"children":236},{"style":53},[237],{"type":18,"value":81},{"type":13,"tag":46,"props":239,"children":240},{"style":84},[241],{"type":18,"value":242}," 7",{"type":13,"tag":46,"props":244,"children":245},{"style":64},[246],{"type":18,"value":92},{"type":13,"tag":46,"props":248,"children":250},{"class":48,"line":249},10,[251,256,260,265],{"type":13,"tag":46,"props":252,"children":253},{"style":64},[254],{"type":18,"value":255}," VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY ",{"type":13,"tag":46,"props":257,"children":258},{"style":53},[259],{"type":18,"value":81},{"type":13,"tag":46,"props":261,"children":262},{"style":84},[263],{"type":18,"value":264}," 8",{"type":13,"tag":46,"props":266,"children":267},{"style":64},[268],{"type":18,"value":92},{"type":13,"tag":46,"props":270,"children":272},{"class":48,"line":271},11,[273,278,282,287],{"type":13,"tag":46,"props":274,"children":275},{"style":64},[276],{"type":18,"value":277}," VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY ",{"type":13,"tag":46,"props":279,"children":280},{"style":53},[281],{"type":18,"value":81},{"type":13,"tag":46,"props":283,"children":284},{"style":84},[285],{"type":18,"value":286}," 9",{"type":13,"tag":46,"props":288,"children":289},{"style":64},[290],{"type":18,"value":92},{"type":13,"tag":46,"props":292,"children":294},{"class":48,"line":293},12,[295,300,304,309],{"type":13,"tag":46,"props":296,"children":297},{"style":64},[298],{"type":18,"value":299}," VK_PRIMITIVE_TOPOLOGY_PATCH_LIST ",{"type":13,"tag":46,"props":301,"children":302},{"style":53},[303],{"type":18,"value":81},{"type":13,"tag":46,"props":305,"children":306},{"style":84},[307],{"type":18,"value":308}," 10",{"type":13,"tag":46,"props":310,"children":311},{"style":64},[312],{"type":18,"value":92},{"type":13,"tag":46,"props":314,"children":316},{"class":48,"line":315},13,[317],{"type":13,"tag":46,"props":318,"children":319},{"style":64},[320],{"type":18,"value":321},"} VkPrimitiveTopology;\n",{"type":13,"tag":33,"props":323,"children":328},{"className":324,"code":325,"filename":326,"language":327,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PrimitiveTopology(u32);\nimpl PrimitiveTopology {\n pub const POINT_LIST: Self = 0;\n pub const LINE_LIST: Self = 1;\n pub const LINE_STRIP: Self = 2;\n pub const TRIANGLE_LIST: Self = 3;\n pub const TRIANGLE_STRIP: Self = 4;\n pub const TRIANGLE_FAN: Self = 5;\n pub const LINE_LIST_WITH_ADJACENCY: Self = 6;\n pub const LINE_STRIP_WITH_ADJACENCY: Self = 7;\n pub const TRIANGLE_LIST_WITH_ADJACENCY: Self = 8;\n pub const TRIANGLE_STRIP_WITH_ADJACENCY: Self = 9;\n pub const PATCH_LIST: Self = 10;\n}\n","Rust","rs",[329],{"type":13,"tag":42,"props":330,"children":331},{"__ignoreMap":39},[332,366,383,425,461,497,533,569,605,641,677,713,749,785],{"type":13,"tag":46,"props":333,"children":334},{"class":48,"line":49},[335,340,345,351,356,361],{"type":13,"tag":46,"props":336,"children":337},{"style":53},[338],{"type":18,"value":339},"pub",{"type":13,"tag":46,"props":341,"children":342},{"style":53},[343],{"type":18,"value":344}," struct",{"type":13,"tag":46,"props":346,"children":348},{"style":347},"--shiki-default:#953800;--shiki-dark:#FFA657",[349],{"type":18,"value":350}," PrimitiveTopology",{"type":13,"tag":46,"props":352,"children":353},{"style":64},[354],{"type":18,"value":355},"(",{"type":13,"tag":46,"props":357,"children":358},{"style":347},[359],{"type":18,"value":360},"u32",{"type":13,"tag":46,"props":362,"children":363},{"style":64},[364],{"type":18,"value":365},");\n",{"type":13,"tag":46,"props":367,"children":368},{"class":48,"line":70},[369,374,378],{"type":13,"tag":46,"props":370,"children":371},{"style":53},[372],{"type":18,"value":373},"impl",{"type":13,"tag":46,"props":375,"children":376},{"style":347},[377],{"type":18,"value":350},{"type":13,"tag":46,"props":379,"children":380},{"style":64},[381],{"type":18,"value":382}," {\n",{"type":13,"tag":46,"props":384,"children":385},{"class":48,"line":95},[386,391,396,401,406,411,416,420],{"type":13,"tag":46,"props":387,"children":388},{"style":53},[389],{"type":18,"value":390}," pub",{"type":13,"tag":46,"props":392,"children":393},{"style":53},[394],{"type":18,"value":395}," const",{"type":13,"tag":46,"props":397,"children":398},{"style":84},[399],{"type":18,"value":400}," POINT_LIST",{"type":13,"tag":46,"props":402,"children":403},{"style":53},[404],{"type":18,"value":405},":",{"type":13,"tag":46,"props":407,"children":408},{"style":84},[409],{"type":18,"value":410}," Self",{"type":13,"tag":46,"props":412,"children":413},{"style":53},[414],{"type":18,"value":415}," =",{"type":13,"tag":46,"props":417,"children":418},{"style":84},[419],{"type":18,"value":87},{"type":13,"tag":46,"props":421,"children":422},{"style":64},[423],{"type":18,"value":424},";\n",{"type":13,"tag":46,"props":426,"children":427},{"class":48,"line":117},[428,432,436,441,445,449,453,457],{"type":13,"tag":46,"props":429,"children":430},{"style":53},[431],{"type":18,"value":390},{"type":13,"tag":46,"props":433,"children":434},{"style":53},[435],{"type":18,"value":395},{"type":13,"tag":46,"props":437,"children":438},{"style":84},[439],{"type":18,"value":440}," LINE_LIST",{"type":13,"tag":46,"props":442,"children":443},{"style":53},[444],{"type":18,"value":405},{"type":13,"tag":46,"props":446,"children":447},{"style":84},[448],{"type":18,"value":410},{"type":13,"tag":46,"props":450,"children":451},{"style":53},[452],{"type":18,"value":415},{"type":13,"tag":46,"props":454,"children":455},{"style":84},[456],{"type":18,"value":110},{"type":13,"tag":46,"props":458,"children":459},{"style":64},[460],{"type":18,"value":424},{"type":13,"tag":46,"props":462,"children":463},{"class":48,"line":139},[464,468,472,477,481,485,489,493],{"type":13,"tag":46,"props":465,"children":466},{"style":53},[467],{"type":18,"value":390},{"type":13,"tag":46,"props":469,"children":470},{"style":53},[471],{"type":18,"value":395},{"type":13,"tag":46,"props":473,"children":474},{"style":84},[475],{"type":18,"value":476}," LINE_STRIP",{"type":13,"tag":46,"props":478,"children":479},{"style":53},[480],{"type":18,"value":405},{"type":13,"tag":46,"props":482,"children":483},{"style":84},[484],{"type":18,"value":410},{"type":13,"tag":46,"props":486,"children":487},{"style":53},[488],{"type":18,"value":415},{"type":13,"tag":46,"props":490,"children":491},{"style":84},[492],{"type":18,"value":132},{"type":13,"tag":46,"props":494,"children":495},{"style":64},[496],{"type":18,"value":424},{"type":13,"tag":46,"props":498,"children":499},{"class":48,"line":161},[500,504,508,513,517,521,525,529],{"type":13,"tag":46,"props":501,"children":502},{"style":53},[503],{"type":18,"value":390},{"type":13,"tag":46,"props":505,"children":506},{"style":53},[507],{"type":18,"value":395},{"type":13,"tag":46,"props":509,"children":510},{"style":84},[511],{"type":18,"value":512}," TRIANGLE_LIST",{"type":13,"tag":46,"props":514,"children":515},{"style":53},[516],{"type":18,"value":405},{"type":13,"tag":46,"props":518,"children":519},{"style":84},[520],{"type":18,"value":410},{"type":13,"tag":46,"props":522,"children":523},{"style":53},[524],{"type":18,"value":415},{"type":13,"tag":46,"props":526,"children":527},{"style":84},[528],{"type":18,"value":154},{"type":13,"tag":46,"props":530,"children":531},{"style":64},[532],{"type":18,"value":424},{"type":13,"tag":46,"props":534,"children":535},{"class":48,"line":183},[536,540,544,549,553,557,561,565],{"type":13,"tag":46,"props":537,"children":538},{"style":53},[539],{"type":18,"value":390},{"type":13,"tag":46,"props":541,"children":542},{"style":53},[543],{"type":18,"value":395},{"type":13,"tag":46,"props":545,"children":546},{"style":84},[547],{"type":18,"value":548}," TRIANGLE_STRIP",{"type":13,"tag":46,"props":550,"children":551},{"style":53},[552],{"type":18,"value":405},{"type":13,"tag":46,"props":554,"children":555},{"style":84},[556],{"type":18,"value":410},{"type":13,"tag":46,"props":558,"children":559},{"style":53},[560],{"type":18,"value":415},{"type":13,"tag":46,"props":562,"children":563},{"style":84},[564],{"type":18,"value":176},{"type":13,"tag":46,"props":566,"children":567},{"style":64},[568],{"type":18,"value":424},{"type":13,"tag":46,"props":570,"children":571},{"class":48,"line":205},[572,576,580,585,589,593,597,601],{"type":13,"tag":46,"props":573,"children":574},{"style":53},[575],{"type":18,"value":390},{"type":13,"tag":46,"props":577,"children":578},{"style":53},[579],{"type":18,"value":395},{"type":13,"tag":46,"props":581,"children":582},{"style":84},[583],{"type":18,"value":584}," TRIANGLE_FAN",{"type":13,"tag":46,"props":586,"children":587},{"style":53},[588],{"type":18,"value":405},{"type":13,"tag":46,"props":590,"children":591},{"style":84},[592],{"type":18,"value":410},{"type":13,"tag":46,"props":594,"children":595},{"style":53},[596],{"type":18,"value":415},{"type":13,"tag":46,"props":598,"children":599},{"style":84},[600],{"type":18,"value":198},{"type":13,"tag":46,"props":602,"children":603},{"style":64},[604],{"type":18,"value":424},{"type":13,"tag":46,"props":606,"children":607},{"class":48,"line":227},[608,612,616,621,625,629,633,637],{"type":13,"tag":46,"props":609,"children":610},{"style":53},[611],{"type":18,"value":390},{"type":13,"tag":46,"props":613,"children":614},{"style":53},[615],{"type":18,"value":395},{"type":13,"tag":46,"props":617,"children":618},{"style":84},[619],{"type":18,"value":620}," LINE_LIST_WITH_ADJACENCY",{"type":13,"tag":46,"props":622,"children":623},{"style":53},[624],{"type":18,"value":405},{"type":13,"tag":46,"props":626,"children":627},{"style":84},[628],{"type":18,"value":410},{"type":13,"tag":46,"props":630,"children":631},{"style":53},[632],{"type":18,"value":415},{"type":13,"tag":46,"props":634,"children":635},{"style":84},[636],{"type":18,"value":220},{"type":13,"tag":46,"props":638,"children":639},{"style":64},[640],{"type":18,"value":424},{"type":13,"tag":46,"props":642,"children":643},{"class":48,"line":249},[644,648,652,657,661,665,669,673],{"type":13,"tag":46,"props":645,"children":646},{"style":53},[647],{"type":18,"value":390},{"type":13,"tag":46,"props":649,"children":650},{"style":53},[651],{"type":18,"value":395},{"type":13,"tag":46,"props":653,"children":654},{"style":84},[655],{"type":18,"value":656}," LINE_STRIP_WITH_ADJACENCY",{"type":13,"tag":46,"props":658,"children":659},{"style":53},[660],{"type":18,"value":405},{"type":13,"tag":46,"props":662,"children":663},{"style":84},[664],{"type":18,"value":410},{"type":13,"tag":46,"props":666,"children":667},{"style":53},[668],{"type":18,"value":415},{"type":13,"tag":46,"props":670,"children":671},{"style":84},[672],{"type":18,"value":242},{"type":13,"tag":46,"props":674,"children":675},{"style":64},[676],{"type":18,"value":424},{"type":13,"tag":46,"props":678,"children":679},{"class":48,"line":271},[680,684,688,693,697,701,705,709],{"type":13,"tag":46,"props":681,"children":682},{"style":53},[683],{"type":18,"value":390},{"type":13,"tag":46,"props":685,"children":686},{"style":53},[687],{"type":18,"value":395},{"type":13,"tag":46,"props":689,"children":690},{"style":84},[691],{"type":18,"value":692}," TRIANGLE_LIST_WITH_ADJACENCY",{"type":13,"tag":46,"props":694,"children":695},{"style":53},[696],{"type":18,"value":405},{"type":13,"tag":46,"props":698,"children":699},{"style":84},[700],{"type":18,"value":410},{"type":13,"tag":46,"props":702,"children":703},{"style":53},[704],{"type":18,"value":415},{"type":13,"tag":46,"props":706,"children":707},{"style":84},[708],{"type":18,"value":264},{"type":13,"tag":46,"props":710,"children":711},{"style":64},[712],{"type":18,"value":424},{"type":13,"tag":46,"props":714,"children":715},{"class":48,"line":293},[716,720,724,729,733,737,741,745],{"type":13,"tag":46,"props":717,"children":718},{"style":53},[719],{"type":18,"value":390},{"type":13,"tag":46,"props":721,"children":722},{"style":53},[723],{"type":18,"value":395},{"type":13,"tag":46,"props":725,"children":726},{"style":84},[727],{"type":18,"value":728}," TRIANGLE_STRIP_WITH_ADJACENCY",{"type":13,"tag":46,"props":730,"children":731},{"style":53},[732],{"type":18,"value":405},{"type":13,"tag":46,"props":734,"children":735},{"style":84},[736],{"type":18,"value":410},{"type":13,"tag":46,"props":738,"children":739},{"style":53},[740],{"type":18,"value":415},{"type":13,"tag":46,"props":742,"children":743},{"style":84},[744],{"type":18,"value":286},{"type":13,"tag":46,"props":746,"children":747},{"style":64},[748],{"type":18,"value":424},{"type":13,"tag":46,"props":750,"children":751},{"class":48,"line":315},[752,756,760,765,769,773,777,781],{"type":13,"tag":46,"props":753,"children":754},{"style":53},[755],{"type":18,"value":390},{"type":13,"tag":46,"props":757,"children":758},{"style":53},[759],{"type":18,"value":395},{"type":13,"tag":46,"props":761,"children":762},{"style":84},[763],{"type":18,"value":764}," PATCH_LIST",{"type":13,"tag":46,"props":766,"children":767},{"style":53},[768],{"type":18,"value":405},{"type":13,"tag":46,"props":770,"children":771},{"style":84},[772],{"type":18,"value":410},{"type":13,"tag":46,"props":774,"children":775},{"style":53},[776],{"type":18,"value":415},{"type":13,"tag":46,"props":778,"children":779},{"style":84},[780],{"type":18,"value":308},{"type":13,"tag":46,"props":782,"children":783},{"style":64},[784],{"type":18,"value":424},{"type":13,"tag":46,"props":786,"children":788},{"class":48,"line":787},14,[789],{"type":13,"tag":46,"props":790,"children":791},{"style":64},[792],{"type":18,"value":793},"}\n",{"type":13,"tag":795,"props":796,"children":797},"ul",{},[798,818,835,853,870,888,951,969,987,1005,1024],{"type":13,"tag":799,"props":800,"children":801},"li",{},[802,808,810,816],{"type":13,"tag":42,"props":803,"children":805},{"className":804},[],[806],{"type":18,"value":807},"VK_PRIMITIVE_TOPOLOGY_POINT_LIST",{"type":18,"value":809}," specifies a series of\n",{"type":13,"tag":21,"props":811,"children":813},{"href":812},"/chapters/drawing#drawing-point-lists",[814],{"type":18,"value":815},"separate point primitives",{"type":18,"value":817},".",{"type":13,"tag":799,"props":819,"children":820},{},[821,827,828,834],{"type":13,"tag":42,"props":822,"children":824},{"className":823},[],[825],{"type":18,"value":826},"VK_PRIMITIVE_TOPOLOGY_LINE_LIST",{"type":18,"value":809},{"type":13,"tag":21,"props":829,"children":831},{"href":830},"/chapters/drawing#drawing-line-lists",[832],{"type":18,"value":833},"separate line primitives",{"type":18,"value":817},{"type":13,"tag":799,"props":836,"children":837},{},[838,844,845,851],{"type":13,"tag":42,"props":839,"children":841},{"className":840},[],[842],{"type":18,"value":843},"VK_PRIMITIVE_TOPOLOGY_LINE_STRIP",{"type":18,"value":809},{"type":13,"tag":21,"props":846,"children":848},{"href":847},"/chapters/drawing#drawing-line-strips",[849],{"type":18,"value":850},"connected line primitives",{"type":18,"value":852}," with consecutive lines\nsharing a vertex.",{"type":13,"tag":799,"props":854,"children":855},{},[856,862,863,869],{"type":13,"tag":42,"props":857,"children":859},{"className":858},[],[860],{"type":18,"value":861},"VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST",{"type":18,"value":809},{"type":13,"tag":21,"props":864,"children":866},{"href":865},"/chapters/drawing#drawing-triangle-lists",[867],{"type":18,"value":868},"separate triangle primitives",{"type":18,"value":817},{"type":13,"tag":799,"props":871,"children":872},{},[873,879,880,886],{"type":13,"tag":42,"props":874,"children":876},{"className":875},[],[877],{"type":18,"value":878},"VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP",{"type":18,"value":809},{"type":13,"tag":21,"props":881,"children":883},{"href":882},"/chapters/drawing#drawing-triangle-strips",[884],{"type":18,"value":885},"connected triangle primitives",{"type":18,"value":887}," with\nconsecutive triangles sharing an edge.",{"type":13,"tag":799,"props":889,"children":890},{},[891,897,898,903,905,911,913,919,921,927,929,935,937,942,944,949],{"type":13,"tag":42,"props":892,"children":894},{"className":893},[],[895],{"type":18,"value":896},"VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN",{"type":18,"value":809},{"type":13,"tag":21,"props":899,"children":901},{"href":900},"/chapters/drawing#drawing-triangle-fans",[902],{"type":18,"value":885},{"type":18,"value":904}," with all\ntriangles sharing a common vertex.\nIf the ",{"type":13,"tag":21,"props":906,"children":908},{"href":907},"/extensions/VK_KHR_portability_subset",[909],{"type":18,"value":910},"VK_KHR_portability_subset",{"type":18,"value":912}," extension is enabled, and\n",{"type":13,"tag":21,"props":914,"children":916},{"href":915},"/man/VkPhysicalDevicePortabilitySubsetFeaturesKHR",[917],{"type":18,"value":918},"VkPhysicalDevicePortabilitySubsetFeaturesKHR",{"type":18,"value":920},"::",{"type":13,"tag":42,"props":922,"children":924},{"className":923},[],[925],{"type":18,"value":926},"triangleFans",{"type":18,"value":928},"\nis ",{"type":13,"tag":42,"props":930,"children":932},{"className":931},[],[933],{"type":18,"value":934},"VK_FALSE",{"type":18,"value":936},", then triangle fans are not supported by the\nimplementation, and ",{"type":13,"tag":42,"props":938,"children":940},{"className":939},[],[941],{"type":18,"value":896},{"type":18,"value":943}," ",{"type":13,"tag":945,"props":946,"children":948},"normative",{"type":947},"must",[],{"type":18,"value":950}," not\nbe used.",{"type":13,"tag":799,"props":952,"children":953},{},[954,960,962,968],{"type":13,"tag":42,"props":955,"children":957},{"className":956},[],[958],{"type":18,"value":959},"VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY",{"type":18,"value":961}," specifies a series\nof ",{"type":13,"tag":21,"props":963,"children":965},{"href":964},"/chapters/drawing#drawing-line-lists-with-adjacency",[966],{"type":18,"value":967},"separate line primitives with\nadjacency",{"type":18,"value":817},{"type":13,"tag":799,"props":970,"children":971},{},[972,978,979,985],{"type":13,"tag":42,"props":973,"children":975},{"className":974},[],[976],{"type":18,"value":977},"VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY",{"type":18,"value":961},{"type":13,"tag":21,"props":980,"children":982},{"href":981},"/chapters/drawing#drawing-line-strips-with-adjacency",[983],{"type":18,"value":984},"connected line primitives with\nadjacency",{"type":18,"value":986},", with consecutive primitives sharing three vertices.",{"type":13,"tag":799,"props":988,"children":989},{},[990,996,998,1004],{"type":13,"tag":42,"props":991,"children":993},{"className":992},[],[994],{"type":18,"value":995},"VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY",{"type":18,"value":997}," specifies a\nseries of ",{"type":13,"tag":21,"props":999,"children":1001},{"href":1000},"/chapters/drawing#drawing-triangle-lists-with-adjacency",[1002],{"type":18,"value":1003},"separate triangle\nprimitives with adjacency",{"type":18,"value":817},{"type":13,"tag":799,"props":1006,"children":1007},{},[1008,1014,1016,1022],{"type":13,"tag":42,"props":1009,"children":1011},{"className":1010},[],[1012],{"type":18,"value":1013},"VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY",{"type":18,"value":1015}," specifies\n",{"type":13,"tag":21,"props":1017,"children":1019},{"href":1018},"/chapters/drawing#drawing-triangle-strips-with-adjacency",[1020],{"type":18,"value":1021},"connected triangle primitives\nwith adjacency",{"type":18,"value":1023},", with consecutive triangles sharing an edge.",{"type":13,"tag":799,"props":1025,"children":1026},{},[1027,1033,1034,1040],{"type":13,"tag":42,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":18,"value":1032},"VK_PRIMITIVE_TOPOLOGY_PATCH_LIST",{"type":18,"value":1015},{"type":13,"tag":21,"props":1035,"children":1037},{"href":1036},"/chapters/drawing#drawing-patch-lists",[1038],{"type":18,"value":1039},"separate patch primitives",{"type":18,"value":817},{"type":13,"tag":14,"props":1042,"children":1043},{},[1044],{"type":18,"value":1045},"Each primitive topology, and its construction from a list of vertices, is\ndescribed in detail below with a supporting diagram, according to the\nfollowing key:",{"type":13,"tag":1047,"props":1048,"children":1054},"table",{"className":1049},[1050,1051,1052,1053],"tableblock","frame-all","grid-all","stretch",[1055,1072],{"type":13,"tag":1056,"props":1057,"children":1058},"colgroup",{},[1059,1064,1068],{"type":13,"tag":1060,"props":1061,"children":1063},"col",{"style":1062},"width: 8.3333%;",[],{"type":13,"tag":1060,"props":1065,"children":1067},{"style":1066},"width: 16.6666%;",[],{"type":13,"tag":1060,"props":1069,"children":1071},{"style":1070},"width: 75.0001%;",[],{"type":13,"tag":1073,"props":1074,"children":1075},"tbody",{},[1076,1136,1185,1241,1290,1345],{"type":13,"tag":1077,"props":1078,"children":1079},"tr",{},[1080,1114,1125],{"type":13,"tag":1081,"props":1082,"children":1086},"td",{"className":1083},[1050,1084,1085],"halign-center","valign-middle",[1087],{"type":13,"tag":14,"props":1088,"children":1090},{"className":1089},[1050],[1091],{"type":13,"tag":1092,"props":1093,"children":1094},"inlinemediaobject",{},[1095,1104],{"type":13,"tag":1096,"props":1097,"children":1098},"imageobject",{},[1099],{"type":13,"tag":1100,"props":1101,"children":1103},"imagedata",{"fileref":1102},"{images}/primitive_topology_key_vertex.svg",[],{"type":13,"tag":1105,"props":1106,"children":1107},"textobject",{},[1108],{"type":13,"tag":1109,"props":1110,"children":1111},"phrase",{},[1112],{"type":18,"value":1113},"primitive topology key vertex",{"type":13,"tag":1081,"props":1115,"children":1118},{"className":1116},[1050,1117,1085],"halign-left",[1119],{"type":13,"tag":14,"props":1120,"children":1122},{"className":1121},[1050],[1123],{"type":18,"value":1124},"Vertex",{"type":13,"tag":1081,"props":1126,"children":1129},{"className":1127},[1050,1117,1128],"valign-top",[1130],{"type":13,"tag":14,"props":1131,"children":1133},{"className":1132},[1050],[1134],{"type":18,"value":1135},"A point in 3-dimensional space.\n Positions chosen within the diagrams are arbitrary and for\n illustration only.",{"type":13,"tag":1077,"props":1137,"children":1138},{},[1139,1165,1175],{"type":13,"tag":1081,"props":1140,"children":1142},{"className":1141},[1050,1084,1085],[1143],{"type":13,"tag":14,"props":1144,"children":1146},{"className":1145},[1050],[1147],{"type":13,"tag":1092,"props":1148,"children":1149},{},[1150,1157],{"type":13,"tag":1096,"props":1151,"children":1152},{},[1153],{"type":13,"tag":1100,"props":1154,"children":1156},{"fileref":1155},"{images}/primitive_topology_key_vertex_number.svg",[],{"type":13,"tag":1105,"props":1158,"children":1159},{},[1160],{"type":13,"tag":1109,"props":1161,"children":1162},{},[1163],{"type":18,"value":1164},"primitive topology key vertex number",{"type":13,"tag":1081,"props":1166,"children":1168},{"className":1167},[1050,1117,1085],[1169],{"type":13,"tag":14,"props":1170,"children":1172},{"className":1171},[1050],[1173],{"type":18,"value":1174},"Vertex Number",{"type":13,"tag":1081,"props":1176,"children":1178},{"className":1177},[1050,1117,1128],[1179],{"type":13,"tag":14,"props":1180,"children":1182},{"className":1181},[1050],[1183],{"type":18,"value":1184},"Sequence position of a vertex within the provided vertex data.",{"type":13,"tag":1077,"props":1186,"children":1187},{},[1188,1214,1224],{"type":13,"tag":1081,"props":1189,"children":1191},{"className":1190},[1050,1084,1085],[1192],{"type":13,"tag":14,"props":1193,"children":1195},{"className":1194},[1050],[1196],{"type":13,"tag":1092,"props":1197,"children":1198},{},[1199,1206],{"type":13,"tag":1096,"props":1200,"children":1201},{},[1202],{"type":13,"tag":1100,"props":1203,"children":1205},{"fileref":1204},"{images}/primitive_topology_key_provoking_vertex.svg",[],{"type":13,"tag":1105,"props":1207,"children":1208},{},[1209],{"type":13,"tag":1109,"props":1210,"children":1211},{},[1212],{"type":18,"value":1213},"primitive topology key provoking vertex",{"type":13,"tag":1081,"props":1215,"children":1217},{"className":1216},[1050,1117,1085],[1218],{"type":13,"tag":14,"props":1219,"children":1221},{"className":1220},[1050],[1222],{"type":18,"value":1223},"Provoking Vertex",{"type":13,"tag":1081,"props":1225,"children":1227},{"className":1226},[1050,1117,1128],[1228],{"type":13,"tag":14,"props":1229,"children":1231},{"className":1230},[1050],[1232,1234,1239],{"type":18,"value":1233},"Provoking vertex within the main primitive.\n The tail is angled towards the relevant primitive.\n Used in ",{"type":13,"tag":1235,"props":1236,"children":1238},"link",{"linkend":1237},"vertexpostproc-flatshading",[],{"type":18,"value":1240},"flat shading.",{"type":13,"tag":1077,"props":1242,"children":1243},{},[1244,1270,1280],{"type":13,"tag":1081,"props":1245,"children":1247},{"className":1246},[1050,1084,1085],[1248],{"type":13,"tag":14,"props":1249,"children":1251},{"className":1250},[1050],[1252],{"type":13,"tag":1092,"props":1253,"children":1254},{},[1255,1262],{"type":13,"tag":1096,"props":1256,"children":1257},{},[1258],{"type":13,"tag":1100,"props":1259,"children":1261},{"fileref":1260},"{images}/primitive_topology_key_edge.svg",[],{"type":13,"tag":1105,"props":1263,"children":1264},{},[1265],{"type":13,"tag":1109,"props":1266,"children":1267},{},[1268],{"type":18,"value":1269},"primitive topology key edge",{"type":13,"tag":1081,"props":1271,"children":1273},{"className":1272},[1050,1117,1085],[1274],{"type":13,"tag":14,"props":1275,"children":1277},{"className":1276},[1050],[1278],{"type":18,"value":1279},"Primitive Edge",{"type":13,"tag":1081,"props":1281,"children":1283},{"className":1282},[1050,1117,1128],[1284],{"type":13,"tag":14,"props":1285,"children":1287},{"className":1286},[1050],[1288],{"type":18,"value":1289},"An edge connecting the points of a main primitive.",{"type":13,"tag":1077,"props":1291,"children":1292},{},[1293,1319,1329],{"type":13,"tag":1081,"props":1294,"children":1296},{"className":1295},[1050,1084,1085],[1297],{"type":13,"tag":14,"props":1298,"children":1300},{"className":1299},[1050],[1301],{"type":13,"tag":1092,"props":1302,"children":1303},{},[1304,1311],{"type":13,"tag":1096,"props":1305,"children":1306},{},[1307],{"type":13,"tag":1100,"props":1308,"children":1310},{"fileref":1309},"{images}/primitive_topology_key_adjacency_edge.svg",[],{"type":13,"tag":1105,"props":1312,"children":1313},{},[1314],{"type":13,"tag":1109,"props":1315,"children":1316},{},[1317],{"type":18,"value":1318},"primitive topology key adjacency edge",{"type":13,"tag":1081,"props":1320,"children":1322},{"className":1321},[1050,1117,1085],[1323],{"type":13,"tag":14,"props":1324,"children":1326},{"className":1325},[1050],[1327],{"type":18,"value":1328},"Adjacency Edge",{"type":13,"tag":1081,"props":1330,"children":1332},{"className":1331},[1050,1117,1128],[1333],{"type":13,"tag":14,"props":1334,"children":1336},{"className":1335},[1050],[1337,1339,1343],{"type":18,"value":1338},"Points connected by these lines do not contribute to a main primitive,\n and are only accessible in a ",{"type":13,"tag":1235,"props":1340,"children":1342},{"linkend":1341},"geometry",[],{"type":18,"value":1344},"geometry shader.",{"type":13,"tag":1077,"props":1346,"children":1347},{},[1348,1374,1384],{"type":13,"tag":1081,"props":1349,"children":1351},{"className":1350},[1050,1084,1085],[1352],{"type":13,"tag":14,"props":1353,"children":1355},{"className":1354},[1050],[1356],{"type":13,"tag":1092,"props":1357,"children":1358},{},[1359,1366],{"type":13,"tag":1096,"props":1360,"children":1361},{},[1362],{"type":13,"tag":1100,"props":1363,"children":1365},{"fileref":1364},"{images}/primitive_topology_key_winding_order.svg",[],{"type":13,"tag":1105,"props":1367,"children":1368},{},[1369],{"type":13,"tag":1109,"props":1370,"children":1371},{},[1372],{"type":18,"value":1373},"primitive topology key winding order",{"type":13,"tag":1081,"props":1375,"children":1377},{"className":1376},[1050,1117,1085],[1378],{"type":13,"tag":14,"props":1379,"children":1381},{"className":1380},[1050],[1382],{"type":18,"value":1383},"Winding Order",{"type":13,"tag":1081,"props":1385,"children":1387},{"className":1386},[1050,1117,1128],[1388],{"type":13,"tag":14,"props":1389,"children":1391},{"className":1390},[1050],[1392,1394,1398],{"type":18,"value":1393},"The relative order in which vertices are defined within a primitive,\n used in the ",{"type":13,"tag":1235,"props":1395,"children":1397},{"linkend":1396},"primsrast-polygons-basic",[],{"type":18,"value":1399},"facing determination.\n This ordering has no specific start or end point.",{"type":13,"tag":14,"props":1401,"children":1402},{},[1403,1405,1411,1413,1417],{"type":18,"value":1404},"The diagrams are supported with mathematical definitions where the vertices\n(v) and primitives (p) are numbered starting from 0;\nv",{"type":13,"tag":1406,"props":1407,"children":1408},"sub",{},[1409],{"type":18,"value":1410},"0",{"type":18,"value":1412}," is the first vertex in the provided data and p",{"type":13,"tag":1406,"props":1414,"children":1415},{},[1416],{"type":18,"value":1410},{"type":18,"value":1418}," is the\nfirst primitive in the set of primitives defined by the vertices and\ntopology.",{"type":13,"tag":1420,"props":1421,"children":1422},"style",{},[1423],{"type":18,"value":1424},"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":70,"depth":70,"links":1426},[],"markdown",1725732580846]