[{"data":1,"prerenderedAt":476},["ShallowReactive",2],{"ew6lO7oEYJ":3},{"title":4,"description":5,"parent":6,"type":7,"xrefs":8,"body":9,"_type":475,"_id":4},"VkCopyCommandTransformInfoQCOM","Structure describing transform parameters of rotated copy command","VK_QCOM_rotated_copy_commands","structs",[],{"type":10,"children":11,"toc":473},"root",[12,28,230,292,342,362,388,440,467],{"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,113],{"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 VkCopyCommandTransformInfoQCOM {\n VkStructureType sType;\n const void* pNext;\n VkSurfaceTransformFlagBitsKHR transform;\n} VkCopyCommandTransformInfoQCOM;\n","C","c","",[41],{"type":13,"tag":21,"props":42,"children":43},{"__ignoreMap":39},[44,67,76,95,104],{"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}," VkCopyCommandTransformInfoQCOM {\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],{"type":13,"tag":45,"props":100,"children":101},{"style":63},[102],{"type":18,"value":103}," VkSurfaceTransformFlagBitsKHR transform;\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},"} VkCopyCommandTransformInfoQCOM;\n",{"type":13,"tag":33,"props":114,"children":119},{"className":115,"code":116,"filename":117,"language":118,"meta":39,"style":39},"language-rs shiki shiki-themes github-light-default github-dark-default","pub struct CopyCommandTransformInfoQCOM {\n s_type: vk::StructureType,\n p_next: *const c_void,\n transform: SurfaceTransformFlagsKHR,\n}\n","Rust","rs",[120],{"type":13,"tag":21,"props":121,"children":122},{"__ignoreMap":39},[123,146,179,201,222],{"type":13,"tag":45,"props":124,"children":125},{"class":47,"line":48},[126,131,135,141],{"type":13,"tag":45,"props":127,"children":128},{"style":52},[129],{"type":18,"value":130},"pub",{"type":13,"tag":45,"props":132,"children":133},{"style":52},[134],{"type":18,"value":60},{"type":13,"tag":45,"props":136,"children":138},{"style":137},"--shiki-default:#953800;--shiki-dark:#FFA657",[139],{"type":18,"value":140}," CopyCommandTransformInfoQCOM",{"type":13,"tag":45,"props":142,"children":143},{"style":63},[144],{"type":18,"value":145}," {\n",{"type":13,"tag":45,"props":147,"children":148},{"class":47,"line":69},[149,154,159,164,169,174],{"type":13,"tag":45,"props":150,"children":151},{"style":63},[152],{"type":18,"value":153}," s_type",{"type":13,"tag":45,"props":155,"children":156},{"style":52},[157],{"type":18,"value":158},":",{"type":13,"tag":45,"props":160,"children":161},{"style":137},[162],{"type":18,"value":163}," vk",{"type":13,"tag":45,"props":165,"children":166},{"style":52},[167],{"type":18,"value":168},"::",{"type":13,"tag":45,"props":170,"children":171},{"style":137},[172],{"type":18,"value":173},"StructureType",{"type":13,"tag":45,"props":175,"children":176},{"style":63},[177],{"type":18,"value":178},",\n",{"type":13,"tag":45,"props":180,"children":181},{"class":47,"line":78},[182,187,191,196],{"type":13,"tag":45,"props":183,"children":184},{"style":63},[185],{"type":18,"value":186}," p_next",{"type":13,"tag":45,"props":188,"children":189},{"style":52},[190],{"type":18,"value":158},{"type":13,"tag":45,"props":192,"children":193},{"style":52},[194],{"type":18,"value":195}," *const",{"type":13,"tag":45,"props":197,"children":198},{"style":63},[199],{"type":18,"value":200}," c_void,\n",{"type":13,"tag":45,"props":202,"children":203},{"class":47,"line":97},[204,209,213,218],{"type":13,"tag":45,"props":205,"children":206},{"style":63},[207],{"type":18,"value":208}," transform",{"type":13,"tag":45,"props":210,"children":211},{"style":52},[212],{"type":18,"value":158},{"type":13,"tag":45,"props":214,"children":215},{"style":137},[216],{"type":18,"value":217}," SurfaceTransformFlagsKHR",{"type":13,"tag":45,"props":219,"children":220},{"style":63},[221],{"type":18,"value":178},{"type":13,"tag":45,"props":223,"children":224},{"class":47,"line":106},[225],{"type":13,"tag":45,"props":226,"children":227},{"style":63},[228],{"type":18,"value":229},"}\n",{"type":13,"tag":231,"props":232,"children":233},"ul",{},[234,255,274],{"type":13,"tag":235,"props":236,"children":237},"li",{},[238,244,246,253],{"type":13,"tag":21,"props":239,"children":241},{"className":240},[],[242],{"type":18,"value":243},"sType",{"type":18,"value":245}," is a ",{"type":13,"tag":247,"props":248,"children":250},"a",{"href":249},"/man/VkStructureType",[251],{"type":18,"value":252},"VkStructureType",{"type":18,"value":254}," value identifying this structure.",{"type":13,"tag":235,"props":256,"children":257},{},[258,264,266,272],{"type":13,"tag":21,"props":259,"children":261},{"className":260},[],[262],{"type":18,"value":263},"pNext",{"type":18,"value":265}," is ",{"type":13,"tag":21,"props":267,"children":269},{"className":268},[],[270],{"type":18,"value":271},"NULL",{"type":18,"value":273}," or a pointer to a structure extending this\nstructure.",{"type":13,"tag":235,"props":275,"children":276},{},[277,283,284,290],{"type":13,"tag":21,"props":278,"children":280},{"className":279},[],[281],{"type":18,"value":282},"transform",{"type":18,"value":245},{"type":13,"tag":247,"props":285,"children":287},{"href":286},"/man/VkSurfaceTransformFlagBitsKHR",[288],{"type":18,"value":289},"VkSurfaceTransformFlagBitsKHR",{"type":18,"value":291}," value\ndescribing the transform to be applied.",{"type":13,"tag":14,"props":293,"children":294},{},[295,297,302,304,310,312,317,319,325,327,332,334,340],{"type":18,"value":296},"Including this structure in the ",{"type":13,"tag":21,"props":298,"children":300},{"className":299},[],[301],{"type":18,"value":263},{"type":18,"value":303}," chain of\n",{"type":13,"tag":247,"props":305,"children":307},{"href":306},"/man/VkBufferImageCopy2",[308],{"type":18,"value":309},"VkBufferImageCopy2",{"type":18,"value":311}," defines a rotation to be performed when copying\nbetween an image and a buffer.\nIncluding this structure in the ",{"type":13,"tag":21,"props":313,"children":315},{"className":314},[],[316],{"type":18,"value":263},{"type":18,"value":318}," chain of ",{"type":13,"tag":247,"props":320,"children":322},{"href":321},"/man/VkBlitImageInfo2",[323],{"type":18,"value":324},"VkBlitImageInfo2",{"type":18,"value":326},"\ndefines a rotation to be performed when blitting between two images.\nIf this structure is not specified in either case, the implementation\nbehaves as if it was specified with a ",{"type":13,"tag":21,"props":328,"children":330},{"className":329},[],[331],{"type":18,"value":282},{"type":18,"value":333}," equal to\n",{"type":13,"tag":21,"props":335,"children":337},{"className":336},[],[338],{"type":18,"value":339},"VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR",{"type":18,"value":341},".",{"type":13,"tag":14,"props":343,"children":344},{},[345,347,353,355,361],{"type":18,"value":346},"Specifying a transform for a copy between an image and a buffer\n",{"type":13,"tag":247,"props":348,"children":350},{"href":349},"/chapters/copies#copies-buffers-images-rotation-addressing",[351],{"type":18,"value":352},"rotates the region accessed in\nthe image around the offset",{"type":18,"value":354},".\nSpecifying a transform for a blit performs a similar transform as described\nin ",{"type":13,"tag":247,"props":356,"children":358},{"href":357},"/chapters/copies#copies-images-scaling-rotation",[359],{"type":18,"value":360},"Image Blits with Scaling and\nRotation",{"type":18,"value":341},{"type":13,"tag":14,"props":363,"children":364},{},[365,367,372,374,379,381,387],{"type":18,"value":366},"Rotations other than ",{"type":13,"tag":21,"props":368,"children":370},{"className":369},[],[371],{"type":18,"value":339},{"type":18,"value":373}," ",{"type":13,"tag":375,"props":376,"children":378},"normative",{"type":377},"can",[],{"type":18,"value":380}," only\nbe specified for single-plane 2D images with a 1x1x1\n",{"type":13,"tag":247,"props":382,"children":384},{"href":383},"/chapters/formats#formats-compatibility-classes",[385],{"type":18,"value":386},"texel block extent",{"type":18,"value":341},{"type":13,"tag":389,"props":390,"children":392},"validity-group",{"name":391},"Valid Usage",[393],{"type":13,"tag":394,"props":395,"children":397},"validity-field",{"name":396},"VUID-VkCopyCommandTransformInfoQCOM-transform-04560",[398],{"type":13,"tag":14,"props":399,"children":400},{},[401,406,407,411,413,418,419,425,426,432,434],{"type":13,"tag":21,"props":402,"children":404},{"className":403},[],[405],{"type":18,"value":282},{"type":18,"value":373},{"type":13,"tag":375,"props":408,"children":410},{"type":409},"must",[],{"type":18,"value":412}," be ",{"type":13,"tag":21,"props":414,"children":416},{"className":415},[],[417],{"type":18,"value":339},{"type":18,"value":178},{"type":13,"tag":21,"props":420,"children":422},{"className":421},[],[423],{"type":18,"value":424},"VK_SURFACE_TRANSFORM_ROTATE_90_BIT_KHR",{"type":18,"value":178},{"type":13,"tag":21,"props":427,"children":429},{"className":428},[],[430],{"type":18,"value":431},"VK_SURFACE_TRANSFORM_ROTATE_180_BIT_KHR",{"type":18,"value":433},", or\n",{"type":13,"tag":21,"props":435,"children":437},{"className":436},[],[438],{"type":18,"value":439},"VK_SURFACE_TRANSFORM_ROTATE_270_BIT_KHR",{"type":13,"tag":389,"props":441,"children":443},{"name":442},"Valid Usage (Implicit)",[444],{"type":13,"tag":394,"props":445,"children":447},{"name":446},"VUID-VkCopyCommandTransformInfoQCOM-sType-sType",[448],{"type":13,"tag":14,"props":449,"children":450},{},[451,456,457,460,461],{"type":13,"tag":21,"props":452,"children":454},{"className":453},[],[455],{"type":18,"value":243},{"type":18,"value":373},{"type":13,"tag":375,"props":458,"children":459},{"type":409},[],{"type":18,"value":412},{"type":13,"tag":21,"props":462,"children":464},{"className":463},[],[465],{"type":18,"value":466},"VK_STRUCTURE_TYPE_COPY_COMMAND_TRANSFORM_INFO_QCOM",{"type":13,"tag":468,"props":469,"children":470},"style",{},[471],{"type":18,"value":472},"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":474},[],"markdown",1725732543996]