mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
19 lines
378 B
C#
19 lines
378 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace Penumbra.Interop.Structs;
|
|
|
|
public static class ShaderPackageUtility
|
|
{
|
|
[StructLayout(LayoutKind.Explicit, Size = 0xC)]
|
|
public unsafe struct Sampler
|
|
{
|
|
[FieldOffset(0x0)]
|
|
public uint Crc;
|
|
|
|
[FieldOffset(0x4)]
|
|
public uint Id;
|
|
|
|
[FieldOffset(0xA)]
|
|
public ushort Slot;
|
|
}
|
|
}
|