Class VkSurfacePresentScalingCapabilitiesEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkSurfacePresentScalingCapabilitiesEXT>
org.lwjgl.vulkan.VkSurfacePresentScalingCapabilitiesEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkSurfacePresentScalingCapabilitiesEXT extends org.lwjgl.system.Struct<VkSurfacePresentScalingCapabilitiesEXT> implements org.lwjgl.system.NativeResource
Structure describing the presentation scaling capabilities of the surface.
Description

Before creating a swapchain whose scaling mode can be specified through the use of VkSwapchainPresentScalingCreateInfoEXT, obtain the set of supported scaling modes by including a VkSurfacePresentModeEXT structure in the pNext chain of VkPhysicalDeviceSurfaceInfo2KHR when calling GetPhysicalDeviceSurfaceCapabilities2KHR. The implementation must return the same values in VkSurfacePresentScalingCapabilitiesEXT for any of the compatible present modes as obtained through VkSurfacePresentModeCompatibilityEXT.

Valid Usage (Implicit)
See Also

VkExtent2D

Layout


 struct VkSurfacePresentScalingCapabilitiesEXT {
     VkStructureType sType();
     void * pNext();
     VkPresentScalingFlagsEXT supportedPresentScaling();
     VkPresentGravityFlagsEXT supportedPresentGravityX();
     VkPresentGravityFlagsEXT supportedPresentGravityY();
     VkExtent2D minScaledImageExtent();
     VkExtent2D maxScaledImageExtent();
 }
  • 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.
    • SUPPORTEDPRESENTSCALING

      public static final int SUPPORTEDPRESENTSCALING
      The struct member offsets.
    • SUPPORTEDPRESENTGRAVITYX

      public static final int SUPPORTEDPRESENTGRAVITYX
      The struct member offsets.
    • SUPPORTEDPRESENTGRAVITYY

      public static final int SUPPORTEDPRESENTGRAVITYY
      The struct member offsets.
    • MINSCALEDIMAGEEXTENT

      public static final int MINSCALEDIMAGEEXTENT
      The struct member offsets.
    • MAXSCALEDIMAGEEXTENT

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

    • VkSurfacePresentScalingCapabilitiesEXT

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