[{"data":1,"prerenderedAt":822},["ShallowReactive",2],{"FaGmS3En5w":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":821,"_id":4},"VkPipelineRenderingCreateInfo","Structure specifying attachment formats","VK_VERSION_1_3","structs",[],{"type":10,"children":11,"toc":819},"root",[12,28,398,403,468,590,673,718,750,785,813],{"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,172],{"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 VkPipelineRenderingCreateInfo {\n VkStructureType sType;\n const void* pNext;\n uint32_t viewMask;\n uint32_t colorAttachmentCount;\n const VkFormat* pColorAttachmentFormats;\n VkFormat depthAttachmentFormat;\n VkFormat stencilAttachmentFormat;\n} VkPipelineRenderingCreateInfo;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,109,122,145,154,163],{"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}," VkPipelineRenderingCreateInfo {\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}," VkStructureType sType;\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}," void*",{"type":13,"tag":45,"props":91,"children":92},{"style":63},[93],{"type":18,"value":94}," pNext;\n",{"type":13,"tag":45,"props":96,"children":98},{"class":47,"line":97},4,[99,104],{"type":13,"tag":45,"props":100,"children":101},{"style":52},[102],{"type":18,"value":103}," uint32_t",{"type":13,"tag":45,"props":105,"children":106},{"style":63},[107],{"type":18,"value":108}," viewMask;\n",{"type":13,"tag":45,"props":110,"children":112},{"class":47,"line":111},5,[113,117],{"type":13,"tag":45,"props":114,"children":115},{"style":52},[116],{"type":18,"value":103},{"type":13,"tag":45,"props":118,"children":119},{"style":63},[120],{"type":18,"value":121}," colorAttachmentCount;\n",{"type":13,"tag":45,"props":123,"children":125},{"class":47,"line":124},6,[126,130,135,140],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":84},{"type":13,"tag":45,"props":131,"children":132},{"style":63},[133],{"type":18,"value":134}," VkFormat",{"type":13,"tag":45,"props":136,"children":137},{"style":52},[138],{"type":18,"value":139},"*",{"type":13,"tag":45,"props":141,"children":142},{"style":63},[143],{"type":18,"value":144}," pColorAttachmentFormats;\n",{"type":13,"tag":45,"props":146,"children":148},{"class":47,"line":147},7,[149],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," VkFormat depthAttachmentFormat;\n",{"type":13,"tag":45,"props":155,"children":157},{"class":47,"line":156},8,[158],{"type":13,"tag":45,"props":159,"children":160},{"style":63},[161],{"type":18,"value":162}," VkFormat stencilAttachmentFormat;\n",{"type":13,"tag":45,"props":164,"children":166},{"class":47,"line":165},9,[167],{"type":13,"tag":45,"props":168,"children":169},{"style":63},[170],{"type":18,"value":171},"} VkPipelineRenderingCreateInfo;\n",{"type":13,"tag":33,"props":173,"children":178},{"className":174,"code":175,"filename":176,"language":177,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct PipelineRenderingCreateInfo {\n s_type: vk::StructureType,\n p_next: *const c_void,\n view_mask: u32,\n color_attachment_count: u32,\n p_color_attachment_formats: *const vk::Format,\n depth_attachment_format: vk::Format,\n stencil_attachment_format: vk::Format,\n}\n","Rust","rs",[179],{"type":13,"tag":21,"props":180,"children":181},{"__ignoreMap":39},[182,205,238,260,281,301,334,362,390],{"type":13,"tag":45,"props":183,"children":184},{"class":47,"line":48},[185,190,194,200],{"type":13,"tag":45,"props":186,"children":187},{"style":52},[188],{"type":18,"value":189},"pub",{"type":13,"tag":45,"props":191,"children":192},{"style":52},[193],{"type":18,"value":60},{"type":13,"tag":45,"props":195,"children":197},{"style":196},"--shiki-default:#953800;--shiki-dark:#FFA657",[198],{"type":18,"value":199}," PipelineRenderingCreateInfo",{"type":13,"tag":45,"props":201,"children":202},{"style":63},[203],{"type":18,"value":204}," {\n",{"type":13,"tag":45,"props":206,"children":207},{"class":47,"line":69},[208,213,218,223,228,233],{"type":13,"tag":45,"props":209,"children":210},{"style":63},[211],{"type":18,"value":212}," s_type",{"type":13,"tag":45,"props":214,"children":215},{"style":52},[216],{"type":18,"value":217},":",{"type":13,"tag":45,"props":219,"children":220},{"style":196},[221],{"type":18,"value":222}," vk",{"type":13,"tag":45,"props":224,"children":225},{"style":52},[226],{"type":18,"value":227},"::",{"type":13,"tag":45,"props":229,"children":230},{"style":196},[231],{"type":18,"value":232},"StructureType",{"type":13,"tag":45,"props":234,"children":235},{"style":63},[236],{"type":18,"value":237},",\n",{"type":13,"tag":45,"props":239,"children":240},{"class":47,"line":78},[241,246,250,255],{"type":13,"tag":45,"props":242,"children":243},{"style":63},[244],{"type":18,"value":245}," p_next",{"type":13,"tag":45,"props":247,"children":248},{"style":52},[249],{"type":18,"value":217},{"type":13,"tag":45,"props":251,"children":252},{"style":52},[253],{"type":18,"value":254}," *const",{"type":13,"tag":45,"props":256,"children":257},{"style":63},[258],{"type":18,"value":259}," c_void,\n",{"type":13,"tag":45,"props":261,"children":262},{"class":47,"line":97},[263,268,272,277],{"type":13,"tag":45,"props":264,"children":265},{"style":63},[266],{"type":18,"value":267}," view_mask",{"type":13,"tag":45,"props":269,"children":270},{"style":52},[271],{"type":18,"value":217},{"type":13,"tag":45,"props":273,"children":274},{"style":196},[275],{"type":18,"value":276}," u32",{"type":13,"tag":45,"props":278,"children":279},{"style":63},[280],{"type":18,"value":237},{"type":13,"tag":45,"props":282,"children":283},{"class":47,"line":111},[284,289,293,297],{"type":13,"tag":45,"props":285,"children":286},{"style":63},[287],{"type":18,"value":288}," color_attachment_count",{"type":13,"tag":45,"props":290,"children":291},{"style":52},[292],{"type":18,"value":217},{"type":13,"tag":45,"props":294,"children":295},{"style":196},[296],{"type":18,"value":276},{"type":13,"tag":45,"props":298,"children":299},{"style":63},[300],{"type":18,"value":237},{"type":13,"tag":45,"props":302,"children":303},{"class":47,"line":124},[304,309,313,317,321,325,330],{"type":13,"tag":45,"props":305,"children":306},{"style":63},[307],{"type":18,"value":308}," p_color_attachment_formats",{"type":13,"tag":45,"props":310,"children":311},{"style":52},[312],{"type":18,"value":217},{"type":13,"tag":45,"props":314,"children":315},{"style":52},[316],{"type":18,"value":254},{"type":13,"tag":45,"props":318,"children":319},{"style":196},[320],{"type":18,"value":222},{"type":13,"tag":45,"props":322,"children":323},{"style":52},[324],{"type":18,"value":227},{"type":13,"tag":45,"props":326,"children":327},{"style":196},[328],{"type":18,"value":329},"Format",{"type":13,"tag":45,"props":331,"children":332},{"style":63},[333],{"type":18,"value":237},{"type":13,"tag":45,"props":335,"children":336},{"class":47,"line":147},[337,342,346,350,354,358],{"type":13,"tag":45,"props":338,"children":339},{"style":63},[340],{"type":18,"value":341}," depth_attachment_format",{"type":13,"tag":45,"props":343,"children":344},{"style":52},[345],{"type":18,"value":217},{"type":13,"tag":45,"props":347,"children":348},{"style":196},[349],{"type":18,"value":222},{"type":13,"tag":45,"props":351,"children":352},{"style":52},[353],{"type":18,"value":227},{"type":13,"tag":45,"props":355,"children":356},{"style":196},[357],{"type":18,"value":329},{"type":13,"tag":45,"props":359,"children":360},{"style":63},[361],{"type":18,"value":237},{"type":13,"tag":45,"props":363,"children":364},{"class":47,"line":156},[365,370,374,378,382,386],{"type":13,"tag":45,"props":366,"children":367},{"style":63},[368],{"type":18,"value":369}," stencil_attachment_format",{"type":13,"tag":45,"props":371,"children":372},{"style":52},[373],{"type":18,"value":217},{"type":13,"tag":45,"props":375,"children":376},{"style":196},[377],{"type":18,"value":222},{"type":13,"tag":45,"props":379,"children":380},{"style":52},[381],{"type":18,"value":227},{"type":13,"tag":45,"props":383,"children":384},{"style":196},[385],{"type":18,"value":329},{"type":13,"tag":45,"props":387,"children":388},{"style":63},[389],{"type":18,"value":237},{"type":13,"tag":45,"props":391,"children":392},{"class":47,"line":165},[393],{"type":13,"tag":45,"props":394,"children":395},{"style":63},[396],{"type":18,"value":397},"}\n",{"type":13,"tag":14,"props":399,"children":400},{},[401],{"type":18,"value":402},"or the equivalent",{"type":13,"tag":29,"props":404,"children":405},{},[406,425],{"type":13,"tag":33,"props":407,"children":409},{"className":35,"code":408,"filename":37,"language":38,"meta":39,"style":39},"typedef VkPipelineRenderingCreateInfo VkPipelineRenderingCreateInfoKHR;\n",[410],{"type":13,"tag":21,"props":411,"children":412},{"__ignoreMap":39},[413],{"type":13,"tag":45,"props":414,"children":415},{"class":47,"line":48},[416,420],{"type":13,"tag":45,"props":417,"children":418},{"style":52},[419],{"type":18,"value":55},{"type":13,"tag":45,"props":421,"children":422},{"style":63},[423],{"type":18,"value":424}," VkPipelineRenderingCreateInfo VkPipelineRenderingCreateInfoKHR;\n",{"type":13,"tag":33,"props":426,"children":428},{"className":174,"code":427,"filename":176,"language":177,"meta":39,"style":39},"type PipelineRenderingCreateInfoKHR = vk::PipelineRenderingCreateInfo;\n",[429],{"type":13,"tag":21,"props":430,"children":431},{"__ignoreMap":39},[432],{"type":13,"tag":45,"props":433,"children":434},{"class":47,"line":48},[435,440,445,450,454,458,463],{"type":13,"tag":45,"props":436,"children":437},{"style":52},[438],{"type":18,"value":439},"type",{"type":13,"tag":45,"props":441,"children":442},{"style":196},[443],{"type":18,"value":444}," PipelineRenderingCreateInfoKHR",{"type":13,"tag":45,"props":446,"children":447},{"style":52},[448],{"type":18,"value":449}," =",{"type":13,"tag":45,"props":451,"children":452},{"style":196},[453],{"type":18,"value":222},{"type":13,"tag":45,"props":455,"children":456},{"style":52},[457],{"type":18,"value":227},{"type":13,"tag":45,"props":459,"children":460},{"style":196},[461],{"type":18,"value":462},"PipelineRenderingCreateInfo",{"type":13,"tag":45,"props":464,"children":465},{"style":63},[466],{"type":18,"value":467},";\n",{"type":13,"tag":469,"props":470,"children":471},"ul",{},[472,493,512,523,540,558,574],{"type":13,"tag":473,"props":474,"children":475},"li",{},[476,482,484,491],{"type":13,"tag":21,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"sType",{"type":18,"value":483}," is a ",{"type":13,"tag":485,"props":486,"children":488},"a",{"href":487},"/man/VkStructureType",[489],{"type":18,"value":490},"VkStructureType",{"type":18,"value":492}," value identifying this structure.",{"type":13,"tag":473,"props":494,"children":495},{},[496,502,504,510],{"type":13,"tag":21,"props":497,"children":499},{"className":498},[],[500],{"type":18,"value":501},"pNext",{"type":18,"value":503}," is ",{"type":13,"tag":21,"props":505,"children":507},{"className":506},[],[508],{"type":18,"value":509},"NULL",{"type":18,"value":511}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":473,"props":513,"children":514},{},[515,521],{"type":13,"tag":21,"props":516,"children":518},{"className":517},[],[519],{"type":18,"value":520},"viewMask",{"type":18,"value":522}," is the viewMask used for rendering.",{"type":13,"tag":473,"props":524,"children":525},{},[526,532,534],{"type":13,"tag":21,"props":527,"children":529},{"className":528},[],[530],{"type":18,"value":531},"colorAttachmentCount",{"type":18,"value":533}," is the number of entries in\n",{"type":13,"tag":21,"props":535,"children":537},{"className":536},[],[538],{"type":18,"value":539},"pColorAttachmentFormats",{"type":13,"tag":473,"props":541,"children":542},{},[543,548,550,556],{"type":13,"tag":21,"props":544,"children":546},{"className":545},[],[547],{"type":18,"value":539},{"type":18,"value":549}," is a pointer to an array of ",{"type":13,"tag":485,"props":551,"children":553},{"href":552},"/man/VkFormat",[554],{"type":18,"value":555},"VkFormat",{"type":18,"value":557},"\nvalues defining the format of color attachments used in this pipeline.",{"type":13,"tag":473,"props":559,"children":560},{},[561,567,568,572],{"type":13,"tag":21,"props":562,"children":564},{"className":563},[],[565],{"type":18,"value":566},"depthAttachmentFormat",{"type":18,"value":483},{"type":13,"tag":485,"props":569,"children":570},{"href":552},[571],{"type":18,"value":555},{"type":18,"value":573}," value defining the\nformat of the depth attachment used in this pipeline.",{"type":13,"tag":473,"props":575,"children":576},{},[577,583,584,588],{"type":13,"tag":21,"props":578,"children":580},{"className":579},[],[581],{"type":18,"value":582},"stencilAttachmentFormat",{"type":18,"value":483},{"type":13,"tag":485,"props":585,"children":586},{"href":552},[587],{"type":18,"value":555},{"type":18,"value":589}," value defining the\nformat of the stencil attachment used in this pipeline.",{"type":13,"tag":14,"props":591,"children":592},{},[593,595,601,603,608,610,616,618,622,624,629,631,636,638,644,646,651,652,657,659,665,667,671],{"type":18,"value":594},"When a pipeline is created without a ",{"type":13,"tag":485,"props":596,"children":598},{"href":597},"/man/VkRenderPass",[599],{"type":18,"value":600},"VkRenderPass",{"type":18,"value":602},", if the ",{"type":13,"tag":21,"props":604,"children":606},{"className":605},[],[607],{"type":18,"value":501},{"type":18,"value":609},"\nchain of ",{"type":13,"tag":485,"props":611,"children":613},{"href":612},"/man/VkGraphicsPipelineCreateInfo",[614],{"type":18,"value":615},"VkGraphicsPipelineCreateInfo",{"type":18,"value":617}," includes this structure, it\nspecifies the view mask and format of attachments used for rendering.\nIf this structure is not specified, and the pipeline does not include a\n",{"type":13,"tag":485,"props":619,"children":620},{"href":597},[621],{"type":18,"value":600},{"type":18,"value":623},", ",{"type":13,"tag":21,"props":625,"children":627},{"className":626},[],[628],{"type":18,"value":520},{"type":18,"value":630}," and ",{"type":13,"tag":21,"props":632,"children":634},{"className":633},[],[635],{"type":18,"value":531},{"type":18,"value":637}," are ",{"type":13,"tag":21,"props":639,"children":641},{"className":640},[],[642],{"type":18,"value":643},"0",{"type":18,"value":645},",\nand ",{"type":13,"tag":21,"props":647,"children":649},{"className":648},[],[650],{"type":18,"value":566},{"type":18,"value":630},{"type":13,"tag":21,"props":653,"children":655},{"className":654},[],[656],{"type":18,"value":582},{"type":18,"value":658}," are\n",{"type":13,"tag":21,"props":660,"children":662},{"className":661},[],[663],{"type":18,"value":664},"VK_FORMAT_UNDEFINED",{"type":18,"value":666},".\nIf a graphics pipeline is created with a valid ",{"type":13,"tag":485,"props":668,"children":669},{"href":597},[670],{"type":18,"value":600},{"type":18,"value":672},",\nparameters of this structure are ignored.",{"type":13,"tag":14,"props":674,"children":675},{},[676,678,683,684,689,691,696,697,702,704,709,711,716],{"type":18,"value":677},"If ",{"type":13,"tag":21,"props":679,"children":681},{"className":680},[],[682],{"type":18,"value":566},{"type":18,"value":623},{"type":13,"tag":21,"props":685,"children":687},{"className":686},[],[688],{"type":18,"value":582},{"type":18,"value":690},", or any\nelement of ",{"type":13,"tag":21,"props":692,"children":694},{"className":693},[],[695],{"type":18,"value":539},{"type":18,"value":503},{"type":13,"tag":21,"props":698,"children":700},{"className":699},[],[701],{"type":18,"value":664},{"type":18,"value":703},", it\nindicates that the corresponding attachment is unused within the render\npass.\nValid formats indicate that an attachment ",{"type":13,"tag":705,"props":706,"children":708},"normative",{"type":707},"can",[],{"type":18,"value":710}," be used - but it is still\nvalid to set the attachment to ",{"type":13,"tag":21,"props":712,"children":714},{"className":713},[],[715],{"type":18,"value":509},{"type":18,"value":717}," when beginning rendering.",{"type":13,"tag":14,"props":719,"children":720},{},[721,723,729,731,735,737,742,744,748],{"type":18,"value":722},"If the render pass is going to be used with an external format resolve\nattachment, a ",{"type":13,"tag":485,"props":724,"children":726},{"href":725},"/man/VkExternalFormatANDROID",[727],{"type":18,"value":728},"VkExternalFormatANDROID",{"type":18,"value":730}," structure ",{"type":13,"tag":705,"props":732,"children":734},{"type":733},"must",[],{"type":18,"value":736}," also be included\nin the ",{"type":13,"tag":21,"props":738,"children":740},{"className":739},[],[741],{"type":18,"value":501},{"type":18,"value":743}," chain of ",{"type":13,"tag":485,"props":745,"children":746},{"href":612},[747],{"type":18,"value":615},{"type":18,"value":749},", defining the\nexternal format of the resolve attachment that will be used.",{"type":13,"tag":751,"props":752,"children":754},"validity-group",{"name":753},"Valid Usage",[755],{"type":13,"tag":756,"props":757,"children":759},"validity-field",{"name":758},"VUID-VkPipelineRenderingCreateInfo-colorAttachmentCount-09533",[760],{"type":13,"tag":14,"props":761,"children":762},{},[763,768,770,773,775],{"type":13,"tag":21,"props":764,"children":766},{"className":765},[],[767],{"type":18,"value":531},{"type":18,"value":769}," ",{"type":13,"tag":705,"props":771,"children":772},{"type":733},[],{"type":18,"value":774}," be less than or equal to\n",{"type":13,"tag":485,"props":776,"children":778},{"href":777},"/man/VkPhysicalDeviceLimits#limits-maxColorAttachments",[779],{"type":13,"tag":21,"props":780,"children":782},{"className":781},[],[783],{"type":18,"value":784},"maxColorAttachments",{"type":13,"tag":751,"props":786,"children":788},{"name":787},"Valid Usage (Implicit)",[789],{"type":13,"tag":756,"props":790,"children":792},{"name":791},"VUID-VkPipelineRenderingCreateInfo-sType-sType",[793],{"type":13,"tag":14,"props":794,"children":795},{},[796,801,802,805,807],{"type":13,"tag":21,"props":797,"children":799},{"className":798},[],[800],{"type":18,"value":481},{"type":18,"value":769},{"type":13,"tag":705,"props":803,"children":804},{"type":733},[],{"type":18,"value":806}," be ",{"type":13,"tag":21,"props":808,"children":810},{"className":809},[],[811],{"type":18,"value":812},"VK_STRUCTURE_TYPE_PIPELINE_RENDERING_CREATE_INFO",{"type":13,"tag":814,"props":815,"children":816},"style",{},[817],{"type":18,"value":818},"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":820},[],"markdown",1725732579335]