[{"data":1,"prerenderedAt":799},["ShallowReactive",2],{"ojXxVitkUw":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":798,"_id":4},"VkPhysicalDeviceLineRasterizationFeaturesKHR","Structure describing the line rasterization features that can be supported by an implementation","VK_KHR_line_rasterization","structs",[],{"type":10,"children":11,"toc":796},"root",[12,28,418,423,488,493,696,759,790],{"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\nas:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,153],{"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 VkPhysicalDeviceLineRasterizationFeaturesKHR {\n VkStructureType sType;\n void* pNext;\n VkBool32 rectangularLines;\n VkBool32 bresenhamLines;\n VkBool32 smoothLines;\n VkBool32 stippledRectangularLines;\n VkBool32 stippledBresenhamLines;\n VkBool32 stippledSmoothLines;\n} VkPhysicalDeviceLineRasterizationFeaturesKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,90,99,108,117,126,135,144],{"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}," VkPhysicalDeviceLineRasterizationFeaturesKHR {\n",{"type":13,"tag":45,"props":68,"children":70},{"class":47,"line":69},2,[71],{"type":13,"tag":45,"props":72,"children":73},{"style":63},[74],{"type":18,"value":75}," VkStructureType sType;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," void*",{"type":13,"tag":45,"props":86,"children":87},{"style":63},[88],{"type":18,"value":89}," pNext;\n",{"type":13,"tag":45,"props":91,"children":93},{"class":47,"line":92},4,[94],{"type":13,"tag":45,"props":95,"children":96},{"style":63},[97],{"type":18,"value":98}," VkBool32 rectangularLines;\n",{"type":13,"tag":45,"props":100,"children":102},{"class":47,"line":101},5,[103],{"type":13,"tag":45,"props":104,"children":105},{"style":63},[106],{"type":18,"value":107}," VkBool32 bresenhamLines;\n",{"type":13,"tag":45,"props":109,"children":111},{"class":47,"line":110},6,[112],{"type":13,"tag":45,"props":113,"children":114},{"style":63},[115],{"type":18,"value":116}," VkBool32 smoothLines;\n",{"type":13,"tag":45,"props":118,"children":120},{"class":47,"line":119},7,[121],{"type":13,"tag":45,"props":122,"children":123},{"style":63},[124],{"type":18,"value":125}," VkBool32 stippledRectangularLines;\n",{"type":13,"tag":45,"props":127,"children":129},{"class":47,"line":128},8,[130],{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," VkBool32 stippledBresenhamLines;\n",{"type":13,"tag":45,"props":136,"children":138},{"class":47,"line":137},9,[139],{"type":13,"tag":45,"props":140,"children":141},{"style":63},[142],{"type":18,"value":143}," VkBool32 stippledSmoothLines;\n",{"type":13,"tag":45,"props":145,"children":147},{"class":47,"line":146},10,[148],{"type":13,"tag":45,"props":149,"children":150},{"style":63},[151],{"type":18,"value":152},"} VkPhysicalDeviceLineRasterizationFeaturesKHR;\n",{"type":13,"tag":33,"props":154,"children":159},{"className":155,"code":156,"filename":157,"language":158,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceLineRasterizationFeaturesKHR {\n s_type: vk::StructureType,\n p_next: *mut c_void,\n rectangular_lines: vk::Bool32,\n bresenham_lines: vk::Bool32,\n smooth_lines: vk::Bool32,\n stippled_rectangular_lines: vk::Bool32,\n stippled_bresenham_lines: vk::Bool32,\n stippled_smooth_lines: vk::Bool32,\n}\n","Rust","rs",[160],{"type":13,"tag":21,"props":161,"children":162},{"__ignoreMap":39},[163,186,219,241,270,298,326,354,382,410],{"type":13,"tag":45,"props":164,"children":165},{"class":47,"line":48},[166,171,175,181],{"type":13,"tag":45,"props":167,"children":168},{"style":52},[169],{"type":18,"value":170},"pub",{"type":13,"tag":45,"props":172,"children":173},{"style":52},[174],{"type":18,"value":60},{"type":13,"tag":45,"props":176,"children":178},{"style":177},"--shiki-default:#953800;--shiki-dark:#FFA657",[179],{"type":18,"value":180}," PhysicalDeviceLineRasterizationFeaturesKHR",{"type":13,"tag":45,"props":182,"children":183},{"style":63},[184],{"type":18,"value":185}," {\n",{"type":13,"tag":45,"props":187,"children":188},{"class":47,"line":69},[189,194,199,204,209,214],{"type":13,"tag":45,"props":190,"children":191},{"style":63},[192],{"type":18,"value":193}," s_type",{"type":13,"tag":45,"props":195,"children":196},{"style":52},[197],{"type":18,"value":198},":",{"type":13,"tag":45,"props":200,"children":201},{"style":177},[202],{"type":18,"value":203}," vk",{"type":13,"tag":45,"props":205,"children":206},{"style":52},[207],{"type":18,"value":208},"::",{"type":13,"tag":45,"props":210,"children":211},{"style":177},[212],{"type":18,"value":213},"StructureType",{"type":13,"tag":45,"props":215,"children":216},{"style":63},[217],{"type":18,"value":218},",\n",{"type":13,"tag":45,"props":220,"children":221},{"class":47,"line":78},[222,227,231,236],{"type":13,"tag":45,"props":223,"children":224},{"style":63},[225],{"type":18,"value":226}," p_next",{"type":13,"tag":45,"props":228,"children":229},{"style":52},[230],{"type":18,"value":198},{"type":13,"tag":45,"props":232,"children":233},{"style":52},[234],{"type":18,"value":235}," *mut",{"type":13,"tag":45,"props":237,"children":238},{"style":63},[239],{"type":18,"value":240}," c_void,\n",{"type":13,"tag":45,"props":242,"children":243},{"class":47,"line":92},[244,249,253,257,261,266],{"type":13,"tag":45,"props":245,"children":246},{"style":63},[247],{"type":18,"value":248}," rectangular_lines",{"type":13,"tag":45,"props":250,"children":251},{"style":52},[252],{"type":18,"value":198},{"type":13,"tag":45,"props":254,"children":255},{"style":177},[256],{"type":18,"value":203},{"type":13,"tag":45,"props":258,"children":259},{"style":52},[260],{"type":18,"value":208},{"type":13,"tag":45,"props":262,"children":263},{"style":177},[264],{"type":18,"value":265},"Bool32",{"type":13,"tag":45,"props":267,"children":268},{"style":63},[269],{"type":18,"value":218},{"type":13,"tag":45,"props":271,"children":272},{"class":47,"line":101},[273,278,282,286,290,294],{"type":13,"tag":45,"props":274,"children":275},{"style":63},[276],{"type":18,"value":277}," bresenham_lines",{"type":13,"tag":45,"props":279,"children":280},{"style":52},[281],{"type":18,"value":198},{"type":13,"tag":45,"props":283,"children":284},{"style":177},[285],{"type":18,"value":203},{"type":13,"tag":45,"props":287,"children":288},{"style":52},[289],{"type":18,"value":208},{"type":13,"tag":45,"props":291,"children":292},{"style":177},[293],{"type":18,"value":265},{"type":13,"tag":45,"props":295,"children":296},{"style":63},[297],{"type":18,"value":218},{"type":13,"tag":45,"props":299,"children":300},{"class":47,"line":110},[301,306,310,314,318,322],{"type":13,"tag":45,"props":302,"children":303},{"style":63},[304],{"type":18,"value":305}," smooth_lines",{"type":13,"tag":45,"props":307,"children":308},{"style":52},[309],{"type":18,"value":198},{"type":13,"tag":45,"props":311,"children":312},{"style":177},[313],{"type":18,"value":203},{"type":13,"tag":45,"props":315,"children":316},{"style":52},[317],{"type":18,"value":208},{"type":13,"tag":45,"props":319,"children":320},{"style":177},[321],{"type":18,"value":265},{"type":13,"tag":45,"props":323,"children":324},{"style":63},[325],{"type":18,"value":218},{"type":13,"tag":45,"props":327,"children":328},{"class":47,"line":119},[329,334,338,342,346,350],{"type":13,"tag":45,"props":330,"children":331},{"style":63},[332],{"type":18,"value":333}," stippled_rectangular_lines",{"type":13,"tag":45,"props":335,"children":336},{"style":52},[337],{"type":18,"value":198},{"type":13,"tag":45,"props":339,"children":340},{"style":177},[341],{"type":18,"value":203},{"type":13,"tag":45,"props":343,"children":344},{"style":52},[345],{"type":18,"value":208},{"type":13,"tag":45,"props":347,"children":348},{"style":177},[349],{"type":18,"value":265},{"type":13,"tag":45,"props":351,"children":352},{"style":63},[353],{"type":18,"value":218},{"type":13,"tag":45,"props":355,"children":356},{"class":47,"line":128},[357,362,366,370,374,378],{"type":13,"tag":45,"props":358,"children":359},{"style":63},[360],{"type":18,"value":361}," stippled_bresenham_lines",{"type":13,"tag":45,"props":363,"children":364},{"style":52},[365],{"type":18,"value":198},{"type":13,"tag":45,"props":367,"children":368},{"style":177},[369],{"type":18,"value":203},{"type":13,"tag":45,"props":371,"children":372},{"style":52},[373],{"type":18,"value":208},{"type":13,"tag":45,"props":375,"children":376},{"style":177},[377],{"type":18,"value":265},{"type":13,"tag":45,"props":379,"children":380},{"style":63},[381],{"type":18,"value":218},{"type":13,"tag":45,"props":383,"children":384},{"class":47,"line":137},[385,390,394,398,402,406],{"type":13,"tag":45,"props":386,"children":387},{"style":63},[388],{"type":18,"value":389}," stippled_smooth_lines",{"type":13,"tag":45,"props":391,"children":392},{"style":52},[393],{"type":18,"value":198},{"type":13,"tag":45,"props":395,"children":396},{"style":177},[397],{"type":18,"value":203},{"type":13,"tag":45,"props":399,"children":400},{"style":52},[401],{"type":18,"value":208},{"type":13,"tag":45,"props":403,"children":404},{"style":177},[405],{"type":18,"value":265},{"type":13,"tag":45,"props":407,"children":408},{"style":63},[409],{"type":18,"value":218},{"type":13,"tag":45,"props":411,"children":412},{"class":47,"line":146},[413],{"type":13,"tag":45,"props":414,"children":415},{"style":63},[416],{"type":18,"value":417},"}\n",{"type":13,"tag":14,"props":419,"children":420},{},[421],{"type":18,"value":422},"or the equivalent",{"type":13,"tag":29,"props":424,"children":425},{},[426,445],{"type":13,"tag":33,"props":427,"children":429},{"className":35,"code":428,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPhysicalDeviceLineRasterizationFeaturesKHR VkPhysicalDeviceLineRasterizationFeaturesEXT;\n",[430],{"type":13,"tag":21,"props":431,"children":432},{"__ignoreMap":39},[433],{"type":13,"tag":45,"props":434,"children":435},{"class":47,"line":48},[436,440],{"type":13,"tag":45,"props":437,"children":438},{"style":52},[439],{"type":18,"value":55},{"type":13,"tag":45,"props":441,"children":442},{"style":63},[443],{"type":18,"value":444}," VkPhysicalDeviceLineRasterizationFeaturesKHR VkPhysicalDeviceLineRasterizationFeaturesEXT;\n",{"type":13,"tag":33,"props":446,"children":448},{"className":155,"code":447,"filename":157,"language":158,"meta":39,"style":39},"type PhysicalDeviceLineRasterizationFeaturesEXT = vk::PhysicalDeviceLineRasterizationFeaturesKHR;\n",[449],{"type":13,"tag":21,"props":450,"children":451},{"__ignoreMap":39},[452],{"type":13,"tag":45,"props":453,"children":454},{"class":47,"line":48},[455,460,465,470,474,478,483],{"type":13,"tag":45,"props":456,"children":457},{"style":52},[458],{"type":18,"value":459},"type",{"type":13,"tag":45,"props":461,"children":462},{"style":177},[463],{"type":18,"value":464}," PhysicalDeviceLineRasterizationFeaturesEXT",{"type":13,"tag":45,"props":466,"children":467},{"style":52},[468],{"type":18,"value":469}," =",{"type":13,"tag":45,"props":471,"children":472},{"style":177},[473],{"type":18,"value":203},{"type":13,"tag":45,"props":475,"children":476},{"style":52},[477],{"type":18,"value":208},{"type":13,"tag":45,"props":479,"children":480},{"style":177},[481],{"type":18,"value":482},"PhysicalDeviceLineRasterizationFeaturesKHR",{"type":13,"tag":45,"props":484,"children":485},{"style":63},[486],{"type":18,"value":487},";\n",{"type":13,"tag":14,"props":489,"children":490},{},[491],{"type":18,"value":492},"This structure describes the following features:",{"type":13,"tag":494,"props":495,"children":496},"ul",{},[497,518,537,563,586,608,640,667],{"type":13,"tag":498,"props":499,"children":500},"li",{},[501,507,509,516],{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":506},"sType",{"type":18,"value":508}," is a ",{"type":13,"tag":510,"props":511,"children":513},"a",{"href":512},"/man/VkStructureType",[514],{"type":18,"value":515},"VkStructureType",{"type":18,"value":517}," value identifying this structure.",{"type":13,"tag":498,"props":519,"children":520},{},[521,527,529,535],{"type":13,"tag":21,"props":522,"children":524},{"className":523},[],[525],{"type":18,"value":526},"pNext",{"type":18,"value":528}," is ",{"type":13,"tag":21,"props":530,"children":532},{"className":531},[],[533],{"type":18,"value":534},"NULL",{"type":18,"value":536}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":498,"props":538,"children":539},{},[540,545,547,553,555,561],{"type":13,"tag":541,"props":542,"children":544},"anchor",{"id":543},"features-rectangularLines",[],{"type":18,"value":546}," ",{"type":13,"tag":21,"props":548,"children":550},{"className":549},[],[551],{"type":18,"value":552},"rectangularLines",{"type":18,"value":554}," indicates whether\nthe implementation supports ",{"type":13,"tag":510,"props":556,"children":558},{"href":557},"/chapters/primsrast#primsrast-lines",[559],{"type":18,"value":560},"rectangular line\nrasterization",{"type":18,"value":562},".",{"type":13,"tag":498,"props":564,"children":565},{},[566,570,571,577,579,585],{"type":13,"tag":541,"props":567,"children":569},{"id":568},"features-bresenhamLines",[],{"type":18,"value":546},{"type":13,"tag":21,"props":572,"children":574},{"className":573},[],[575],{"type":18,"value":576},"bresenhamLines",{"type":18,"value":578}," indicates whether the\nimplementation supports ",{"type":13,"tag":510,"props":580,"children":582},{"href":581},"/chapters/primsrast#primsrast-lines-bresenham",[583],{"type":18,"value":584},"Bresenham-style line\nrasterization",{"type":18,"value":562},{"type":13,"tag":498,"props":587,"children":588},{},[589,593,594,600,601,607],{"type":13,"tag":541,"props":590,"children":592},{"id":591},"features-smoothLines",[],{"type":18,"value":546},{"type":13,"tag":21,"props":595,"children":597},{"className":596},[],[598],{"type":18,"value":599},"smoothLines",{"type":18,"value":578},{"type":13,"tag":510,"props":602,"children":604},{"href":603},"/chapters/primsrast#primsrast-lines-smooth",[605],{"type":18,"value":606},"smooth line\nrasterization",{"type":18,"value":562},{"type":13,"tag":498,"props":609,"children":610},{},[611,615,616,622,624,630,632,638],{"type":13,"tag":541,"props":612,"children":614},{"id":613},"features-stippledRectangularLines",[],{"type":18,"value":546},{"type":13,"tag":21,"props":617,"children":619},{"className":618},[],[620],{"type":18,"value":621},"stippledRectangularLines",{"type":18,"value":623},"\nindicates whether the implementation supports\n",{"type":13,"tag":510,"props":625,"children":627},{"href":626},"/chapters/primsrast#primsrast-lines-stipple",[628],{"type":18,"value":629},"stippled line rasterization",{"type":18,"value":631}," with\n",{"type":13,"tag":21,"props":633,"children":635},{"className":634},[],[636],{"type":18,"value":637},"VK_LINE_RASTERIZATION_MODE_RECTANGULAR_KHR",{"type":18,"value":639}," lines.",{"type":13,"tag":498,"props":641,"children":642},{},[643,647,648,654,655,659,660,666],{"type":13,"tag":541,"props":644,"children":646},{"id":645},"features-stippledBresenhamLines",[],{"type":18,"value":546},{"type":13,"tag":21,"props":649,"children":651},{"className":650},[],[652],{"type":18,"value":653},"stippledBresenhamLines",{"type":18,"value":623},{"type":13,"tag":510,"props":656,"children":657},{"href":626},[658],{"type":18,"value":629},{"type":18,"value":631},{"type":13,"tag":21,"props":661,"children":663},{"className":662},[],[664],{"type":18,"value":665},"VK_LINE_RASTERIZATION_MODE_BRESENHAM_KHR",{"type":18,"value":639},{"type":13,"tag":498,"props":668,"children":669},{},[670,674,675,681,683,688,689,695],{"type":13,"tag":541,"props":671,"children":673},{"id":672},"features-stippledSmoothLines",[],{"type":18,"value":546},{"type":13,"tag":21,"props":676,"children":678},{"className":677},[],[679],{"type":18,"value":680},"stippledSmoothLines",{"type":18,"value":682}," indicates\nwhether the implementation supports ",{"type":13,"tag":510,"props":684,"children":685},{"href":626},[686],{"type":18,"value":687},"stippled\nline rasterization",{"type":18,"value":631},{"type":13,"tag":21,"props":690,"children":692},{"className":691},[],[693],{"type":18,"value":694},"VK_LINE_RASTERIZATION_MODE_RECTANGULAR_SMOOTH_KHR",{"type":18,"value":639},{"type":13,"tag":14,"props":697,"children":698},{},[699,701,706,708,713,715,721,723,729,731,736,737,742,744,749,751,757],{"type":18,"value":700},"If the ",{"type":13,"tag":21,"props":702,"children":704},{"className":703},[],[705],{"type":18,"value":4},{"type":18,"value":707}," structure is included in the ",{"type":13,"tag":21,"props":709,"children":711},{"className":710},[],[712],{"type":18,"value":526},{"type":18,"value":714}," chain of the\n",{"type":13,"tag":510,"props":716,"children":718},{"href":717},"/man/VkPhysicalDeviceFeatures2",[719],{"type":18,"value":720},"VkPhysicalDeviceFeatures2",{"type":18,"value":722}," structure passed to\n",{"type":13,"tag":510,"props":724,"children":726},{"href":725},"/man/vkGetPhysicalDeviceFeatures2",[727],{"type":18,"value":728},"vkGetPhysicalDeviceFeatures2",{"type":18,"value":730},", it is filled in to indicate whether each\ncorresponding feature is supported.\n",{"type":13,"tag":21,"props":732,"children":734},{"className":733},[],[735],{"type":18,"value":4},{"type":18,"value":546},{"type":13,"tag":738,"props":739,"children":741},"normative",{"type":740},"can",[],{"type":18,"value":743}," also be used in the ",{"type":13,"tag":21,"props":745,"children":747},{"className":746},[],[748],{"type":18,"value":526},{"type":18,"value":750}," chain of\n",{"type":13,"tag":510,"props":752,"children":754},{"href":753},"/man/VkDeviceCreateInfo",[755],{"type":18,"value":756},"VkDeviceCreateInfo",{"type":18,"value":758}," to selectively enable these features.",{"type":13,"tag":760,"props":761,"children":763},"validity-group",{"name":762},"Valid Usage (Implicit)",[764],{"type":13,"tag":765,"props":766,"children":768},"validity-field",{"name":767},"VUID-VkPhysicalDeviceLineRasterizationFeaturesKHR-sType-sType",[769],{"type":13,"tag":14,"props":770,"children":771},{},[772,777,778,782,784],{"type":13,"tag":21,"props":773,"children":775},{"className":774},[],[776],{"type":18,"value":506},{"type":18,"value":546},{"type":13,"tag":738,"props":779,"children":781},{"type":780},"must",[],{"type":18,"value":783}," be ",{"type":13,"tag":21,"props":785,"children":787},{"className":786},[],[788],{"type":18,"value":789},"VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_KHR",{"type":13,"tag":791,"props":792,"children":793},"style",{},[794],{"type":18,"value":795},"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":797},[],"markdown",1725732570324]