[{"data":1,"prerenderedAt":370},["ShallowReactive",2],{"q1XVXYkpBF":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":369,"_id":4},"VkSubpassContents","Specify how commands in the first subpass of a render pass are provided","VK_VERSION_1_0","enums",[],{"type":10,"children":11,"toc":367},"root",[12,38,281,361],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,36],{"type":18,"value":19},"text","Possible values of ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/man/vkCmdBeginRenderPass",[25],{"type":18,"value":26},"vkCmdBeginRenderPass",{"type":18,"value":28},"::",{"type":13,"tag":30,"props":31,"children":33},"code",{"className":32},[],[34],{"type":18,"value":35},"contents",{"type":18,"value":37},", specifying\nhow the commands in the first subpass will be provided, are:",{"type":13,"tag":39,"props":40,"children":41},"code-group",{},[42,133],{"type":13,"tag":43,"props":44,"children":50},"pre",{"className":45,"code":46,"filename":47,"language":48,"meta":49,"style":49},"language-c shiki shiki-themes github-light-default github-dark-default","typedef enum VkSubpassContents {\n VK_SUBPASS_CONTENTS_INLINE = 0,\n VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS = 1,\n} VkSubpassContents;\n","C","c","",[51],{"type":13,"tag":30,"props":52,"children":53},{"__ignoreMap":49},[54,77,102,124],{"type":13,"tag":55,"props":56,"children":59},"span",{"class":57,"line":58},"line",1,[60,66,71],{"type":13,"tag":55,"props":61,"children":63},{"style":62},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[64],{"type":18,"value":65},"typedef",{"type":13,"tag":55,"props":67,"children":68},{"style":62},[69],{"type":18,"value":70}," enum",{"type":13,"tag":55,"props":72,"children":74},{"style":73},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[75],{"type":18,"value":76}," VkSubpassContents {\n",{"type":13,"tag":55,"props":78,"children":80},{"class":57,"line":79},2,[81,86,91,97],{"type":13,"tag":55,"props":82,"children":83},{"style":73},[84],{"type":18,"value":85}," VK_SUBPASS_CONTENTS_INLINE ",{"type":13,"tag":55,"props":87,"children":88},{"style":62},[89],{"type":18,"value":90},"=",{"type":13,"tag":55,"props":92,"children":94},{"style":93},"--shiki-default:#0550AE;--shiki-dark:#79C0FF",[95],{"type":18,"value":96}," 0",{"type":13,"tag":55,"props":98,"children":99},{"style":73},[100],{"type":18,"value":101},",\n",{"type":13,"tag":55,"props":103,"children":105},{"class":57,"line":104},3,[106,111,115,120],{"type":13,"tag":55,"props":107,"children":108},{"style":73},[109],{"type":18,"value":110}," VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS ",{"type":13,"tag":55,"props":112,"children":113},{"style":62},[114],{"type":18,"value":90},{"type":13,"tag":55,"props":116,"children":117},{"style":93},[118],{"type":18,"value":119}," 1",{"type":13,"tag":55,"props":121,"children":122},{"style":73},[123],{"type":18,"value":101},{"type":13,"tag":55,"props":125,"children":127},{"class":57,"line":126},4,[128],{"type":13,"tag":55,"props":129,"children":130},{"style":73},[131],{"type":18,"value":132},"} VkSubpassContents;\n",{"type":13,"tag":43,"props":134,"children":139},{"className":135,"code":136,"filename":137,"language":138,"meta":49,"style":49},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct SubpassContents(u32);\nimpl SubpassContents {\n pub const INLINE: Self = 0;\n pub const SECONDARY_COMMAND_BUFFERS: Self = 1;\n}\n","Rust","rs",[140],{"type":13,"tag":30,"props":141,"children":142},{"__ignoreMap":49},[143,177,194,236,272],{"type":13,"tag":55,"props":144,"children":145},{"class":57,"line":58},[146,151,156,162,167,172],{"type":13,"tag":55,"props":147,"children":148},{"style":62},[149],{"type":18,"value":150},"pub",{"type":13,"tag":55,"props":152,"children":153},{"style":62},[154],{"type":18,"value":155}," struct",{"type":13,"tag":55,"props":157,"children":159},{"style":158},"--shiki-default:#953800;--shiki-dark:#FFA657",[160],{"type":18,"value":161}," SubpassContents",{"type":13,"tag":55,"props":163,"children":164},{"style":73},[165],{"type":18,"value":166},"(",{"type":13,"tag":55,"props":168,"children":169},{"style":158},[170],{"type":18,"value":171},"u32",{"type":13,"tag":55,"props":173,"children":174},{"style":73},[175],{"type":18,"value":176},");\n",{"type":13,"tag":55,"props":178,"children":179},{"class":57,"line":79},[180,185,189],{"type":13,"tag":55,"props":181,"children":182},{"style":62},[183],{"type":18,"value":184},"impl",{"type":13,"tag":55,"props":186,"children":187},{"style":158},[188],{"type":18,"value":161},{"type":13,"tag":55,"props":190,"children":191},{"style":73},[192],{"type":18,"value":193}," {\n",{"type":13,"tag":55,"props":195,"children":196},{"class":57,"line":104},[197,202,207,212,217,222,227,231],{"type":13,"tag":55,"props":198,"children":199},{"style":62},[200],{"type":18,"value":201}," pub",{"type":13,"tag":55,"props":203,"children":204},{"style":62},[205],{"type":18,"value":206}," const",{"type":13,"tag":55,"props":208,"children":209},{"style":93},[210],{"type":18,"value":211}," INLINE",{"type":13,"tag":55,"props":213,"children":214},{"style":62},[215],{"type":18,"value":216},":",{"type":13,"tag":55,"props":218,"children":219},{"style":93},[220],{"type":18,"value":221}," Self",{"type":13,"tag":55,"props":223,"children":224},{"style":62},[225],{"type":18,"value":226}," =",{"type":13,"tag":55,"props":228,"children":229},{"style":93},[230],{"type":18,"value":96},{"type":13,"tag":55,"props":232,"children":233},{"style":73},[234],{"type":18,"value":235},";\n",{"type":13,"tag":55,"props":237,"children":238},{"class":57,"line":126},[239,243,247,252,256,260,264,268],{"type":13,"tag":55,"props":240,"children":241},{"style":62},[242],{"type":18,"value":201},{"type":13,"tag":55,"props":244,"children":245},{"style":62},[246],{"type":18,"value":206},{"type":13,"tag":55,"props":248,"children":249},{"style":93},[250],{"type":18,"value":251}," SECONDARY_COMMAND_BUFFERS",{"type":13,"tag":55,"props":253,"children":254},{"style":62},[255],{"type":18,"value":216},{"type":13,"tag":55,"props":257,"children":258},{"style":93},[259],{"type":18,"value":221},{"type":13,"tag":55,"props":261,"children":262},{"style":62},[263],{"type":18,"value":226},{"type":13,"tag":55,"props":265,"children":266},{"style":93},[267],{"type":18,"value":119},{"type":13,"tag":55,"props":269,"children":270},{"style":73},[271],{"type":18,"value":235},{"type":13,"tag":55,"props":273,"children":275},{"class":57,"line":274},5,[276],{"type":13,"tag":55,"props":277,"children":278},{"style":73},[279],{"type":18,"value":280},"}\n",{"type":13,"tag":282,"props":283,"children":284},"ul",{},[285,304,339],{"type":13,"tag":286,"props":287,"children":288},"li",{},[289,295,297,302],{"type":13,"tag":30,"props":290,"children":292},{"className":291},[],[293],{"type":18,"value":294},"VK_SUBPASS_CONTENTS_INLINE",{"type":18,"value":296}," specifies that the contents of the\nsubpass will be recorded inline in the primary command buffer, and\nsecondary command buffers ",{"type":13,"tag":298,"props":299,"children":301},"normative",{"type":300},"must",[],{"type":18,"value":303}," not be executed within the subpass.",{"type":13,"tag":286,"props":305,"children":306},{},[307,313,315,321,323,329,331,337],{"type":13,"tag":30,"props":308,"children":310},{"className":309},[],[311],{"type":18,"value":312},"VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS",{"type":18,"value":314}," specifies that the\ncontents are recorded in secondary command buffers that will be called\nfrom the primary command buffer, and ",{"type":13,"tag":21,"props":316,"children":318},{"href":317},"/man/vkCmdExecuteCommands",[319],{"type":18,"value":320},"vkCmdExecuteCommands",{"type":18,"value":322}," is the\nonly valid command in the command buffer until ",{"type":13,"tag":21,"props":324,"children":326},{"href":325},"/man/vkCmdNextSubpass",[327],{"type":18,"value":328},"vkCmdNextSubpass",{"type":18,"value":330}," or\n",{"type":13,"tag":21,"props":332,"children":334},{"href":333},"/man/vkCmdEndRenderPass",[335],{"type":18,"value":336},"vkCmdEndRenderPass",{"type":18,"value":338},".",{"type":13,"tag":286,"props":340,"children":341},{},[342,348,350,354,356,360],{"type":13,"tag":30,"props":343,"children":345},{"className":344},[],[346],{"type":18,"value":347},"VK_SUBPASS_CONTENTS_INLINE_AND_SECONDARY_COMMAND_BUFFERS_KHR",{"type":18,"value":349},"\nspecifies that the contents of the subpass ",{"type":13,"tag":298,"props":351,"children":353},{"type":352},"can",[],{"type":18,"value":355}," be recorded both inline\nand in secondary command buffers executed from this command buffer with\n",{"type":13,"tag":21,"props":357,"children":358},{"href":317},[359],{"type":18,"value":320},{"type":18,"value":338},{"type":13,"tag":362,"props":363,"children":364},"style",{},[365],{"type":18,"value":366},"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":49,"searchDepth":79,"depth":79,"links":368},[],"markdown",1729612482302]