mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-27 21:48:25 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
74
Brutal.Ktx/Generated/KtxTexture1Native.gen.cs
Normal file
74
Brutal.Ktx/Generated/KtxTexture1Native.gen.cs
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
#pragma warning disable 1591
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Brutal.KtxApi
|
||||
{
|
||||
[StructLayout(LayoutKind.Explicit, Pack = 8)]
|
||||
public unsafe partial struct KtxTexture1Native
|
||||
{
|
||||
[FieldOffset(0)]
|
||||
public readonly ClassId ClassId;
|
||||
|
||||
[FieldOffset(24)]
|
||||
public readonly KtxTextureProtected* Protected;
|
||||
|
||||
[FieldOffset(32)]
|
||||
public readonly Bool8 IsArray;
|
||||
|
||||
[FieldOffset(33)]
|
||||
public readonly Bool8 IsCubemap;
|
||||
|
||||
[FieldOffset(34)]
|
||||
public readonly Bool8 IsCompressed;
|
||||
|
||||
[FieldOffset(35)]
|
||||
public readonly Bool8 GenerateMipmaps;
|
||||
|
||||
[FieldOffset(36)]
|
||||
public readonly uint BaseWidth;
|
||||
|
||||
[FieldOffset(40)]
|
||||
public readonly uint BaseHeight;
|
||||
|
||||
[FieldOffset(44)]
|
||||
public readonly uint BaseDepth;
|
||||
|
||||
[FieldOffset(48)]
|
||||
public readonly uint NumDimensions;
|
||||
|
||||
[FieldOffset(52)]
|
||||
public readonly uint NumLevels;
|
||||
|
||||
[FieldOffset(56)]
|
||||
public readonly uint NumLayers;
|
||||
|
||||
[FieldOffset(60)]
|
||||
public readonly uint NumFaces;
|
||||
|
||||
[FieldOffset(64)]
|
||||
public readonly Orientation Orientation;
|
||||
|
||||
[FieldOffset(104)]
|
||||
public readonly ulong DataSize;
|
||||
|
||||
[FieldOffset(112)]
|
||||
public readonly byte* PData;
|
||||
|
||||
/// <summary>Format of the texture data, e.g., GL_RGB.</summary>
|
||||
[FieldOffset(120)]
|
||||
public readonly uint GlFormat;
|
||||
|
||||
/// <summary>Internal format of the texture data,e.g., GL_RGB8.</summary>
|
||||
[FieldOffset(124)]
|
||||
public readonly uint GlInternalformat;
|
||||
|
||||
/// <summary>Base format of the texture data,e.g., GL_RGB.</summary>
|
||||
[FieldOffset(128)]
|
||||
public readonly uint GlBaseInternalformat;
|
||||
|
||||
/// <summary>Type of the texture data, e.g, GL_UNSIGNED_BYTE.</summary>
|
||||
[FieldOffset(132)]
|
||||
public readonly uint GlType;
|
||||
}
|
||||
}
|
||||
#pragma warning restore 1591
|
||||
Loading…
Reference in a new issue