mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-30 12:23:41 +01:00
On-Screen resource tree & quick import
This commit is contained in:
parent
3c564add0e
commit
045c84512f
11 changed files with 1194 additions and 18 deletions
|
|
@ -12,12 +12,8 @@ public unsafe struct Material
|
|||
[FieldOffset( 0x28 )]
|
||||
public void* MaterialData;
|
||||
|
||||
[FieldOffset( 0x48 )]
|
||||
public Texture* Tex1;
|
||||
[FieldOffset( 0x30 )]
|
||||
public void** Textures;
|
||||
|
||||
[FieldOffset( 0x60 )]
|
||||
public Texture* Tex2;
|
||||
|
||||
[FieldOffset( 0x78 )]
|
||||
public Texture* Tex3;
|
||||
public Texture* Texture( int index ) => ( Texture* )Textures[3 * index + 1];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue