Files
Aerofoil/PortabilityLayer/AntiAliasTable.h
2020-01-18 18:20:16 -05:00

17 lines
341 B
C++

#pragma once
#include <stdint.h>
namespace PortabilityLayer
{
struct RGBAColor;
struct AntiAliasTable
{
// Striped 256x16 because constant background color is more likely than constant sample
uint8_t m_aaTranslate[256][16];
void GenerateForPalette(const RGBAColor &baseColor, const RGBAColor *colors, size_t numColors);
};
}