Files
SabreTools.Serialization/SabreTools.Data.Models/BSP/ColorRGBExp32.cs

21 lines
424 B
C#
Raw Normal View History

2025-09-26 10:57:15 -04:00
using System.Runtime.InteropServices;
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.BSP
2025-09-26 10:57:15 -04:00
{
/// <summary>
/// 4-byte lightmap structure
/// </summary>
2025-10-30 21:21:56 -04:00
/// <see href="https://developer.valvesoftware.com/wiki/BSP_(Source)"/>
2025-09-26 10:57:15 -04:00
[StructLayout(LayoutKind.Sequential)]
public class ColorRGBExp32
{
public byte Red;
public byte Green;
public byte Blue;
public sbyte Exponent;
}
2025-10-30 21:21:56 -04:00
}