Class VkRectLayerKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkRectLayerKHR extends Struct<VkRectLayerKHR> implements NativeResource

 struct VkRectLayerKHR {
     VkOffset2D offset;
     VkExtent2D extent;
     uint32_t layer;
 }
  • Field Details

    • SIZEOF

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

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

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

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

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

    • VkRectLayerKHR

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