brutal/Brutal.NotCurses/Generated/Structs/NcPalette.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

15 lines
602 B
C#

using System.Runtime.InteropServices.Marshalling;
using Brutal;
using Brutal.Interop;
using Brutal.Pointers;
namespace Brutal.NotCursesApi
{
/// Palette API. Some terminals only support 256 colors, but allow the full
/// palette to be specified with arbitrary RGB colors. In all cases, it's more
/// performant to use indexed colors, since it's much less data to write to the
/// terminal. If you can limit yourself to 256 colors, that's probably best.
public unsafe partial struct NcPalette
{
public fixed uint Chans[256]; // RGB values as regular ol' channels
}
}