[{"data":1,"prerenderedAt":541},["ShallowReactive",2],{"QhMbyhs3GO":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":540,"_id":4},"VkPhysicalDeviceType","Supported physical device types","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":538},"root",[12,45,462,522,532],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,25,27,34,36,43],{"type":18,"value":19},"text","The physical device types which ",{"type":13,"tag":21,"props":22,"children":24},"normative",{"type":23},"may",[],{"type":18,"value":26}," be returned in\n",{"type":13,"tag":28,"props":29,"children":31},"a",{"href":30},"/man/VkPhysicalDeviceProperties",[32],{"type":18,"value":33},"VkPhysicalDeviceProperties",{"type":18,"value":35},"::",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"deviceType",{"type":18,"value":44}," are:",{"type":13,"tag":46,"props":47,"children":48},"code-group",{},[49,206],{"type":13,"tag":50,"props":51,"children":57},"pre",{"className":52,"code":53,"filename":54,"language":55,"meta":56,"style":56},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkPhysicalDeviceType {\n VK_PHYSICAL_DEVICE_TYPE_OTHER = 0,\n VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU = 1,\n VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU = 2,\n VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU = 3,\n VK_PHYSICAL_DEVICE_TYPE_CPU = 4,\n} VkPhysicalDeviceType;\n","C","c","",[58],{"type":13,"tag":37,"props":59,"children":60},{"__ignoreMap":56},[61,84,109,131,153,175,197],{"type":13,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67,73,78],{"type":13,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[71],{"type":18,"value":72},"typedef",{"type":13,"tag":62,"props":74,"children":75},{"style":69},[76],{"type":18,"value":77}," enum",{"type":13,"tag":62,"props":79,"children":81},{"style":80},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[82],{"type":18,"value":83}," VkPhysicalDeviceType {\n",{"type":13,"tag":62,"props":85,"children":87},{"class":64,"line":86},2,[88,93,98,104],{"type":13,"tag":62,"props":89,"children":90},{"style":80},[91],{"type":18,"value":92}," VK_PHYSICAL_DEVICE_TYPE_OTHER ",{"type":13,"tag":62,"props":94,"children":95},{"style":69},[96],{"type":18,"value":97},"=",{"type":13,"tag":62,"props":99,"children":101},{"style":100},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[102],{"type":18,"value":103}," 0",{"type":13,"tag":62,"props":105,"children":106},{"style":80},[107],{"type":18,"value":108},",\n",{"type":13,"tag":62,"props":110,"children":112},{"class":64,"line":111},3,[113,118,122,127],{"type":13,"tag":62,"props":114,"children":115},{"style":80},[116],{"type":18,"value":117}," VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU ",{"type":13,"tag":62,"props":119,"children":120},{"style":69},[121],{"type":18,"value":97},{"type":13,"tag":62,"props":123,"children":124},{"style":100},[125],{"type":18,"value":126}," 1",{"type":13,"tag":62,"props":128,"children":129},{"style":80},[130],{"type":18,"value":108},{"type":13,"tag":62,"props":132,"children":134},{"class":64,"line":133},4,[135,140,144,149],{"type":13,"tag":62,"props":136,"children":137},{"style":80},[138],{"type":18,"value":139}," VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU ",{"type":13,"tag":62,"props":141,"children":142},{"style":69},[143],{"type":18,"value":97},{"type":13,"tag":62,"props":145,"children":146},{"style":100},[147],{"type":18,"value":148}," 2",{"type":13,"tag":62,"props":150,"children":151},{"style":80},[152],{"type":18,"value":108},{"type":13,"tag":62,"props":154,"children":156},{"class":64,"line":155},5,[157,162,166,171],{"type":13,"tag":62,"props":158,"children":159},{"style":80},[160],{"type":18,"value":161}," VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU ",{"type":13,"tag":62,"props":163,"children":164},{"style":69},[165],{"type":18,"value":97},{"type":13,"tag":62,"props":167,"children":168},{"style":100},[169],{"type":18,"value":170}," 3",{"type":13,"tag":62,"props":172,"children":173},{"style":80},[174],{"type":18,"value":108},{"type":13,"tag":62,"props":176,"children":178},{"class":64,"line":177},6,[179,184,188,193],{"type":13,"tag":62,"props":180,"children":181},{"style":80},[182],{"type":18,"value":183}," VK_PHYSICAL_DEVICE_TYPE_CPU ",{"type":13,"tag":62,"props":185,"children":186},{"style":69},[187],{"type":18,"value":97},{"type":13,"tag":62,"props":189,"children":190},{"style":100},[191],{"type":18,"value":192}," 4",{"type":13,"tag":62,"props":194,"children":195},{"style":80},[196],{"type":18,"value":108},{"type":13,"tag":62,"props":198,"children":200},{"class":64,"line":199},7,[201],{"type":13,"tag":62,"props":202,"children":203},{"style":80},[204],{"type":18,"value":205},"} VkPhysicalDeviceType;\n",{"type":13,"tag":50,"props":207,"children":212},{"className":208,"code":209,"filename":210,"language":211,"meta":56,"style":56},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PhysicalDeviceType(u32);\nimpl PhysicalDeviceType {\n pub const OTHER: Self = 0;\n pub const INTEGRATED_GPU: Self = 1;\n pub const DISCRETE_GPU: Self = 2;\n pub const VIRTUAL_GPU: Self = 3;\n pub const CPU: Self = 4;\n}\n","Rust","rs",[213],{"type":13,"tag":37,"props":214,"children":215},{"__ignoreMap":56},[216,250,267,309,345,381,417,453],{"type":13,"tag":62,"props":217,"children":218},{"class":64,"line":65},[219,224,229,235,240,245],{"type":13,"tag":62,"props":220,"children":221},{"style":69},[222],{"type":18,"value":223},"pub",{"type":13,"tag":62,"props":225,"children":226},{"style":69},[227],{"type":18,"value":228}," struct",{"type":13,"tag":62,"props":230,"children":232},{"style":231},"--shiki-default:#953800;--shiki-dark:#FFA657",[233],{"type":18,"value":234}," PhysicalDeviceType",{"type":13,"tag":62,"props":236,"children":237},{"style":80},[238],{"type":18,"value":239},"(",{"type":13,"tag":62,"props":241,"children":242},{"style":231},[243],{"type":18,"value":244},"u32",{"type":13,"tag":62,"props":246,"children":247},{"style":80},[248],{"type":18,"value":249},");\n",{"type":13,"tag":62,"props":251,"children":252},{"class":64,"line":86},[253,258,262],{"type":13,"tag":62,"props":254,"children":255},{"style":69},[256],{"type":18,"value":257},"impl",{"type":13,"tag":62,"props":259,"children":260},{"style":231},[261],{"type":18,"value":234},{"type":13,"tag":62,"props":263,"children":264},{"style":80},[265],{"type":18,"value":266}," {\n",{"type":13,"tag":62,"props":268,"children":269},{"class":64,"line":111},[270,275,280,285,290,295,300,304],{"type":13,"tag":62,"props":271,"children":272},{"style":69},[273],{"type":18,"value":274}," pub",{"type":13,"tag":62,"props":276,"children":277},{"style":69},[278],{"type":18,"value":279}," const",{"type":13,"tag":62,"props":281,"children":282},{"style":100},[283],{"type":18,"value":284}," OTHER",{"type":13,"tag":62,"props":286,"children":287},{"style":69},[288],{"type":18,"value":289},":",{"type":13,"tag":62,"props":291,"children":292},{"style":100},[293],{"type":18,"value":294}," Self",{"type":13,"tag":62,"props":296,"children":297},{"style":69},[298],{"type":18,"value":299}," =",{"type":13,"tag":62,"props":301,"children":302},{"style":100},[303],{"type":18,"value":103},{"type":13,"tag":62,"props":305,"children":306},{"style":80},[307],{"type":18,"value":308},";\n",{"type":13,"tag":62,"props":310,"children":311},{"class":64,"line":133},[312,316,320,325,329,333,337,341],{"type":13,"tag":62,"props":313,"children":314},{"style":69},[315],{"type":18,"value":274},{"type":13,"tag":62,"props":317,"children":318},{"style":69},[319],{"type":18,"value":279},{"type":13,"tag":62,"props":321,"children":322},{"style":100},[323],{"type":18,"value":324}," INTEGRATED_GPU",{"type":13,"tag":62,"props":326,"children":327},{"style":69},[328],{"type":18,"value":289},{"type":13,"tag":62,"props":330,"children":331},{"style":100},[332],{"type":18,"value":294},{"type":13,"tag":62,"props":334,"children":335},{"style":69},[336],{"type":18,"value":299},{"type":13,"tag":62,"props":338,"children":339},{"style":100},[340],{"type":18,"value":126},{"type":13,"tag":62,"props":342,"children":343},{"style":80},[344],{"type":18,"value":308},{"type":13,"tag":62,"props":346,"children":347},{"class":64,"line":155},[348,352,356,361,365,369,373,377],{"type":13,"tag":62,"props":349,"children":350},{"style":69},[351],{"type":18,"value":274},{"type":13,"tag":62,"props":353,"children":354},{"style":69},[355],{"type":18,"value":279},{"type":13,"tag":62,"props":357,"children":358},{"style":100},[359],{"type":18,"value":360}," DISCRETE_GPU",{"type":13,"tag":62,"props":362,"children":363},{"style":69},[364],{"type":18,"value":289},{"type":13,"tag":62,"props":366,"children":367},{"style":100},[368],{"type":18,"value":294},{"type":13,"tag":62,"props":370,"children":371},{"style":69},[372],{"type":18,"value":299},{"type":13,"tag":62,"props":374,"children":375},{"style":100},[376],{"type":18,"value":148},{"type":13,"tag":62,"props":378,"children":379},{"style":80},[380],{"type":18,"value":308},{"type":13,"tag":62,"props":382,"children":383},{"class":64,"line":177},[384,388,392,397,401,405,409,413],{"type":13,"tag":62,"props":385,"children":386},{"style":69},[387],{"type":18,"value":274},{"type":13,"tag":62,"props":389,"children":390},{"style":69},[391],{"type":18,"value":279},{"type":13,"tag":62,"props":393,"children":394},{"style":100},[395],{"type":18,"value":396}," VIRTUAL_GPU",{"type":13,"tag":62,"props":398,"children":399},{"style":69},[400],{"type":18,"value":289},{"type":13,"tag":62,"props":402,"children":403},{"style":100},[404],{"type":18,"value":294},{"type":13,"tag":62,"props":406,"children":407},{"style":69},[408],{"type":18,"value":299},{"type":13,"tag":62,"props":410,"children":411},{"style":100},[412],{"type":18,"value":170},{"type":13,"tag":62,"props":414,"children":415},{"style":80},[416],{"type":18,"value":308},{"type":13,"tag":62,"props":418,"children":419},{"class":64,"line":199},[420,424,428,433,437,441,445,449],{"type":13,"tag":62,"props":421,"children":422},{"style":69},[423],{"type":18,"value":274},{"type":13,"tag":62,"props":425,"children":426},{"style":69},[427],{"type":18,"value":279},{"type":13,"tag":62,"props":429,"children":430},{"style":100},[431],{"type":18,"value":432}," CPU",{"type":13,"tag":62,"props":434,"children":435},{"style":69},[436],{"type":18,"value":289},{"type":13,"tag":62,"props":438,"children":439},{"style":100},[440],{"type":18,"value":294},{"type":13,"tag":62,"props":442,"children":443},{"style":69},[444],{"type":18,"value":299},{"type":13,"tag":62,"props":446,"children":447},{"style":100},[448],{"type":18,"value":192},{"type":13,"tag":62,"props":450,"children":451},{"style":80},[452],{"type":18,"value":308},{"type":13,"tag":62,"props":454,"children":456},{"class":64,"line":455},8,[457],{"type":13,"tag":62,"props":458,"children":459},{"style":80},[460],{"type":18,"value":461},"}\n",{"type":13,"tag":463,"props":464,"children":465},"ul",{},[466,478,489,500,511],{"type":13,"tag":467,"props":468,"children":469},"li",{},[470,476],{"type":13,"tag":37,"props":471,"children":473},{"className":472},[],[474],{"type":18,"value":475},"VK_PHYSICAL_DEVICE_TYPE_OTHER",{"type":18,"value":477}," - the device does not match any\nother available types.",{"type":13,"tag":467,"props":479,"children":480},{},[481,487],{"type":13,"tag":37,"props":482,"children":484},{"className":483},[],[485],{"type":18,"value":486},"VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU",{"type":18,"value":488}," - the device is typically\none embedded in or tightly coupled with the host.",{"type":13,"tag":467,"props":490,"children":491},{},[492,498],{"type":13,"tag":37,"props":493,"children":495},{"className":494},[],[496],{"type":18,"value":497},"VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU",{"type":18,"value":499}," - the device is typically a\nseparate processor connected to the host via an interlink.",{"type":13,"tag":467,"props":501,"children":502},{},[503,509],{"type":13,"tag":37,"props":504,"children":506},{"className":505},[],[507],{"type":18,"value":508},"VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU",{"type":18,"value":510}," - the device is typically a\nvirtual node in a virtualization environment.",{"type":13,"tag":467,"props":512,"children":513},{},[514,520],{"type":13,"tag":37,"props":515,"children":517},{"className":516},[],[518],{"type":18,"value":519},"VK_PHYSICAL_DEVICE_TYPE_CPU",{"type":18,"value":521}," - the device is typically running on\nthe same processors as the host.",{"type":13,"tag":14,"props":523,"children":524},{},[525,527,530],{"type":18,"value":526},"The physical device type is advertised for informational purposes only, and\ndoes not directly affect the operation of the system.\nHowever, the device type ",{"type":13,"tag":21,"props":528,"children":529},{"type":23},[],{"type":18,"value":531}," correlate with other advertised properties or\ncapabilities of the system, such as how many memory heaps there are.",{"type":13,"tag":533,"props":534,"children":535},"style",{},[536],{"type":18,"value":537},"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":56,"searchDepth":86,"depth":86,"links":539},[],"markdown",1725732575773]