Class VkSurfaceFormat2KHR

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

public class VkSurfaceFormat2KHR extends org.lwjgl.system.Struct<VkSurfaceFormat2KHR> implements org.lwjgl.system.NativeResource
Structure describing a supported swapchain format tuple.
Description

If the imageCompressionControlSwapchain feature is supported and a VkImageCompressionPropertiesEXT structure is included in the pNext chain of this structure, then it will be filled with the compression properties that are supported for the surfaceFormat.

Valid Usage
Valid Usage (Implicit)
See Also

VkSurfaceFormatKHR, GetPhysicalDeviceSurfaceFormats2KHR

Layout


 struct VkSurfaceFormat2KHR {
     VkStructureType sType();
     void * pNext();
     VkSurfaceFormatKHR surfaceFormat();
 }
  • 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.
    • SURFACEFORMAT

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

    • VkSurfaceFormat2KHR

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