Class VkImageResolve2

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

public class VkImageResolve2 extends org.lwjgl.system.Struct<VkImageResolve2> implements org.lwjgl.system.NativeResource
Structure specifying an image resolve operation.
Valid Usage
  • The aspectMask member of srcSubresource and dstSubresource must only contain IMAGE_ASPECT_COLOR_BIT
  • If neither of the layerCount members of srcSubresource or dstSubresource are REMAINING_ARRAY_LAYERS, the layerCount member of srcSubresource and dstSubresource must match
  • If one of the layerCount members of srcSubresource or dstSubresource is REMAINING_ARRAY_LAYERS, the other member must be either REMAINING_ARRAY_LAYERS or equal to the arrayLayers member of the VkImageCreateInfo used to create the image minus baseArrayLayer
Valid Usage (Implicit)
See Also

VkExtent3D, VkImageSubresourceLayers, VkOffset3D, VkResolveImageInfo2

Layout


 struct VkImageResolve2 {
     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

    • VkImageResolve2

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