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)
  • sType must be STRUCTURE_TYPE_SURFACE_PRESENT_SCALING_CAPABILITIES_EXT
  • supportedPresentScaling must be a valid combination of VkPresentScalingFlagBitsEXT values
  • supportedPresentGravityX must be a valid combination of VkPresentGravityFlagBitsEXT values
  • supportedPresentGravityY must be a valid combination of VkPresentGravityFlagBitsEXT values
See Also

VkExtent2D

Layout


 struct VkSurfacePresentScalingCapabilitiesEXT {
     VkStructureType sType();
     void * pNext();
     VkPresentScalingFlagsEXT supportedPresentScaling();
     VkPresentGravityFlagsEXT supportedPresentGravityX();
     VkPresentGravityFlagsEXT supportedPresentGravityY();
     VkExtent2D minScaledImageExtent();
     VkExtent2D maxScaledImageExtent();
 }