Interface CLNCompressionMethodType

All Superinterfaces:
CLNDescribableType
All Known Implementing Classes:
CLNCompressionMethodCustom, CLNCompressionMethodStandard

public sealed interface CLNCompressionMethodType extends CLNDescribableType permits CLNCompressionMethodCustom, CLNCompressionMethodStandard
A compression method. This refers to compression that is used on data that will be uploaded directly to a GPU without prior decompression. This is in contrast to supercompression which is used to encapsulate data that must be decompressed before it can be used.
See Also:
  • Method Details

    • compressionSectionIdentifier

      long compressionSectionIdentifier()
      Returns:
      The identifier of the section containing data required to decompress data
    • blockSizeX

      int blockSizeX()
      Returns:
      The size of a compressed block on the X axis
    • blockSizeY

      int blockSizeY()
      Returns:
      The size of a compressed block on the Y axis
    • blockAlignment

      int blockAlignment()
      Returns:
      The required alignment of a compressed block