[{"data":1,"prerenderedAt":135},["ShallowReactive",2],{"GpIMQm1z4f":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":134,"_id":4},"VkPhysicalDevice","Opaque handle to a physical device object","VK_VERSION_1_0","handles",[],{"type":10,"children":11,"toc":132},"root",[12,35,48,126],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,26,28,33],{"type":18,"value":19},"text","Vulkan separates the concept of ",{"type":13,"tag":21,"props":22,"children":23},"em",{},[24],{"type":18,"value":25},"physical",{"type":18,"value":27}," and ",{"type":13,"tag":21,"props":29,"children":30},{},[31],{"type":18,"value":32},"logical",{"type":18,"value":34}," devices.\nA physical device usually represents a single complete implementation of\nVulkan (excluding instance-level functionality) available to the host, of\nwhich there are a finite number.\nA logical device represents an instance of that implementation with its own\nstate and resources independent of other logical devices.",{"type":13,"tag":14,"props":36,"children":37},{},[38,40,46],{"type":18,"value":39},"Physical devices are represented by ",{"type":13,"tag":41,"props":42,"children":44},"code",{"className":43},[],[45],{"type":18,"value":4},{"type":18,"value":47}," handles:",{"type":13,"tag":49,"props":50,"children":51},"code-group",{},[52,82],{"type":13,"tag":53,"props":54,"children":60},"pre",{"className":55,"code":56,"filename":57,"language":58,"meta":59,"style":59},"language-c shiki shiki-themes github-light-default github-dark-default","VK_DEFINE_HANDLE(VkPhysicalDevice)\n","C","c","",[61],{"type":13,"tag":41,"props":62,"children":63},{"__ignoreMap":59},[64],{"type":13,"tag":65,"props":66,"children":69},"span",{"class":67,"line":68},"line",1,[70,76],{"type":13,"tag":65,"props":71,"children":73},{"style":72},"--shiki-default:#8250DF;--shiki-dark:#D2A8FF",[74],{"type":18,"value":75},"VK_DEFINE_HANDLE",{"type":13,"tag":65,"props":77,"children":79},{"style":78},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[80],{"type":18,"value":81},"(VkPhysicalDevice)\n",{"type":13,"tag":53,"props":83,"children":88},{"className":84,"code":85,"filename":86,"language":87,"meta":59,"style":59},"language-rs shiki shiki-themes github-light-default github-dark-default","#[repr(transparent)]\npub struct PhysicalDevice(_);\n","Rust","rs",[89],{"type":13,"tag":41,"props":90,"children":91},{"__ignoreMap":59},[92,100],{"type":13,"tag":65,"props":93,"children":94},{"class":67,"line":68},[95],{"type":13,"tag":65,"props":96,"children":97},{"style":78},[98],{"type":18,"value":99},"#[repr(transparent)]\n",{"type":13,"tag":65,"props":101,"children":103},{"class":67,"line":102},2,[104,110,115,121],{"type":13,"tag":65,"props":105,"children":107},{"style":106},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[108],{"type":18,"value":109},"pub",{"type":13,"tag":65,"props":111,"children":112},{"style":106},[113],{"type":18,"value":114}," struct",{"type":13,"tag":65,"props":116,"children":118},{"style":117},"--shiki-default:#953800;--shiki-dark:#FFA657",[119],{"type":18,"value":120}," PhysicalDevice",{"type":13,"tag":65,"props":122,"children":123},{"style":78},[124],{"type":18,"value":125},"(_);\n",{"type":13,"tag":127,"props":128,"children":129},"style",{},[130],{"type":18,"value":131},"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":59,"searchDepth":102,"depth":102,"links":133},[],"markdown",1725732565312]