[{"data":1,"prerenderedAt":526},["ShallowReactive",2],{"SAxFggXnTx":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":525,"_id":4},"VkCommandBufferInheritanceRenderPassTransformInfoQCOM","Structure describing transformed render pass parameters command buffer","VK_QCOM_render_pass_transform","structs",[],{"type":10,"children":11,"toc":523},"root",[12,61,73,314,385,437,490,517],{"type":13,"tag":14,"props":15,"children":16},"element","p",{},[17,20,27,29,34,36,43,45,51,53,59],{"type":18,"value":19},"text","To begin recording a secondary command buffer compatible with execution\ninside a render pass using ",{"type":13,"tag":21,"props":22,"children":24},"a",{"href":23},"/chapters/vertexpostproc#vertexpostproc-renderpass-transform",[25],{"type":18,"value":26},"render\npass transform",{"type":18,"value":28},", add the\n",{"type":13,"tag":21,"props":30,"children":32},{"href":31},"/man/VkCommandBufferInheritanceRenderPassTransformInfoQCOM",[33],{"type":18,"value":4},{"type":18,"value":35}," to the\n",{"type":13,"tag":37,"props":38,"children":40},"code",{"className":39},[],[41],{"type":18,"value":42},"pNext",{"type":18,"value":44}," chain of ",{"type":13,"tag":21,"props":46,"children":48},{"href":47},"/man/VkCommandBufferInheritanceInfo",[49],{"type":18,"value":50},"VkCommandBufferInheritanceInfo",{"type":18,"value":52}," structure passed\nto the ",{"type":13,"tag":21,"props":54,"children":56},{"href":55},"/man/vkBeginCommandBuffer",[57],{"type":18,"value":58},"vkBeginCommandBuffer",{"type":18,"value":60}," command specifying the parameters for\ntransformed rasterization.",{"type":13,"tag":14,"props":62,"children":63},{},[64,66,71],{"type":18,"value":65},"The ",{"type":13,"tag":37,"props":67,"children":69},{"className":68},[],[70],{"type":18,"value":4},{"type":18,"value":72}," structure is\ndefined as:",{"type":13,"tag":74,"props":75,"children":76},"code-group",{},[77,162],{"type":13,"tag":78,"props":79,"children":85},"pre",{"className":80,"code":81,"filename":82,"language":83,"meta":84,"style":84},"language-c shiki shiki-themes github-light-default github-dark-default","typedef struct VkCommandBufferInheritanceRenderPassTransformInfoQCOM {\n VkStructureType sType;\n void* pNext;\n VkSurfaceTransformFlagBitsKHR transform;\n VkRect2D renderArea;\n} VkCommandBufferInheritanceRenderPassTransformInfoQCOM;\n","C","c","",[86],{"type":13,"tag":37,"props":87,"children":88},{"__ignoreMap":84},[89,112,121,135,144,153],{"type":13,"tag":90,"props":91,"children":94},"span",{"class":92,"line":93},"line",1,[95,101,106],{"type":13,"tag":90,"props":96,"children":98},{"style":97},"--shiki-default:#CF222E;--shiki-dark:#FF7B72",[99],{"type":18,"value":100},"typedef",{"type":13,"tag":90,"props":102,"children":103},{"style":97},[104],{"type":18,"value":105}," struct",{"type":13,"tag":90,"props":107,"children":109},{"style":108},"--shiki-default:#1F2328;--shiki-dark:#E6EDF3",[110],{"type":18,"value":111}," VkCommandBufferInheritanceRenderPassTransformInfoQCOM {\n",{"type":13,"tag":90,"props":113,"children":115},{"class":92,"line":114},2,[116],{"type":13,"tag":90,"props":117,"children":118},{"style":108},[119],{"type":18,"value":120}," VkStructureType sType;\n",{"type":13,"tag":90,"props":122,"children":124},{"class":92,"line":123},3,[125,130],{"type":13,"tag":90,"props":126,"children":127},{"style":97},[128],{"type":18,"value":129}," void*",{"type":13,"tag":90,"props":131,"children":132},{"style":108},[133],{"type":18,"value":134}," pNext;\n",{"type":13,"tag":90,"props":136,"children":138},{"class":92,"line":137},4,[139],{"type":13,"tag":90,"props":140,"children":141},{"style":108},[142],{"type":18,"value":143}," VkSurfaceTransformFlagBitsKHR transform;\n",{"type":13,"tag":90,"props":145,"children":147},{"class":92,"line":146},5,[148],{"type":13,"tag":90,"props":149,"children":150},{"style":108},[151],{"type":18,"value":152}," VkRect2D renderArea;\n",{"type":13,"tag":90,"props":154,"children":156},{"class":92,"line":155},6,[157],{"type":13,"tag":90,"props":158,"children":159},{"style":108},[160],{"type":18,"value":161},"} VkCommandBufferInheritanceRenderPassTransformInfoQCOM;\n",{"type":13,"tag":78,"props":163,"children":168},{"className":164,"code":165,"filename":166,"language":167,"meta":84,"style":84},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct CommandBufferInheritanceRenderPassTransformInfoQCOM {\n s_type: vk::StructureType,\n p_next: *mut c_void, // Pointer to next structure\n transform: SurfaceTransformFlagsKHR,\n render_area: vk::Rect2D,\n}\n","Rust","rs",[169],{"type":13,"tag":37,"props":170,"children":171},{"__ignoreMap":84},[172,195,228,256,277,306],{"type":13,"tag":90,"props":173,"children":174},{"class":92,"line":93},[175,180,184,190],{"type":13,"tag":90,"props":176,"children":177},{"style":97},[178],{"type":18,"value":179},"pub",{"type":13,"tag":90,"props":181,"children":182},{"style":97},[183],{"type":18,"value":105},{"type":13,"tag":90,"props":185,"children":187},{"style":186},"--shiki-default:#953800;--shiki-dark:#FFA657",[188],{"type":18,"value":189}," CommandBufferInheritanceRenderPassTransformInfoQCOM",{"type":13,"tag":90,"props":191,"children":192},{"style":108},[193],{"type":18,"value":194}," {\n",{"type":13,"tag":90,"props":196,"children":197},{"class":92,"line":114},[198,203,208,213,218,223],{"type":13,"tag":90,"props":199,"children":200},{"style":108},[201],{"type":18,"value":202}," s_type",{"type":13,"tag":90,"props":204,"children":205},{"style":97},[206],{"type":18,"value":207},":",{"type":13,"tag":90,"props":209,"children":210},{"style":186},[211],{"type":18,"value":212}," vk",{"type":13,"tag":90,"props":214,"children":215},{"style":97},[216],{"type":18,"value":217},"::",{"type":13,"tag":90,"props":219,"children":220},{"style":186},[221],{"type":18,"value":222},"StructureType",{"type":13,"tag":90,"props":224,"children":225},{"style":108},[226],{"type":18,"value":227},",\n",{"type":13,"tag":90,"props":229,"children":230},{"class":92,"line":123},[231,236,240,245,250],{"type":13,"tag":90,"props":232,"children":233},{"style":108},[234],{"type":18,"value":235}," p_next",{"type":13,"tag":90,"props":237,"children":238},{"style":97},[239],{"type":18,"value":207},{"type":13,"tag":90,"props":241,"children":242},{"style":97},[243],{"type":18,"value":244}," *mut",{"type":13,"tag":90,"props":246,"children":247},{"style":108},[248],{"type":18,"value":249}," c_void, ",{"type":13,"tag":90,"props":251,"children":253},{"style":252},"--shiki-default:#6E7781;--shiki-dark:#8B949E",[254],{"type":18,"value":255},"// Pointer to next structure\n",{"type":13,"tag":90,"props":257,"children":258},{"class":92,"line":137},[259,264,268,273],{"type":13,"tag":90,"props":260,"children":261},{"style":108},[262],{"type":18,"value":263}," transform",{"type":13,"tag":90,"props":265,"children":266},{"style":97},[267],{"type":18,"value":207},{"type":13,"tag":90,"props":269,"children":270},{"style":186},[271],{"type":18,"value":272}," SurfaceTransformFlagsKHR",{"type":13,"tag":90,"props":274,"children":275},{"style":108},[276],{"type":18,"value":227},{"type":13,"tag":90,"props":278,"children":279},{"class":92,"line":146},[280,285,289,293,297,302],{"type":13,"tag":90,"props":281,"children":282},{"style":108},[283],{"type":18,"value":284}," render_area",{"type":13,"tag":90,"props":286,"children":287},{"style":97},[288],{"type":18,"value":207},{"type":13,"tag":90,"props":290,"children":291},{"style":186},[292],{"type":18,"value":212},{"type":13,"tag":90,"props":294,"children":295},{"style":97},[296],{"type":18,"value":217},{"type":13,"tag":90,"props":298,"children":299},{"style":186},[300],{"type":18,"value":301},"Rect2D",{"type":13,"tag":90,"props":303,"children":304},{"style":108},[305],{"type":18,"value":227},{"type":13,"tag":90,"props":307,"children":308},{"class":92,"line":155},[309],{"type":13,"tag":90,"props":310,"children":311},{"style":108},[312],{"type":18,"value":313},"}\n",{"type":13,"tag":315,"props":316,"children":317},"ul",{},[318,338,356,374],{"type":13,"tag":319,"props":320,"children":321},"li",{},[322,328,330,336],{"type":13,"tag":37,"props":323,"children":325},{"className":324},[],[326],{"type":18,"value":327},"sType",{"type":18,"value":329}," is a ",{"type":13,"tag":21,"props":331,"children":333},{"href":332},"/man/VkStructureType",[334],{"type":18,"value":335},"VkStructureType",{"type":18,"value":337}," value identifying this structure.",{"type":13,"tag":319,"props":339,"children":340},{},[341,346,348,354],{"type":13,"tag":37,"props":342,"children":344},{"className":343},[],[345],{"type":18,"value":42},{"type":18,"value":347}," is ",{"type":13,"tag":37,"props":349,"children":351},{"className":350},[],[352],{"type":18,"value":353},"NULL",{"type":18,"value":355}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":319,"props":357,"children":358},{},[359,365,366,372],{"type":13,"tag":37,"props":360,"children":362},{"className":361},[],[363],{"type":18,"value":364},"transform",{"type":18,"value":329},{"type":13,"tag":21,"props":367,"children":369},{"href":368},"/man/VkSurfaceTransformFlagBitsKHR",[370],{"type":18,"value":371},"VkSurfaceTransformFlagBitsKHR",{"type":18,"value":373}," value\ndescribing the transform to be applied to the render pass.",{"type":13,"tag":319,"props":375,"children":376},{},[377,383],{"type":13,"tag":37,"props":378,"children":380},{"className":379},[],[381],{"type":18,"value":382},"renderArea",{"type":18,"value":384}," is the render area that is affected by the command\nbuffer.",{"type":13,"tag":14,"props":386,"children":387},{},[388,390,396,398,403,405,410,412,417,419,422,424,429,430,435],{"type":18,"value":389},"When the secondary is recorded to execute within a render pass instance\nusing ",{"type":13,"tag":21,"props":391,"children":393},{"href":392},"/man/vkCmdExecuteCommands",[394],{"type":18,"value":395},"vkCmdExecuteCommands",{"type":18,"value":397},", the render pass transform parameters of\nthe secondary command buffer ",{"type":13,"tag":399,"props":400,"children":402},"normative",{"type":401},"must",[],{"type":18,"value":404}," be consistent with the render pass\ntransform parameters specified for the render pass instance.\nIn particular, the ",{"type":13,"tag":37,"props":406,"children":408},{"className":407},[],[409],{"type":18,"value":364},{"type":18,"value":411}," and ",{"type":13,"tag":37,"props":413,"children":415},{"className":414},[],[416],{"type":18,"value":382},{"type":18,"value":418}," for command buffer\n",{"type":13,"tag":399,"props":420,"children":421},{"type":401},[],{"type":18,"value":423}," be identical to the ",{"type":13,"tag":37,"props":425,"children":427},{"className":426},[],[428],{"type":18,"value":364},{"type":18,"value":411},{"type":13,"tag":37,"props":431,"children":433},{"className":432},[],[434],{"type":18,"value":382},{"type":18,"value":436}," of the render\npass instance.",{"type":13,"tag":438,"props":439,"children":441},"validity-group",{"name":440},"Valid Usage",[442],{"type":13,"tag":443,"props":444,"children":446},"validity-field",{"name":445},"VUID-VkCommandBufferInheritanceRenderPassTransformInfoQCOM-transform-02864",[447],{"type":13,"tag":14,"props":448,"children":449},{},[450,455,457,460,462,468,469,475,476,482,484],{"type":13,"tag":37,"props":451,"children":453},{"className":452},[],[454],{"type":18,"value":364},{"type":18,"value":456}," ",{"type":13,"tag":399,"props":458,"children":459},{"type":401},[],{"type":18,"value":461}," be ",{"type":13,"tag":37,"props":463,"children":465},{"className":464},[],[466],{"type":18,"value":467},"VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR",{"type":18,"value":227},{"type":13,"tag":37,"props":470,"children":472},{"className":471},[],[473],{"type":18,"value":474},"VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR",{"type":18,"value":227},{"type":13,"tag":37,"props":477,"children":479},{"className":478},[],[480],{"type":18,"value":481},"VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR",{"type":18,"value":483},", or\n",{"type":13,"tag":37,"props":485,"children":487},{"className":486},[],[488],{"type":18,"value":489},"VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR",{"type":13,"tag":438,"props":491,"children":493},{"name":492},"Valid Usage (Implicit)",[494],{"type":13,"tag":443,"props":495,"children":497},{"name":496},"VUID-VkCommandBufferInheritanceRenderPassTransformInfoQCOM-sType-sType",[498],{"type":13,"tag":14,"props":499,"children":500},{},[501,506,507,510,511],{"type":13,"tag":37,"props":502,"children":504},{"className":503},[],[505],{"type":18,"value":327},{"type":18,"value":456},{"type":13,"tag":399,"props":508,"children":509},{"type":401},[],{"type":18,"value":461},{"type":13,"tag":37,"props":512,"children":514},{"className":513},[],[515],{"type":18,"value":516},"VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_RENDER_PASS_TRANSFORM_INFO_QCOM",{"type":13,"tag":518,"props":519,"children":520},"style",{},[521],{"type":18,"value":522},"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":84,"searchDepth":114,"depth":114,"links":524},[],"markdown",1729612437245]