mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 20:33:43 +01:00
Almost there...
This commit is contained in:
parent
f3b906007d
commit
65bd1d1b52
59 changed files with 4733 additions and 6194 deletions
23
Penumbra/Interop/Structs/Material.cs
Normal file
23
Penumbra/Interop/Structs/Material.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using System.Runtime.InteropServices;
|
||||
using FFXIVClientStructs.FFXIV.Client.Graphics.Render;
|
||||
|
||||
namespace Penumbra.Interop.Structs;
|
||||
|
||||
[StructLayout( LayoutKind.Explicit )]
|
||||
public unsafe struct Material
|
||||
{
|
||||
[FieldOffset( 0x10 )]
|
||||
public ResourceHandle* ResourceHandle;
|
||||
|
||||
[FieldOffset( 0x28 )]
|
||||
public void* MaterialData;
|
||||
|
||||
[FieldOffset( 0x48 )]
|
||||
public Texture* Tex1;
|
||||
|
||||
[FieldOffset( 0x60 )]
|
||||
public Texture* Tex2;
|
||||
|
||||
[FieldOffset( 0x78 )]
|
||||
public Texture* Tex3;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue