#pragma warning disable 1591 using System.Runtime.InteropServices; namespace Brutal.KtxApi { [StructLayout(LayoutKind.Explicit, Pack = 4)] public unsafe partial struct KtxFormatSize { [FieldOffset(0)] public readonly uint Flags; /// For KTX1. [FieldOffset(4)] public readonly uint PaletteSizeInBits; [FieldOffset(8)] public readonly uint BlockSizeInBits; /// in texels [FieldOffset(12)] public readonly uint BlockWidth; /// in texels [FieldOffset(16)] public readonly uint BlockHeight; /// in texels [FieldOffset(20)] public readonly uint BlockDepth; /// Minimum required number of blocks [FieldOffset(24)] public readonly uint MinBlocksX; [FieldOffset(28)] public readonly uint MinBlocksY; } } #pragma warning restore 1591