Class VkSurfaceCapabilities2EXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkSurfaceCapabilities2EXT
    extends Struct
    implements NativeResource
    Structure describing capabilities of a surface.
    Valid Usage
    Valid Usage (Implicit)
    See Also

    VkExtent2D, GetPhysicalDeviceSurfaceCapabilities2EXT

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • supportedSurfaceCounters – a bitmask of VkSurfaceCounterFlagBitsEXT indicating the supported surface counter types.

    Layout

    
     struct VkSurfaceCapabilities2EXT {
         VkStructureType sType;
         void * pNext;
         uint32_t minImageCount;
         uint32_t maxImageCount;
         VkExtent2D currentExtent;
         VkExtent2D minImageExtent;
         VkExtent2D maxImageExtent;
         uint32_t maxImageArrayLayers;
         VkSurfaceTransformFlagsKHR supportedTransforms;
         VkSurfaceTransformFlagBitsKHR currentTransform;
         VkCompositeAlphaFlagsKHR supportedCompositeAlpha;
         VkImageUsageFlags supportedUsageFlags;
         VkSurfaceCounterFlagsEXT supportedSurfaceCounters;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, MINIMAGECOUNT, MAXIMAGECOUNT, CURRENTEXTENT, MINIMAGEEXTENT, MAXIMAGEEXTENT, MAXIMAGEARRAYLAYERS, SUPPORTEDTRANSFORMS, CURRENTTRANSFORM, SUPPORTEDCOMPOSITEALPHA, SUPPORTEDUSAGEFLAGS, SUPPORTEDSURFACECOUNTERS

        The struct member offsets.
    • Constructor Detail

      • VkSurfaceCapabilities2EXT

        public VkSurfaceCapabilities2EXT​(java.nio.ByteBuffer container)
        Creates a VkSurfaceCapabilities2EXT 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.