[{"data":1,"prerenderedAt":261},["ShallowReactive",2],{"TiLo0cHfpq":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":260,"_id":4},"VkSurfaceFormatKHR","Structure describing a supported swapchain format-color space pair","VK_KHR_surface","structs",[],{"type":10,"children":11,"toc":258},"root",[12,28,208,252],{"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,94],{"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 VkSurfaceFormatKHR {\n VkFormat format;\n VkColorSpaceKHR colorSpace;\n} VkSurfaceFormatKHR;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,85],{"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}," VkSurfaceFormatKHR {\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}," VkFormat format;\n",{"type":13,"tag":45,"props":77,"children":79},{"class":47,"line":78},3,[80],{"type":13,"tag":45,"props":81,"children":82},{"style":63},[83],{"type":18,"value":84}," VkColorSpaceKHR colorSpace;\n",{"type":13,"tag":45,"props":86,"children":88},{"class":47,"line":87},4,[89],{"type":13,"tag":45,"props":90,"children":91},{"style":63},[92],{"type":18,"value":93},"} VkSurfaceFormatKHR;\n",{"type":13,"tag":33,"props":95,"children":100},{"className":96,"code":97,"filename":98,"language":99,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SurfaceFormatKHR {\n format: vk::Format, // Supported pair of rendering format\n color_space: vk::ColorSpaceKHR, // and color space for the surface\n}\n","Rust","rs",[101],{"type":13,"tag":21,"props":102,"children":103},{"__ignoreMap":39},[104,127,166,200],{"type":13,"tag":45,"props":105,"children":106},{"class":47,"line":48},[107,112,116,122],{"type":13,"tag":45,"props":108,"children":109},{"style":52},[110],{"type":18,"value":111},"pub",{"type":13,"tag":45,"props":113,"children":114},{"style":52},[115],{"type":18,"value":60},{"type":13,"tag":45,"props":117,"children":119},{"style":118},"--shiki-default:#953800;--shiki-dark:#FFA657",[120],{"type":18,"value":121}," SurfaceFormatKHR",{"type":13,"tag":45,"props":123,"children":124},{"style":63},[125],{"type":18,"value":126}," {\n",{"type":13,"tag":45,"props":128,"children":129},{"class":47,"line":69},[130,135,140,145,150,155,160],{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," format",{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},":",{"type":13,"tag":45,"props":141,"children":142},{"style":118},[143],{"type":18,"value":144}," vk",{"type":13,"tag":45,"props":146,"children":147},{"style":52},[148],{"type":18,"value":149},"::",{"type":13,"tag":45,"props":151,"children":152},{"style":118},[153],{"type":18,"value":154},"Format",{"type":13,"tag":45,"props":156,"children":157},{"style":63},[158],{"type":18,"value":159},", ",{"type":13,"tag":45,"props":161,"children":163},{"style":162},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[164],{"type":18,"value":165},"// Supported pair of rendering format\n",{"type":13,"tag":45,"props":167,"children":168},{"class":47,"line":78},[169,174,178,182,186,191,195],{"type":13,"tag":45,"props":170,"children":171},{"style":63},[172],{"type":18,"value":173}," color_space",{"type":13,"tag":45,"props":175,"children":176},{"style":52},[177],{"type":18,"value":139},{"type":13,"tag":45,"props":179,"children":180},{"style":118},[181],{"type":18,"value":144},{"type":13,"tag":45,"props":183,"children":184},{"style":52},[185],{"type":18,"value":149},{"type":13,"tag":45,"props":187,"children":188},{"style":118},[189],{"type":18,"value":190},"ColorSpaceKHR",{"type":13,"tag":45,"props":192,"children":193},{"style":63},[194],{"type":18,"value":159},{"type":13,"tag":45,"props":196,"children":197},{"style":162},[198],{"type":18,"value":199},"// and color space for the surface\n",{"type":13,"tag":45,"props":201,"children":202},{"class":47,"line":87},[203],{"type":13,"tag":45,"props":204,"children":205},{"style":63},[206],{"type":18,"value":207},"}\n",{"type":13,"tag":209,"props":210,"children":211},"ul",{},[212,233],{"type":13,"tag":213,"props":214,"children":215},"li",{},[216,222,224,231],{"type":13,"tag":21,"props":217,"children":219},{"className":218},[],[220],{"type":18,"value":221},"format",{"type":18,"value":223}," is a ",{"type":13,"tag":225,"props":226,"children":228},"a",{"href":227},"/man/VkFormat",[229],{"type":18,"value":230},"VkFormat",{"type":18,"value":232}," that is compatible with the specified\nsurface.",{"type":13,"tag":213,"props":234,"children":235},{},[236,242,244,250],{"type":13,"tag":21,"props":237,"children":239},{"className":238},[],[240],{"type":18,"value":241},"colorSpace",{"type":18,"value":243}," is a presentation ",{"type":13,"tag":225,"props":245,"children":247},{"href":246},"/man/VkColorSpaceKHR",[248],{"type":18,"value":249},"VkColorSpaceKHR",{"type":18,"value":251}," that is\ncompatible with the surface.",{"type":13,"tag":253,"props":254,"children":255},"style",{},[256],{"type":18,"value":257},"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":259},[],"markdown",1725732589235]