Interface CLNSuperCompressionMethodType

All Superinterfaces:
CLNDescribableType
All Known Implementing Classes:
CLNSuperCompressionMethodCustom, CLNSuperCompressionMethodStandard

public sealed interface CLNSuperCompressionMethodType extends CLNDescribableType permits CLNSuperCompressionMethodCustom, CLNSuperCompressionMethodStandard
A supercompression method. This refers to compression that is used on data that must be decompressed on the CPU before it can be uploaded to a GPU for use. This is in contrast to compression which is used to compress data in a manner that can be decompressed by a GPU in realtime.
See Also:
  • Method Details

    • parse

      static CLNSuperCompressionMethodType parse(String text, long sectionIdentifier)
      Parse a descriptor as a super compression method.
      Parameters:
      text - The descriptor
      sectionIdentifier - The required section identifier
      Returns:
      A super compression method
    • compressionSectionIdentifier

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