Class VkImageCopy2

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkImageCopy2>
org.lwjgl.vulkan.VkImageCopy2
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkImageCopy2KHR

public class VkImageCopy2 extends org.lwjgl.system.Struct<VkImageCopy2> implements org.lwjgl.system.NativeResource
Structure specifying an image copy operation.
Valid Usage
Valid Usage (Implicit)
See Also

VkCopyImageInfo2, VkCopyImageToImageInfo, VkExtent3D, VkImageSubresourceLayers, VkOffset3D

Layout


 struct VkImageCopy2 {
     VkStructureType sType();
     void const * pNext();
     VkImageSubresourceLayers srcSubresource();
     VkOffset3D srcOffset();
     VkImageSubresourceLayers dstSubresource();
     VkOffset3D dstOffset();
     VkExtent3D extent();
 }
  • 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.
    • SRCSUBRESOURCE

      public static final int SRCSUBRESOURCE
      The struct member offsets.
    • SRCOFFSET

      public static final int SRCOFFSET
      The struct member offsets.
    • DSTSUBRESOURCE

      public static final int DSTSUBRESOURCE
      The struct member offsets.
    • DSTOFFSET

      public static final int DSTOFFSET
      The struct member offsets.
    • EXTENT

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

    • VkImageCopy2

      public VkImageCopy2(ByteBuffer container)
      Creates a VkImageCopy2 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