Class VkCopyCommandTransformInfoQCOM

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkCopyCommandTransformInfoQCOM>
org.lwjgl.vulkan.VkCopyCommandTransformInfoQCOM
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkCopyCommandTransformInfoQCOM extends org.lwjgl.system.Struct<VkCopyCommandTransformInfoQCOM> implements org.lwjgl.system.NativeResource
Structure describing transform parameters of rotated copy command.
Description

Including this structure in the pNext chain of VkBufferImageCopy2 defines a rotation to be performed when copying between an image and a buffer. Including this structure in the pNext chain of VkBlitImageInfo2 defines a rotation to be performed when blitting between two images. If this structure is not specified in either case, the implementation behaves as if it was specified with a transform equal to SURFACE_TRANSFORM_IDENTITY_BIT_KHR.

Specifying a transform for a copy between an image and a buffer rotates the region accessed in the image around the offset. Specifying a transform for a blit performs a similar transform as described in Image Blits with Scaling and Rotation.

Rotations other than SURFACE_TRANSFORM_IDENTITY_BIT_KHR can only be specified for single-plane 2D images with a 1x1x1 texel block extent.

Valid Usage
Valid Usage (Implicit)

Layout


 struct VkCopyCommandTransformInfoQCOM {
     VkStructureType sType();
     void const * pNext();
     VkSurfaceTransformFlagBitsKHR transform();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • TRANSFORM

      public static final int TRANSFORM
      The struct member offsets.
  • Constructor Details

    • VkCopyCommandTransformInfoQCOM

      public VkCopyCommandTransformInfoQCOM(ByteBuffer container)
      Creates a VkCopyCommandTransformInfoQCOM instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details