mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-28 14:08:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
39
Brutal.Ktx/Generated/KtxFormatSize.gen.cs
Normal file
39
Brutal.Ktx/Generated/KtxFormatSize.gen.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#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;
|
||||
|
||||
/// <summary>For KTX1.</summary>
|
||||
[FieldOffset(4)]
|
||||
public readonly uint PaletteSizeInBits;
|
||||
|
||||
[FieldOffset(8)]
|
||||
public readonly uint BlockSizeInBits;
|
||||
|
||||
/// <summary>in texels</summary>
|
||||
[FieldOffset(12)]
|
||||
public readonly uint BlockWidth;
|
||||
|
||||
/// <summary>in texels</summary>
|
||||
[FieldOffset(16)]
|
||||
public readonly uint BlockHeight;
|
||||
|
||||
/// <summary>in texels</summary>
|
||||
[FieldOffset(20)]
|
||||
public readonly uint BlockDepth;
|
||||
|
||||
/// <summary>Minimum required number of blocks</summary>
|
||||
[FieldOffset(24)]
|
||||
public readonly uint MinBlocksX;
|
||||
|
||||
[FieldOffset(28)]
|
||||
public readonly uint MinBlocksY;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
Loading…
Reference in a new issue