[{"data":1,"prerenderedAt":621},["ShallowReactive",2],{"W96CMwNAzb":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":620,"_id":4},"VkDisplayPropertiesKHR","Structure describing an available display device","VK_KHR_display","structs",[],{"type":10,"children":11,"toc":618},"root",[12,28,424,509,524,593,612],{"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 as:",{"type":13,"tag":29,"props":30,"children":31},"code-group",{},[32,149],{"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 VkDisplayPropertiesKHR {\n VkDisplayKHR display;\n const char* displayName;\n VkExtent2D physicalDimensions;\n VkExtent2D physicalResolution;\n VkSurfaceTransformFlagsKHR supportedTransforms;\n VkBool32 planeReorderPossible;\n VkBool32 persistentContent;\n} VkDisplayPropertiesKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104,113,122,131,140],{"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}," VkDisplayPropertiesKHR {\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}," VkDisplayKHR display;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80,85,90],{"type":13,"tag":45,"props":81,"children":82},{"style":52},[83],{"type":18,"value":84}," const",{"type":13,"tag":45,"props":86,"children":87},{"style":52},[88],{"type":18,"value":89}," char*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," displayName;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkExtent2D physicalDimensions;\n",{"type":13,"tag":45,"props":105,"children":107},{"class":47,"line":106},5,[108],{"type":13,"tag":45,"props":109,"children":110},{"style":63},[111],{"type":18,"value":112}," VkExtent2D physicalResolution;\n",{"type":13,"tag":45,"props":114,"children":116},{"class":47,"line":115},6,[117],{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," VkSurfaceTransformFlagsKHR supportedTransforms;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},7,[126],{"type":13,"tag":45,"props":127,"children":128},{"style":63},[129],{"type":18,"value":130}," VkBool32 planeReorderPossible;\n",{"type":13,"tag":45,"props":132,"children":134},{"class":47,"line":133},8,[135],{"type":13,"tag":45,"props":136,"children":137},{"style":63},[138],{"type":18,"value":139}," VkBool32 persistentContent;\n",{"type":13,"tag":45,"props":141,"children":143},{"class":47,"line":142},9,[144],{"type":13,"tag":45,"props":145,"children":146},{"style":63},[147],{"type":18,"value":148},"} VkDisplayPropertiesKHR;\n",{"type":13,"tag":33,"props":150,"children":155},{"className":151,"code":152,"filename":153,"language":154,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct DisplayPropertiesKHR {\n display: vk::DisplayKHR, // Handle of the display object\n display_name: *const c_char, // Name of the display\n physical_dimensions: vk::Extent2D, // In millimeters?\n physical_resolution: vk::Extent2D, // Max resolution for CRT?\n supported_transforms: vk::SurfaceTransformFlagsKHR, // one or more bits from VkSurfaceTransformFlagsKHR\n plane_reorder_possible: vk::Bool32, // VK_TRUE if the overlay plane's z-order can be changed on this display.\n persistent_content: vk::Bool32, // VK_TRUE if this is a \"smart\" display that supports self-refresh/internal buffering.\n}\n","Rust","rs",[156],{"type":13,"tag":21,"props":157,"children":158},{"__ignoreMap":39},[159,182,221,248,282,315,349,383,416],{"type":13,"tag":45,"props":160,"children":161},{"class":47,"line":48},[162,167,171,177],{"type":13,"tag":45,"props":163,"children":164},{"style":52},[165],{"type":18,"value":166},"pub",{"type":13,"tag":45,"props":168,"children":169},{"style":52},[170],{"type":18,"value":60},{"type":13,"tag":45,"props":172,"children":174},{"style":173},"--shiki-default:#953800;--shiki-dark:#FFA657",[175],{"type":18,"value":176}," DisplayPropertiesKHR",{"type":13,"tag":45,"props":178,"children":179},{"style":63},[180],{"type":18,"value":181}," {\n",{"type":13,"tag":45,"props":183,"children":184},{"class":47,"line":69},[185,190,195,200,205,210,215],{"type":13,"tag":45,"props":186,"children":187},{"style":63},[188],{"type":18,"value":189}," display",{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":194},":",{"type":13,"tag":45,"props":196,"children":197},{"style":173},[198],{"type":18,"value":199}," vk",{"type":13,"tag":45,"props":201,"children":202},{"style":52},[203],{"type":18,"value":204},"::",{"type":13,"tag":45,"props":206,"children":207},{"style":173},[208],{"type":18,"value":209},"DisplayKHR",{"type":13,"tag":45,"props":211,"children":212},{"style":63},[213],{"type":18,"value":214},", ",{"type":13,"tag":45,"props":216,"children":218},{"style":217},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[219],{"type":18,"value":220},"// Handle of the display object\n",{"type":13,"tag":45,"props":222,"children":223},{"class":47,"line":78},[224,229,233,238,243],{"type":13,"tag":45,"props":225,"children":226},{"style":63},[227],{"type":18,"value":228}," display_name",{"type":13,"tag":45,"props":230,"children":231},{"style":52},[232],{"type":18,"value":194},{"type":13,"tag":45,"props":234,"children":235},{"style":52},[236],{"type":18,"value":237}," *const",{"type":13,"tag":45,"props":239,"children":240},{"style":63},[241],{"type":18,"value":242}," c_char, ",{"type":13,"tag":45,"props":244,"children":245},{"style":217},[246],{"type":18,"value":247},"// Name of the display\n",{"type":13,"tag":45,"props":249,"children":250},{"class":47,"line":97},[251,256,260,264,268,273,277],{"type":13,"tag":45,"props":252,"children":253},{"style":63},[254],{"type":18,"value":255}," physical_dimensions",{"type":13,"tag":45,"props":257,"children":258},{"style":52},[259],{"type":18,"value":194},{"type":13,"tag":45,"props":261,"children":262},{"style":173},[263],{"type":18,"value":199},{"type":13,"tag":45,"props":265,"children":266},{"style":52},[267],{"type":18,"value":204},{"type":13,"tag":45,"props":269,"children":270},{"style":173},[271],{"type":18,"value":272},"Extent2D",{"type":13,"tag":45,"props":274,"children":275},{"style":63},[276],{"type":18,"value":214},{"type":13,"tag":45,"props":278,"children":279},{"style":217},[280],{"type":18,"value":281},"// In millimeters?\n",{"type":13,"tag":45,"props":283,"children":284},{"class":47,"line":106},[285,290,294,298,302,306,310],{"type":13,"tag":45,"props":286,"children":287},{"style":63},[288],{"type":18,"value":289}," physical_resolution",{"type":13,"tag":45,"props":291,"children":292},{"style":52},[293],{"type":18,"value":194},{"type":13,"tag":45,"props":295,"children":296},{"style":173},[297],{"type":18,"value":199},{"type":13,"tag":45,"props":299,"children":300},{"style":52},[301],{"type":18,"value":204},{"type":13,"tag":45,"props":303,"children":304},{"style":173},[305],{"type":18,"value":272},{"type":13,"tag":45,"props":307,"children":308},{"style":63},[309],{"type":18,"value":214},{"type":13,"tag":45,"props":311,"children":312},{"style":217},[313],{"type":18,"value":314},"// Max resolution for CRT?\n",{"type":13,"tag":45,"props":316,"children":317},{"class":47,"line":115},[318,323,327,331,335,340,344],{"type":13,"tag":45,"props":319,"children":320},{"style":63},[321],{"type":18,"value":322}," supported_transforms",{"type":13,"tag":45,"props":324,"children":325},{"style":52},[326],{"type":18,"value":194},{"type":13,"tag":45,"props":328,"children":329},{"style":173},[330],{"type":18,"value":199},{"type":13,"tag":45,"props":332,"children":333},{"style":52},[334],{"type":18,"value":204},{"type":13,"tag":45,"props":336,"children":337},{"style":173},[338],{"type":18,"value":339},"SurfaceTransformFlagsKHR",{"type":13,"tag":45,"props":341,"children":342},{"style":63},[343],{"type":18,"value":214},{"type":13,"tag":45,"props":345,"children":346},{"style":217},[347],{"type":18,"value":348},"// one or more bits from VkSurfaceTransformFlagsKHR\n",{"type":13,"tag":45,"props":350,"children":351},{"class":47,"line":124},[352,357,361,365,369,374,378],{"type":13,"tag":45,"props":353,"children":354},{"style":63},[355],{"type":18,"value":356}," plane_reorder_possible",{"type":13,"tag":45,"props":358,"children":359},{"style":52},[360],{"type":18,"value":194},{"type":13,"tag":45,"props":362,"children":363},{"style":173},[364],{"type":18,"value":199},{"type":13,"tag":45,"props":366,"children":367},{"style":52},[368],{"type":18,"value":204},{"type":13,"tag":45,"props":370,"children":371},{"style":173},[372],{"type":18,"value":373},"Bool32",{"type":13,"tag":45,"props":375,"children":376},{"style":63},[377],{"type":18,"value":214},{"type":13,"tag":45,"props":379,"children":380},{"style":217},[381],{"type":18,"value":382},"// VK_TRUE if the overlay plane's z-order can be changed on this display.\n",{"type":13,"tag":45,"props":384,"children":385},{"class":47,"line":133},[386,391,395,399,403,407,411],{"type":13,"tag":45,"props":387,"children":388},{"style":63},[389],{"type":18,"value":390}," persistent_content",{"type":13,"tag":45,"props":392,"children":393},{"style":52},[394],{"type":18,"value":194},{"type":13,"tag":45,"props":396,"children":397},{"style":173},[398],{"type":18,"value":199},{"type":13,"tag":45,"props":400,"children":401},{"style":52},[402],{"type":18,"value":204},{"type":13,"tag":45,"props":404,"children":405},{"style":173},[406],{"type":18,"value":373},{"type":13,"tag":45,"props":408,"children":409},{"style":63},[410],{"type":18,"value":214},{"type":13,"tag":45,"props":412,"children":413},{"style":217},[414],{"type":18,"value":415},"// VK_TRUE if this is a \"smart\" display that supports self-refresh/internal buffering.\n",{"type":13,"tag":45,"props":417,"children":418},{"class":47,"line":142},[419],{"type":13,"tag":45,"props":420,"children":421},{"style":63},[422],{"type":18,"value":423},"}\n",{"type":13,"tag":425,"props":426,"children":427},"ul",{},[428,440,487,498],{"type":13,"tag":429,"props":430,"children":431},"li",{},[432,438],{"type":13,"tag":21,"props":433,"children":435},{"className":434},[],[436],{"type":18,"value":437},"display",{"type":18,"value":439}," is a handle that is used to refer to the display described\nhere.\nThis handle will be valid for the lifetime of the Vulkan instance.",{"type":13,"tag":429,"props":441,"children":442},{},[443,449,451,457,459,464,466,471,473,478,480,485],{"type":13,"tag":21,"props":444,"children":446},{"className":445},[],[447],{"type":18,"value":448},"displayName",{"type":18,"value":450}," is ",{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":456},"NULL",{"type":18,"value":458}," or a pointer to a null-terminated UTF-8\nstring containing the name of the display.\nGenerally, this will be the name provided by the display’s EDID.\nIf ",{"type":13,"tag":21,"props":460,"children":462},{"className":461},[],[463],{"type":18,"value":456},{"type":18,"value":465},", no suitable name is available.\nIf not ",{"type":13,"tag":21,"props":467,"children":469},{"className":468},[],[470],{"type":18,"value":456},{"type":18,"value":472},", the string pointed to ",{"type":13,"tag":474,"props":475,"children":477},"normative",{"type":476},"must",[],{"type":18,"value":479}," remain accessible and\nunmodified as long as ",{"type":13,"tag":21,"props":481,"children":483},{"className":482},[],[484],{"type":18,"value":437},{"type":18,"value":486}," is valid.",{"type":13,"tag":429,"props":488,"children":489},{},[490,496],{"type":13,"tag":21,"props":491,"children":493},{"className":492},[],[494],{"type":18,"value":495},"physicalDimensions",{"type":18,"value":497}," describes the physical width and height of the\nvisible portion of the display, in millimeters.",{"type":13,"tag":429,"props":499,"children":500},{},[501,507],{"type":13,"tag":21,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":506},"physicalResolution",{"type":18,"value":508}," describes the physical, native, or preferred\nresolution of the display.",{"type":13,"tag":510,"props":511,"children":512},"note",{},[513],{"type":13,"tag":14,"props":514,"children":515},{},[516,518,522],{"type":18,"value":517},"For devices which have no natural value to return here, implementations\n",{"type":13,"tag":474,"props":519,"children":521},{"type":520},"should",[],{"type":18,"value":523}," return the maximum resolution supported.",{"type":13,"tag":425,"props":525,"children":526},{},[527,547,577],{"type":13,"tag":429,"props":528,"children":529},{},[530,536,538,545],{"type":13,"tag":21,"props":531,"children":533},{"className":532},[],[534],{"type":18,"value":535},"supportedTransforms",{"type":18,"value":537}," is a bitmask of\n",{"type":13,"tag":539,"props":540,"children":542},"a",{"href":541},"/man/VkSurfaceTransformFlagBitsKHR",[543],{"type":18,"value":544},"VkSurfaceTransformFlagBitsKHR",{"type":18,"value":546}," describing which transforms are\nsupported by this display.",{"type":13,"tag":429,"props":548,"children":549},{},[550,556,558,562,564,570,572,575],{"type":13,"tag":21,"props":551,"children":553},{"className":552},[],[554],{"type":18,"value":555},"planeReorderPossible",{"type":18,"value":557}," tells whether the planes on this display ",{"type":13,"tag":474,"props":559,"children":561},{"type":560},"can",[],{"type":18,"value":563},"\nhave their z order changed.\nIf this is ",{"type":13,"tag":21,"props":565,"children":567},{"className":566},[],[568],{"type":18,"value":569},"VK_TRUE",{"type":18,"value":571},", the application ",{"type":13,"tag":474,"props":573,"children":574},{"type":560},[],{"type":18,"value":576}," re-arrange the planes on\nthis display in any order relative to each other.",{"type":13,"tag":429,"props":578,"children":579},{},[580,586,588,591],{"type":13,"tag":21,"props":581,"children":583},{"className":582},[],[584],{"type":18,"value":585},"persistentContent",{"type":18,"value":587}," tells whether the display supports\nself-refresh/internal buffering.\nIf this is true, the application ",{"type":13,"tag":474,"props":589,"children":590},{"type":560},[],{"type":18,"value":592}," submit persistent present\noperations on swapchains created against this display.",{"type":13,"tag":510,"props":594,"children":595},{},[596],{"type":13,"tag":14,"props":597,"children":598},{},[599,601,605,607,610],{"type":18,"value":600},"Persistent presents ",{"type":13,"tag":474,"props":602,"children":604},{"type":603},"may",[],{"type":18,"value":606}," have higher latency, and ",{"type":13,"tag":474,"props":608,"children":609},{"type":603},[],{"type":18,"value":611}," use less power when\nthe screen content is updated infrequently, or when only a portion of the\nscreen needs to be updated in most frames.",{"type":13,"tag":613,"props":614,"children":615},"style",{},[616],{"type":18,"value":617},"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":619},[],"markdown",1725732550612]