Class VkSurfaceCapabilitiesKHR

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkSurfaceCapabilitiesKHR extends Struct<VkSurfaceCapabilitiesKHR> implements NativeResource
struct VkSurfaceCapabilitiesKHR {
    uint32_t minImageCount;
    uint32_t maxImageCount;
    VkExtent2D currentExtent;
    VkExtent2D minImageExtent;
    VkExtent2D maxImageExtent;
    uint32_t maxImageArrayLayers;
    VkSurfaceTransformFlagsKHR supportedTransforms;
    VkSurfaceTransformFlagBitsKHR currentTransform;
    VkCompositeAlphaFlagsKHR supportedCompositeAlpha;
    VkImageUsageFlags supportedUsageFlags;
}
  • Field Details

    • SIZEOF

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

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

      public static final int MINIMAGECOUNT
      The struct member offsets.
    • MAXIMAGECOUNT

      public static final int MAXIMAGECOUNT
      The struct member offsets.
    • CURRENTEXTENT

      public static final int CURRENTEXTENT
      The struct member offsets.
    • MINIMAGEEXTENT

      public static final int MINIMAGEEXTENT
      The struct member offsets.
    • MAXIMAGEEXTENT

      public static final int MAXIMAGEEXTENT
      The struct member offsets.
    • MAXIMAGEARRAYLAYERS

      public static final int MAXIMAGEARRAYLAYERS
      The struct member offsets.
    • SUPPORTEDTRANSFORMS

      public static final int SUPPORTEDTRANSFORMS
      The struct member offsets.
    • CURRENTTRANSFORM

      public static final int CURRENTTRANSFORM
      The struct member offsets.
    • SUPPORTEDCOMPOSITEALPHA

      public static final int SUPPORTEDCOMPOSITEALPHA
      The struct member offsets.
    • SUPPORTEDUSAGEFLAGS

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

    • VkSurfaceCapabilitiesKHR

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