Class VkImageCompressionControlEXT

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

public class VkImageCompressionControlEXT extends org.lwjgl.system.Struct<VkImageCompressionControlEXT> implements org.lwjgl.system.NativeResource
Specify image compression properties.
Description

If enabled, fixed-rate compression is done in an implementation-defined manner and may be applied at block granularity. In that case, a write to an individual texel may modify the value of other texels in the same block.

Valid Usage
Valid Usage (Implicit)
Note

Some combinations of compression properties may not be supported. For example, some implementations may not support different fixed-rate compression rates per plane of a multi-planar format and will not be able to enable fixed-rate compression for any plane if the requested rates differ.

Layout


 struct VkImageCompressionControlEXT {
     VkStructureType sType();
     void const * pNext();
     VkImageCompressionFlagsEXT flags();
     uint32_t compressionControlPlaneCount();
     VkImageCompressionFixedRateFlagsEXT * pFixedRateFlags();
 }
  • 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.
    • FLAGS

      public static final int FLAGS
      The struct member offsets.
    • COMPRESSIONCONTROLPLANECOUNT

      public static final int COMPRESSIONCONTROLPLANECOUNT
      The struct member offsets.
    • PFIXEDRATEFLAGS

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

    • VkImageCompressionControlEXT

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