mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-26 13:08:24 +01:00
first
This commit is contained in:
parent
bd62d51ec9
commit
b578433e37
1 changed files with 784842 additions and 0 deletions
15
Brutal.NotCurses/Generated/Structs/NcPalette.gen.cs
Normal file
15
Brutal.NotCurses/Generated/Structs/NcPalette.gen.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue