Package com.io7m.calino.api
Interface CLNImageDescriptionType
- All Known Implementing Classes:
CLNImage2DDescription
,CLNImageArrayDescription
,CLNImageCubeDescription
public sealed interface CLNImageDescriptionType
permits CLNImage2DDescription, CLNImageArrayDescription, CLNImageCubeDescription
The type of image descriptions.
-
Method Summary
Modifier and TypeMethodDescriptionint
long
long
long
int
-
Method Details
-
mipMapLevel
int mipMapLevel()- Returns:
- The mipmap level
-
dataOffsetWithinSection
long dataOffsetWithinSection()- Returns:
- The offset of the data from the start of the section data
-
dataSizeUncompressed
long dataSizeUncompressed()- Returns:
- The size of the data when any supercompression has been removed
-
dataSizeCompressed
long dataSizeCompressed()- Returns:
- The size of the data with supercompression applied
-
crc32Uncompressed
int crc32Uncompressed()- Returns:
- The CRC32 checksum of the uncompressed data
-