[{"data":1,"prerenderedAt":502},["ShallowReactive",2],{"bcdX2S9TO6":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":501,"_id":4},"VkSurfaceProtectedCapabilitiesKHR","Structure describing capability of a surface to be protected","VK_KHR_surface_protected_capabilities","structs",[],{"type":10,"children":11,"toc":499},"root",[12,60,72,289,396,463,493],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,35,37,42,44,50,52,58],{"type":18,"value":19},"text","An application queries if a protected ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/VkSurfaceKHR",[25],{"type":18,"value":26},"VkSurfaceKHR",{"type":18,"value":28}," is displayable on a\nspecific windowing system using ",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":4},{"type":18,"value":36},",\nwhich ",{"type":13,"tag":38,"props":39,"children":41},"normative",{"type":40},"can",[],{"type":18,"value":43}," be passed in ",{"type":13,"tag":30,"props":45,"children":47},{"className":46},[],[48],{"type":18,"value":49},"pNext",{"type":18,"value":51}," parameter of\n",{"type":13,"tag":30,"props":53,"children":55},{"className":54},[],[56],{"type":18,"value":57},"VkSurfaceCapabilities2KHR",{"type":18,"value":59},".",{"type":13,"tag":14,"props":61,"children":62},{},[63,65,70],{"type":18,"value":64},"The ",{"type":13,"tag":30,"props":66,"children":68},{"className":67},[],[69],{"type":18,"value":4},{"type":18,"value":71}," structure is defined as:",{"type":13,"tag":73,"props":74,"children":75},"code-group",{},[76,157],{"type":13,"tag":77,"props":78,"children":84},"pre",{"className":79,"code":80,"filename":81,"language":82,"meta":83,"style":83},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkSurfaceProtectedCapabilitiesKHR {\n VkStructureType sType;\n const void* pNext;\n VkBool32 supportsProtected;\n} VkSurfaceProtectedCapabilitiesKHR;\n","C","c","",[85],{"type":13,"tag":30,"props":86,"children":87},{"__ignoreMap":83},[88,111,120,139,148],{"type":13,"tag":89,"props":90,"children":93},"span",{"class":91,"line":92},"line",1,[94,100,105],{"type":13,"tag":89,"props":95,"children":97},{"style":96},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[98],{"type":18,"value":99},"typedef",{"type":13,"tag":89,"props":101,"children":102},{"style":96},[103],{"type":18,"value":104}," struct",{"type":13,"tag":89,"props":106,"children":108},{"style":107},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[109],{"type":18,"value":110}," VkSurfaceProtectedCapabilitiesKHR {\n",{"type":13,"tag":89,"props":112,"children":114},{"class":91,"line":113},2,[115],{"type":13,"tag":89,"props":116,"children":117},{"style":107},[118],{"type":18,"value":119}," VkStructureType sType;\n",{"type":13,"tag":89,"props":121,"children":123},{"class":91,"line":122},3,[124,129,134],{"type":13,"tag":89,"props":125,"children":126},{"style":96},[127],{"type":18,"value":128}," const",{"type":13,"tag":89,"props":130,"children":131},{"style":96},[132],{"type":18,"value":133}," void*",{"type":13,"tag":89,"props":135,"children":136},{"style":107},[137],{"type":18,"value":138}," pNext;\n",{"type":13,"tag":89,"props":140,"children":142},{"class":91,"line":141},4,[143],{"type":13,"tag":89,"props":144,"children":145},{"style":107},[146],{"type":18,"value":147}," VkBool32 supportsProtected;\n",{"type":13,"tag":89,"props":149,"children":151},{"class":91,"line":150},5,[152],{"type":13,"tag":89,"props":153,"children":154},{"style":107},[155],{"type":18,"value":156},"} VkSurfaceProtectedCapabilitiesKHR;\n",{"type":13,"tag":77,"props":158,"children":163},{"className":159,"code":160,"filename":161,"language":162,"meta":83,"style":83},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SurfaceProtectedCapabilitiesKHR {\n s_type: vk::StructureType,\n p_next: *const c_void,\n supports_protected: vk::Bool32, // Represents if surface can be protected\n}\n","Rust","rs",[164],{"type":13,"tag":30,"props":165,"children":166},{"__ignoreMap":83},[167,190,223,245,281],{"type":13,"tag":89,"props":168,"children":169},{"class":91,"line":92},[170,175,179,185],{"type":13,"tag":89,"props":171,"children":172},{"style":96},[173],{"type":18,"value":174},"pub",{"type":13,"tag":89,"props":176,"children":177},{"style":96},[178],{"type":18,"value":104},{"type":13,"tag":89,"props":180,"children":182},{"style":181},"--shiki-default:#953800;--shiki-dark:#FFA657",[183],{"type":18,"value":184}," SurfaceProtectedCapabilitiesKHR",{"type":13,"tag":89,"props":186,"children":187},{"style":107},[188],{"type":18,"value":189}," {\n",{"type":13,"tag":89,"props":191,"children":192},{"class":91,"line":113},[193,198,203,208,213,218],{"type":13,"tag":89,"props":194,"children":195},{"style":107},[196],{"type":18,"value":197}," s_type",{"type":13,"tag":89,"props":199,"children":200},{"style":96},[201],{"type":18,"value":202},":",{"type":13,"tag":89,"props":204,"children":205},{"style":181},[206],{"type":18,"value":207}," vk",{"type":13,"tag":89,"props":209,"children":210},{"style":96},[211],{"type":18,"value":212},"::",{"type":13,"tag":89,"props":214,"children":215},{"style":181},[216],{"type":18,"value":217},"StructureType",{"type":13,"tag":89,"props":219,"children":220},{"style":107},[221],{"type":18,"value":222},",\n",{"type":13,"tag":89,"props":224,"children":225},{"class":91,"line":122},[226,231,235,240],{"type":13,"tag":89,"props":227,"children":228},{"style":107},[229],{"type":18,"value":230}," p_next",{"type":13,"tag":89,"props":232,"children":233},{"style":96},[234],{"type":18,"value":202},{"type":13,"tag":89,"props":236,"children":237},{"style":96},[238],{"type":18,"value":239}," *const",{"type":13,"tag":89,"props":241,"children":242},{"style":107},[243],{"type":18,"value":244}," c_void,\n",{"type":13,"tag":89,"props":246,"children":247},{"class":91,"line":141},[248,253,257,261,265,270,275],{"type":13,"tag":89,"props":249,"children":250},{"style":107},[251],{"type":18,"value":252}," supports_protected",{"type":13,"tag":89,"props":254,"children":255},{"style":96},[256],{"type":18,"value":202},{"type":13,"tag":89,"props":258,"children":259},{"style":181},[260],{"type":18,"value":207},{"type":13,"tag":89,"props":262,"children":263},{"style":96},[264],{"type":18,"value":212},{"type":13,"tag":89,"props":266,"children":267},{"style":181},[268],{"type":18,"value":269},"Bool32",{"type":13,"tag":89,"props":271,"children":272},{"style":107},[273],{"type":18,"value":274},", ",{"type":13,"tag":89,"props":276,"children":278},{"style":277},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[279],{"type":18,"value":280},"// Represents if surface can be protected\n",{"type":13,"tag":89,"props":282,"children":283},{"class":91,"line":150},[284],{"type":13,"tag":89,"props":285,"children":286},{"style":107},[287],{"type":18,"value":288},"}\n",{"type":13,"tag":290,"props":291,"children":292},"ul",{},[293,313,331],{"type":13,"tag":294,"props":295,"children":296},"li",{},[297,303,305,311],{"type":13,"tag":30,"props":298,"children":300},{"className":299},[],[301],{"type":18,"value":302},"sType",{"type":18,"value":304}," is a ",{"type":13,"tag":21,"props":306,"children":308},{"href":307},"/man/VkStructureType",[309],{"type":18,"value":310},"VkStructureType",{"type":18,"value":312}," value identifying this structure.",{"type":13,"tag":294,"props":314,"children":315},{},[316,321,323,329],{"type":13,"tag":30,"props":317,"children":319},{"className":318},[],[320],{"type":18,"value":49},{"type":18,"value":322}," is ",{"type":13,"tag":30,"props":324,"children":326},{"className":325},[],[327],{"type":18,"value":328},"NULL",{"type":18,"value":330}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":294,"props":332,"children":333},{},[334,340,342,348,349,355,357,360,362,367,368,374,376,382,384,388,390,395],{"type":13,"tag":30,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":339},"supportsProtected",{"type":18,"value":341}," specifies whether a protected swapchain created\nfrom ",{"type":13,"tag":21,"props":343,"children":345},{"href":344},"/man/VkPhysicalDeviceSurfaceInfo2KHR",[346],{"type":18,"value":347},"VkPhysicalDeviceSurfaceInfo2KHR",{"type":18,"value":212},{"type":13,"tag":30,"props":350,"children":352},{"className":351},[],[353],{"type":18,"value":354},"surface",{"type":18,"value":356}," for a\nparticular windowing system ",{"type":13,"tag":38,"props":358,"children":359},{"type":40},[],{"type":18,"value":361}," be displayed on screen or not.\nIf ",{"type":13,"tag":30,"props":363,"children":365},{"className":364},[],[366],{"type":18,"value":339},{"type":18,"value":322},{"type":13,"tag":30,"props":369,"children":371},{"className":370},[],[372],{"type":18,"value":373},"VK_TRUE",{"type":18,"value":375},", then creation of swapchains\nwith the ",{"type":13,"tag":30,"props":377,"children":379},{"className":378},[],[380],{"type":18,"value":381},"VK_SWAPCHAIN_CREATE_PROTECTED_BIT_KHR",{"type":18,"value":383}," flag set ",{"type":13,"tag":38,"props":385,"children":387},{"type":386},"must",[],{"type":18,"value":389}," be\nsupported for ",{"type":13,"tag":30,"props":391,"children":393},{"className":392},[],[394],{"type":18,"value":354},{"type":18,"value":59},{"type":13,"tag":14,"props":397,"children":398},{},[399,401,407,409,414,416,422,424,428,429,434,436,439,441,447,449,454,455,461],{"type":18,"value":400},"If the ",{"type":13,"tag":21,"props":402,"children":404},{"href":403},"/extensions/VK_GOOGLE_surfaceless_query",[405],{"type":18,"value":406},"VK_GOOGLE_surfaceless_query",{"type":18,"value":408}," extension is enabled, the value\nreturned in ",{"type":13,"tag":30,"props":410,"children":412},{"className":411},[],[413],{"type":18,"value":339},{"type":18,"value":415}," will be identical for every valid\nsurface created on this physical device, and so in the\n",{"type":13,"tag":21,"props":417,"children":419},{"href":418},"/man/vkGetPhysicalDeviceSurfaceCapabilities2KHR",[420],{"type":18,"value":421},"vkGetPhysicalDeviceSurfaceCapabilities2KHR",{"type":18,"value":423}," call,\n",{"type":13,"tag":21,"props":425,"children":426},{"href":344},[427],{"type":18,"value":347},{"type":18,"value":212},{"type":13,"tag":30,"props":430,"children":432},{"className":431},[],[433],{"type":18,"value":354},{"type":18,"value":435}," ",{"type":13,"tag":38,"props":437,"children":438},{"type":40},[],{"type":18,"value":440}," be\n",{"type":13,"tag":21,"props":442,"children":444},{"href":443},"/man/VK_NULL_HANDLE",[445],{"type":18,"value":446},"VK_NULL_HANDLE",{"type":18,"value":448},".\nIn that case, the contents of\n",{"type":13,"tag":21,"props":450,"children":452},{"href":451},"/man/VkSurfaceCapabilities2KHR",[453],{"type":18,"value":57},{"type":18,"value":212},{"type":13,"tag":30,"props":456,"children":458},{"className":457},[],[459],{"type":18,"value":460},"surfaceCapabilities",{"type":18,"value":462}," as well as any\nother struct chained to it will be undefined:.",{"type":13,"tag":464,"props":465,"children":467},"validity-group",{"name":466},"Valid Usage (Implicit)",[468],{"type":13,"tag":469,"props":470,"children":472},"validity-field",{"name":471},"VUID-VkSurfaceProtectedCapabilitiesKHR-sType-sType",[473],{"type":13,"tag":14,"props":474,"children":475},{},[476,481,482,485,487],{"type":13,"tag":30,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":302},{"type":18,"value":435},{"type":13,"tag":38,"props":483,"children":484},{"type":386},[],{"type":18,"value":486}," be ",{"type":13,"tag":30,"props":488,"children":490},{"className":489},[],[491],{"type":18,"value":492},"VK_STRUCTURE_TYPE_SURFACE_PROTECTED_CAPABILITIES_KHR",{"type":13,"tag":494,"props":495,"children":496},"style",{},[497],{"type":18,"value":498},"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":83,"searchDepth":113,"depth":113,"links":500},[],"markdown",1729612483569]